diff --git a/gooddata-api-client/.openapi-generator/FILES b/gooddata-api-client/.openapi-generator/FILES index 15d5c0dab..e02c1ed88 100644 --- a/gooddata-api-client/.openapi-generator/FILES +++ b/gooddata-api-client/.openapi-generator/FILES @@ -106,6 +106,7 @@ docs/DeclarativeOrganizationInfo.md docs/DeclarativeOrganizationPermission.md docs/DeclarativePdm.md docs/DeclarativeReference.md +docs/DeclarativeReferenceSource.md docs/DeclarativeRsaSpecification.md docs/DeclarativeSetting.md docs/DeclarativeSingleWorkspacePermission.md @@ -198,6 +199,7 @@ docs/JsonApiAnalyticalDashboardOutRelationshipsMetrics.md docs/JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects.md docs/JsonApiAnalyticalDashboardOutWithLinks.md docs/JsonApiAnalyticalDashboardPatch.md +docs/JsonApiAnalyticalDashboardPatchAttributes.md docs/JsonApiAnalyticalDashboardPatchDocument.md docs/JsonApiAnalyticalDashboardPostOptionalId.md docs/JsonApiAnalyticalDashboardPostOptionalIdDocument.md @@ -806,6 +808,7 @@ gooddata_api_client/model/declarative_organization_info.py gooddata_api_client/model/declarative_organization_permission.py gooddata_api_client/model/declarative_pdm.py gooddata_api_client/model/declarative_reference.py +gooddata_api_client/model/declarative_reference_source.py gooddata_api_client/model/declarative_rsa_specification.py gooddata_api_client/model/declarative_setting.py gooddata_api_client/model/declarative_single_workspace_permission.py @@ -891,6 +894,7 @@ gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_metric gooddata_api_client/model/json_api_analytical_dashboard_out_relationships_visualization_objects.py gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py gooddata_api_client/model/json_api_analytical_dashboard_patch.py +gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py gooddata_api_client/model/json_api_analytical_dashboard_patch_document.py gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id_document.py diff --git a/gooddata-api-client/README.md b/gooddata-api-client/README.md index 18624a574..304aa2810 100644 --- a/gooddata-api-client/README.md +++ b/gooddata-api-client/README.md @@ -91,7 +91,6 @@ Class | Method | HTTP request | Description *APITokensApi* | [**delete_entity_api_tokens**](docs/APITokensApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user *APITokensApi* | [**get_all_entities_api_tokens**](docs/APITokensApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user *APITokensApi* | [**get_entity_api_tokens**](docs/APITokensApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -*APITokensApi* | [**update_entity_api_tokens**](docs/APITokensApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user *AnalyticsModelApi* | [**get_analytics_model**](docs/AnalyticsModelApi.md#get_analytics_model) | **GET** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Get analytics model *AnalyticsModelApi* | [**set_analytics_model**](docs/AnalyticsModelApi.md#set_analytics_model) | **PUT** /api/v1/layout/workspaces/{workspaceId}/analyticsModel | Set analytics model *AppearanceApi* | [**create_entity_color_palettes**](docs/AppearanceApi.md#create_entity_color_palettes) | **POST** /api/v1/entities/colorPalettes | Post Color Pallettes @@ -466,7 +465,6 @@ Class | Method | HTTP request | Description *EntitiesApi* | [**patch_entity_workspace_settings**](docs/EntitiesApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace *EntitiesApi* | [**patch_entity_workspaces**](docs/EntitiesApi.md#patch_entity_workspaces) | **PATCH** /api/v1/entities/workspaces/{id} | Patch Workspace entity *EntitiesApi* | [**update_entity_analytical_dashboards**](docs/EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -*EntitiesApi* | [**update_entity_api_tokens**](docs/EntitiesApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user *EntitiesApi* | [**update_entity_attribute_hierarchies**](docs/EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy *EntitiesApi* | [**update_entity_color_palettes**](docs/EntitiesApi.md#update_entity_color_palettes) | **PUT** /api/v1/entities/colorPalettes/{id} | Put Color Pallette *EntitiesApi* | [**update_entity_cookie_security_configurations**](docs/EntitiesApi.md#update_entity_cookie_security_configurations) | **PUT** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration @@ -595,7 +593,6 @@ Class | Method | HTTP request | Description *UserModelControllerApi* | [**get_all_entities_user_settings**](docs/UserModelControllerApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user *UserModelControllerApi* | [**get_entity_api_tokens**](docs/UserModelControllerApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user *UserModelControllerApi* | [**get_entity_user_settings**](docs/UserModelControllerApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -*UserModelControllerApi* | [**update_entity_api_tokens**](docs/UserModelControllerApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user *UserModelControllerApi* | [**update_entity_user_settings**](docs/UserModelControllerApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user *WorkspaceObjectControllerApi* | [**create_entity_analytical_dashboards**](docs/WorkspaceObjectControllerApi.md#create_entity_analytical_dashboards) | **POST** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards | Post Dashboards *WorkspaceObjectControllerApi* | [**create_entity_attribute_hierarchies**](docs/WorkspaceObjectControllerApi.md#create_entity_attribute_hierarchies) | **POST** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies | Post Attribute Hierarchies @@ -764,6 +761,7 @@ Class | Method | HTTP request | Description - [DeclarativeOrganizationPermission](docs/DeclarativeOrganizationPermission.md) - [DeclarativePdm](docs/DeclarativePdm.md) - [DeclarativeReference](docs/DeclarativeReference.md) + - [DeclarativeReferenceSource](docs/DeclarativeReferenceSource.md) - [DeclarativeRsaSpecification](docs/DeclarativeRsaSpecification.md) - [DeclarativeSetting](docs/DeclarativeSetting.md) - [DeclarativeSingleWorkspacePermission](docs/DeclarativeSingleWorkspacePermission.md) @@ -849,6 +847,7 @@ Class | Method | HTTP request | Description - [JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects](docs/JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects.md) - [JsonApiAnalyticalDashboardOutWithLinks](docs/JsonApiAnalyticalDashboardOutWithLinks.md) - [JsonApiAnalyticalDashboardPatch](docs/JsonApiAnalyticalDashboardPatch.md) + - [JsonApiAnalyticalDashboardPatchAttributes](docs/JsonApiAnalyticalDashboardPatchAttributes.md) - [JsonApiAnalyticalDashboardPatchDocument](docs/JsonApiAnalyticalDashboardPatchDocument.md) - [JsonApiAnalyticalDashboardPostOptionalId](docs/JsonApiAnalyticalDashboardPostOptionalId.md) - [JsonApiAnalyticalDashboardPostOptionalIdDocument](docs/JsonApiAnalyticalDashboardPostOptionalIdDocument.md) diff --git a/gooddata-api-client/docs/APITokensApi.md b/gooddata-api-client/docs/APITokensApi.md index 8cd9c26f8..7e0f336f6 100644 --- a/gooddata-api-client/docs/APITokensApi.md +++ b/gooddata-api-client/docs/APITokensApi.md @@ -8,7 +8,6 @@ Method | HTTP request | Description [**delete_entity_api_tokens**](APITokensApi.md#delete_entity_api_tokens) | **DELETE** /api/v1/entities/users/{userId}/apiTokens/{id} | Delete an API Token for a user [**get_all_entities_api_tokens**](APITokensApi.md#get_all_entities_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens | List all api tokens for a user [**get_entity_api_tokens**](APITokensApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user -[**update_entity_api_tokens**](APITokensApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user # **create_entity_api_tokens** @@ -321,89 +320,3 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) -# **update_entity_api_tokens** -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - -Put new API token for the user - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import api_tokens_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = api_tokens_api.APITokensApi(api_client) - user_id = "userId_example" # str | - id = "/6bUUGjjNSwg0_bs" # str | - json_api_api_token_in_document = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) # JsonApiApiTokenInDocument | - filter = "filter=bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->update_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling APITokensApi->update_entity_api_tokens: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **id** | **str**| | - **json_api_api_token_in_document** | [**JsonApiApiTokenInDocument**](JsonApiApiTokenInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiApiTokenOutDocument**](JsonApiApiTokenOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - diff --git a/gooddata-api-client/docs/ContextFiltersApi.md b/gooddata-api-client/docs/ContextFiltersApi.md index fd044120b..5ea92ef5c 100644 --- a/gooddata-api-client/docs/ContextFiltersApi.md +++ b/gooddata-api-client/docs/ContextFiltersApi.md @@ -400,7 +400,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_filter_context_patch_document = JsonApiFilterContextPatchDocument( data=JsonApiFilterContextPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", diff --git a/gooddata-api-client/docs/DashboardsApi.md b/gooddata-api-client/docs/DashboardsApi.md index cb56799a2..a87746633 100644 --- a/gooddata-api-client/docs/DashboardsApi.md +++ b/gooddata-api-client/docs/DashboardsApi.md @@ -400,7 +400,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_analytical_dashboard_patch_document = JsonApiAnalyticalDashboardPatchDocument( data=JsonApiAnalyticalDashboardPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", diff --git a/gooddata-api-client/docs/DeclarativeReference.md b/gooddata-api-client/docs/DeclarativeReference.md index c6ff0b5e6..87ae2dc24 100644 --- a/gooddata-api-client/docs/DeclarativeReference.md +++ b/gooddata-api-client/docs/DeclarativeReference.md @@ -7,8 +7,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **identifier** | [**ReferenceIdentifier**](ReferenceIdentifier.md) | | **multivalue** | **bool** | The multi-value flag enables many-to-many cardinality for references. | -**source_columns** | **[str]** | An array of source column names for a given reference. | -**source_column_data_types** | **[str]** | An array of source column data types for a given reference. | [optional] +**source_column_data_types** | **[str]** | An array of source column data types for a given reference. Deprecated, use 'sources' instead. | [optional] +**source_columns** | **[str]** | An array of source column names for a given reference. Deprecated, use 'sources' instead. | [optional] +**sources** | [**[DeclarativeReferenceSource]**](DeclarativeReferenceSource.md) | An array of source columns for a given reference. | [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/DeclarativeReferenceSource.md b/gooddata-api-client/docs/DeclarativeReferenceSource.md new file mode 100644 index 000000000..510e5307e --- /dev/null +++ b/gooddata-api-client/docs/DeclarativeReferenceSource.md @@ -0,0 +1,15 @@ +# DeclarativeReferenceSource + +A dataset reference source column description. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**column** | **str** | A name of the source column in the table. | +**target** | [**GrainIdentifier**](GrainIdentifier.md) | | +**data_type** | **str** | A type of the source column. | [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/EntitiesApi.md b/gooddata-api-client/docs/EntitiesApi.md index 623e9225b..127cbab87 100644 --- a/gooddata-api-client/docs/EntitiesApi.md +++ b/gooddata-api-client/docs/EntitiesApi.md @@ -136,7 +136,6 @@ Method | HTTP request | Description [**patch_entity_workspace_settings**](EntitiesApi.md#patch_entity_workspace_settings) | **PATCH** /api/v1/entities/workspaces/{workspaceId}/workspaceSettings/{objectId} | Patch a Setting for Workspace [**patch_entity_workspaces**](EntitiesApi.md#patch_entity_workspaces) | **PATCH** /api/v1/entities/workspaces/{id} | Patch Workspace entity [**update_entity_analytical_dashboards**](EntitiesApi.md#update_entity_analytical_dashboards) | **PUT** /api/v1/entities/workspaces/{workspaceId}/analyticalDashboards/{objectId} | Put Dashboards -[**update_entity_api_tokens**](EntitiesApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user [**update_entity_attribute_hierarchies**](EntitiesApi.md#update_entity_attribute_hierarchies) | **PUT** /api/v1/entities/workspaces/{workspaceId}/attributeHierarchies/{objectId} | Put an Attribute Hierarchy [**update_entity_color_palettes**](EntitiesApi.md#update_entity_color_palettes) | **PUT** /api/v1/entities/colorPalettes/{id} | Put Color Pallette [**update_entity_cookie_security_configurations**](EntitiesApi.md#update_entity_cookie_security_configurations) | **PUT** /api/v1/entities/admin/cookieSecurityConfigurations/{id} | Put CookieSecurityConfiguration @@ -9297,7 +9296,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_analytical_dashboard_patch_document = JsonApiAnalyticalDashboardPatchDocument( data=JsonApiAnalyticalDashboardPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", @@ -10056,7 +10055,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_filter_context_patch_document = JsonApiFilterContextPatchDocument( data=JsonApiFilterContextPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", @@ -10939,7 +10938,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_visualization_object_patch_document = JsonApiVisualizationObjectPatchDocument( data=JsonApiVisualizationObjectPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", @@ -11498,92 +11497,6 @@ No authorization required - **Accept**: application/vnd.gooddata.api+json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_entity_api_tokens** -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - -Put new API token for the user - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import entities_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = entities_api.EntitiesApi(api_client) - user_id = "userId_example" # str | - id = "/6bUUGjjNSwg0_bs" # str | - json_api_api_token_in_document = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) # JsonApiApiTokenInDocument | - filter = "filter=bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling EntitiesApi->update_entity_api_tokens: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **id** | **str**| | - **json_api_api_token_in_document** | [**JsonApiApiTokenInDocument**](JsonApiApiTokenInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiApiTokenOutDocument**](JsonApiApiTokenOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json - - ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardIn.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardIn.md index a7c4886ec..e210fb564 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardIn.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardIn.md @@ -5,9 +5,9 @@ JSON:API representation of analyticalDashboard entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "analyticalDashboard" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardInAttributes.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardInAttributes.md index 5aa93da72..77c0ba7de 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardInAttributes.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardInAttributes.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | **are_relations_valid** | **bool** | | [optional] -**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | [optional] **description** | **str** | | [optional] **tags** | **[str]** | | [optional] **title** | **str** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOut.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOut.md index e32802561..b17936ee9 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOut.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOut.md @@ -5,9 +5,9 @@ JSON:API representation of analyticalDashboard entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "analyticalDashboard" -**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | [optional] **meta** | [**JsonApiAnalyticalDashboardOutMeta**](JsonApiAnalyticalDashboardOutMeta.md) | | [optional] **relationships** | [**JsonApiAnalyticalDashboardOutRelationships**](JsonApiAnalyticalDashboardOutRelationships.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutAttributes.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutAttributes.md index 826ae29ce..df6cbde62 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutAttributes.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutAttributes.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | **are_relations_valid** | **bool** | | [optional] -**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | [optional] **created_at** | **datetime** | | [optional] **description** | **str** | | [optional] **modified_at** | **datetime** | | [optional] diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutWithLinks.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutWithLinks.md index 51ba7daf6..12816b621 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardOutWithLinks.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "analyticalDashboard" -**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | [optional] **meta** | [**JsonApiAnalyticalDashboardOutMeta**](JsonApiAnalyticalDashboardOutMeta.md) | | [optional] **relationships** | [**JsonApiAnalyticalDashboardOutRelationships**](JsonApiAnalyticalDashboardOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatch.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatch.md index aa09d4bbd..d3f7962b7 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatch.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatch.md @@ -5,9 +5,9 @@ JSON:API representation of patching analyticalDashboard entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardPatchAttributes**](JsonApiAnalyticalDashboardPatchAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "analyticalDashboard" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatchAttributes.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatchAttributes.md new file mode 100644 index 000000000..d7b4b8d05 --- /dev/null +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPatchAttributes.md @@ -0,0 +1,16 @@ +# JsonApiAnalyticalDashboardPatchAttributes + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**are_relations_valid** | **bool** | | [optional] +**content** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Free-form JSON content. Maximum supported length is 250000 characters. | [optional] +**description** | **str** | | [optional] +**tags** | **[str]** | | [optional] +**title** | **str** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[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/JsonApiAnalyticalDashboardPostOptionalId.md b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPostOptionalId.md index af9cda3b7..d3286dc7b 100644 --- a/gooddata-api-client/docs/JsonApiAnalyticalDashboardPostOptionalId.md +++ b/gooddata-api-client/docs/JsonApiAnalyticalDashboardPostOptionalId.md @@ -5,8 +5,8 @@ JSON:API representation of analyticalDashboard entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **type** | **str** | Object type | defaults to "analyticalDashboard" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiFilterContextIn.md b/gooddata-api-client/docs/JsonApiFilterContextIn.md index 29837561f..b9f06a684 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextIn.md +++ b/gooddata-api-client/docs/JsonApiFilterContextIn.md @@ -5,9 +5,9 @@ JSON:API representation of filterContext entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "filterContext" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiFilterContextOut.md b/gooddata-api-client/docs/JsonApiFilterContextOut.md index 30e14f3de..2e55f5d00 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextOut.md +++ b/gooddata-api-client/docs/JsonApiFilterContextOut.md @@ -5,9 +5,9 @@ JSON:API representation of filterContext entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "filterContext" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **meta** | [**JsonApiAttributeHierarchyOutMeta**](JsonApiAttributeHierarchyOutMeta.md) | | [optional] **relationships** | [**JsonApiFilterContextOutRelationships**](JsonApiFilterContextOutRelationships.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiFilterContextOutWithLinks.md b/gooddata-api-client/docs/JsonApiFilterContextOutWithLinks.md index 6e4a37b31..b31ef131a 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiFilterContextOutWithLinks.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "filterContext" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **meta** | [**JsonApiAttributeHierarchyOutMeta**](JsonApiAttributeHierarchyOutMeta.md) | | [optional] **relationships** | [**JsonApiFilterContextOutRelationships**](JsonApiFilterContextOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] diff --git a/gooddata-api-client/docs/JsonApiFilterContextPatch.md b/gooddata-api-client/docs/JsonApiFilterContextPatch.md index 2beccb662..45f291951 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextPatch.md +++ b/gooddata-api-client/docs/JsonApiFilterContextPatch.md @@ -5,9 +5,9 @@ JSON:API representation of patching filterContext entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardPatchAttributes**](JsonApiAnalyticalDashboardPatchAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "filterContext" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiFilterContextPostOptionalId.md b/gooddata-api-client/docs/JsonApiFilterContextPostOptionalId.md index b1b6dcf58..5b1b720ef 100644 --- a/gooddata-api-client/docs/JsonApiFilterContextPostOptionalId.md +++ b/gooddata-api-client/docs/JsonApiFilterContextPostOptionalId.md @@ -5,8 +5,8 @@ JSON:API representation of filterContext entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **type** | **str** | Object type | defaults to "filterContext" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiVisualizationObjectIn.md b/gooddata-api-client/docs/JsonApiVisualizationObjectIn.md index cfa8ab661..f71290c85 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectIn.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectIn.md @@ -5,9 +5,9 @@ JSON:API representation of visualizationObject entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "visualizationObject" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiVisualizationObjectOut.md b/gooddata-api-client/docs/JsonApiVisualizationObjectOut.md index 316a167cc..e27c14d62 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectOut.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectOut.md @@ -5,9 +5,9 @@ JSON:API representation of visualizationObject entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "visualizationObject" -**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | [optional] **meta** | [**JsonApiAttributeHierarchyOutMeta**](JsonApiAttributeHierarchyOutMeta.md) | | [optional] **relationships** | [**JsonApiMetricOutRelationships**](JsonApiMetricOutRelationships.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/JsonApiVisualizationObjectOutWithLinks.md b/gooddata-api-client/docs/JsonApiVisualizationObjectOutWithLinks.md index 2de70aafc..986e2e3fc 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectOutWithLinks.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectOutWithLinks.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "visualizationObject" -**attributes** | [**JsonApiAnalyticalDashboardOutAttributes**](JsonApiAnalyticalDashboardOutAttributes.md) | | [optional] **meta** | [**JsonApiAttributeHierarchyOutMeta**](JsonApiAttributeHierarchyOutMeta.md) | | [optional] **relationships** | [**JsonApiMetricOutRelationships**](JsonApiMetricOutRelationships.md) | | [optional] **links** | [**ObjectLinks**](ObjectLinks.md) | | [optional] diff --git a/gooddata-api-client/docs/JsonApiVisualizationObjectPatch.md b/gooddata-api-client/docs/JsonApiVisualizationObjectPatch.md index 647bc657a..9b23d5612 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectPatch.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectPatch.md @@ -5,9 +5,9 @@ JSON:API representation of patching visualizationObject entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardPatchAttributes**](JsonApiAnalyticalDashboardPatchAttributes.md) | | **id** | **str** | API identifier of an object | **type** | **str** | Object type | defaults to "visualizationObject" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/gooddata-api-client/docs/JsonApiVisualizationObjectPostOptionalId.md b/gooddata-api-client/docs/JsonApiVisualizationObjectPostOptionalId.md index 041419b88..1a51c37fa 100644 --- a/gooddata-api-client/docs/JsonApiVisualizationObjectPostOptionalId.md +++ b/gooddata-api-client/docs/JsonApiVisualizationObjectPostOptionalId.md @@ -5,8 +5,8 @@ JSON:API representation of visualizationObject entity. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | **type** | **str** | Object type | defaults to "visualizationObject" -**attributes** | [**JsonApiAnalyticalDashboardInAttributes**](JsonApiAnalyticalDashboardInAttributes.md) | | [optional] **id** | **str** | API identifier of an object | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md index 9185d92c9..288cad944 100644 --- a/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/LDMDeclarativeAPIsApi.md @@ -195,6 +195,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( diff --git a/gooddata-api-client/docs/LayoutApi.md b/gooddata-api-client/docs/LayoutApi.md index c1043c698..0da52ac08 100644 --- a/gooddata-api-client/docs/LayoutApi.md +++ b/gooddata-api-client/docs/LayoutApi.md @@ -1764,6 +1764,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( @@ -2122,6 +2132,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( @@ -2620,6 +2640,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( @@ -3578,6 +3608,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( diff --git a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md index 3602a6fd0..bb9aa4898 100644 --- a/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/OrganizationDeclarativeAPIsApi.md @@ -494,6 +494,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( diff --git a/gooddata-api-client/docs/UserModelControllerApi.md b/gooddata-api-client/docs/UserModelControllerApi.md index 10720d91c..7efeabd50 100644 --- a/gooddata-api-client/docs/UserModelControllerApi.md +++ b/gooddata-api-client/docs/UserModelControllerApi.md @@ -12,7 +12,6 @@ Method | HTTP request | Description [**get_all_entities_user_settings**](UserModelControllerApi.md#get_all_entities_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings | List all settings for a user [**get_entity_api_tokens**](UserModelControllerApi.md#get_entity_api_tokens) | **GET** /api/v1/entities/users/{userId}/apiTokens/{id} | Get an API Token for a user [**get_entity_user_settings**](UserModelControllerApi.md#get_entity_user_settings) | **GET** /api/v1/entities/users/{userId}/userSettings/{id} | Get a setting for a user -[**update_entity_api_tokens**](UserModelControllerApi.md#update_entity_api_tokens) | **PUT** /api/v1/entities/users/{userId}/apiTokens/{id} | Put new API token for the user [**update_entity_user_settings**](UserModelControllerApi.md#update_entity_user_settings) | **PUT** /api/v1/entities/users/{userId}/userSettings/{id} | Put new user settings for the user @@ -632,92 +631,6 @@ No authorization required - **Accept**: application/vnd.gooddata.api+json -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Request successfully processed | - | - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) - -# **update_entity_api_tokens** -> JsonApiApiTokenOutDocument update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - -Put new API token for the user - -### Example - - -```python -import time -import gooddata_api_client -from gooddata_api_client.api import user_model_controller_api -from gooddata_api_client.model.json_api_api_token_out_document import JsonApiApiTokenOutDocument -from gooddata_api_client.model.json_api_api_token_in_document import JsonApiApiTokenInDocument -from pprint import pprint -# Defining the host is optional and defaults to http://localhost -# See configuration.py for a list of all supported configuration parameters. -configuration = gooddata_api_client.Configuration( - host = "http://localhost" -) - - -# Enter a context with an instance of the API client -with gooddata_api_client.ApiClient() as api_client: - # Create an instance of the API class - api_instance = user_model_controller_api.UserModelControllerApi(api_client) - user_id = "userId_example" # str | - id = "/6bUUGjjNSwg0_bs" # str | - json_api_api_token_in_document = JsonApiApiTokenInDocument( - data=JsonApiApiTokenIn( - id="id1", - type="apiToken", - ), - ) # JsonApiApiTokenInDocument | - filter = "filter=bearerToken==someString" # str | Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). (optional) - - # example passing only required values which don't have defaults set - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_api_tokens: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # Put new API token for the user - api_response = api_instance.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, filter=filter) - pprint(api_response) - except gooddata_api_client.ApiException as e: - print("Exception when calling UserModelControllerApi->update_entity_api_tokens: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **user_id** | **str**| | - **id** | **str**| | - **json_api_api_token_in_document** | [**JsonApiApiTokenInDocument**](JsonApiApiTokenInDocument.md)| | - **filter** | **str**| Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123'). | [optional] - -### Return type - -[**JsonApiApiTokenOutDocument**](JsonApiApiTokenOutDocument.md) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/vnd.gooddata.api+json - - **Accept**: application/vnd.gooddata.api+json - - ### HTTP response details | Status code | Description | Response headers | diff --git a/gooddata-api-client/docs/VisualizationObjectApi.md b/gooddata-api-client/docs/VisualizationObjectApi.md index e0903ef73..741b968b5 100644 --- a/gooddata-api-client/docs/VisualizationObjectApi.md +++ b/gooddata-api-client/docs/VisualizationObjectApi.md @@ -400,7 +400,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_visualization_object_patch_document = JsonApiVisualizationObjectPatchDocument( data=JsonApiVisualizationObjectPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", diff --git a/gooddata-api-client/docs/WorkspaceObjectControllerApi.md b/gooddata-api-client/docs/WorkspaceObjectControllerApi.md index e5fb81c4f..6f992d646 100644 --- a/gooddata-api-client/docs/WorkspaceObjectControllerApi.md +++ b/gooddata-api-client/docs/WorkspaceObjectControllerApi.md @@ -4746,7 +4746,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_analytical_dashboard_patch_document = JsonApiAnalyticalDashboardPatchDocument( data=JsonApiAnalyticalDashboardPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", @@ -5133,7 +5133,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_filter_context_patch_document = JsonApiFilterContextPatchDocument( data=JsonApiFilterContextPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", @@ -5441,7 +5441,7 @@ with gooddata_api_client.ApiClient() as api_client: object_id = "objectId_example" # str | json_api_visualization_object_patch_document = JsonApiVisualizationObjectPatchDocument( data=JsonApiVisualizationObjectPatch( - attributes=JsonApiAnalyticalDashboardInAttributes( + attributes=JsonApiAnalyticalDashboardPatchAttributes( are_relations_valid=True, content={}, description="description_example", diff --git a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md index 794cca727..fd02598e7 100644 --- a/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md +++ b/gooddata-api-client/docs/WorkspacesDeclarativeAPIsApi.md @@ -367,6 +367,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( @@ -702,6 +712,16 @@ with gooddata_api_client.ApiClient() as api_client: "INT", ], source_columns=["customer_id"], + sources=[ + DeclarativeReferenceSource( + column="customer_id", + data_type="STRING", + target=GrainIdentifier( + id="attr.customers.customer_name", + type="ATTRIBUTE", + ), + ), + ], ), ], sql=DeclarativeDatasetSql( diff --git a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py index 6ea9bc4d5..03142b7e3 100644 --- a/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py +++ b/gooddata-api-client/gooddata_api_client/api/api_tokens_api.py @@ -296,80 +296,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_api_tokens_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiApiTokenOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens/{id}', - 'operation_id': 'update_entity_api_tokens', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - 'filter', - ], - 'required': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'id': - (str,), - 'json_api_api_token_in_document': - (JsonApiApiTokenInDocument,), - 'filter': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'user_id': 'path', - 'id': 'path', - 'json_api_api_token_in_document': 'body', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/vnd.gooddata.api+json' - ] - }, - api_client=api_client - ) def create_entity_api_tokens( self, @@ -717,94 +643,3 @@ def get_entity_api_tokens( id return self.get_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - def update_entity_api_tokens( - self, - user_id, - id, - json_api_api_token_in_document, - **kwargs - ): - """Put new API token for the user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - id (str): - json_api_api_token_in_document (JsonApiApiTokenInDocument): - - Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - JsonApiApiTokenOutDocument - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['id'] = \ - id - kwargs['json_api_api_token_in_document'] = \ - json_api_api_token_in_document - return self.update_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - diff --git a/gooddata-api-client/gooddata_api_client/api/entities_api.py b/gooddata-api-client/gooddata_api_client/api/entities_api.py index 3dbf1b952..20c9cafce 100644 --- a/gooddata-api-client/gooddata_api_client/api/entities_api.py +++ b/gooddata-api-client/gooddata_api_client/api/entities_api.py @@ -10289,80 +10289,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_api_tokens_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiApiTokenOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens/{id}', - 'operation_id': 'update_entity_api_tokens', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - 'filter', - ], - 'required': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'id': - (str,), - 'json_api_api_token_in_document': - (JsonApiApiTokenInDocument,), - 'filter': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'user_id': 'path', - 'id': 'path', - 'json_api_api_token_in_document': 'body', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/vnd.gooddata.api+json' - ] - }, - api_client=api_client - ) self.update_entity_attribute_hierarchies_endpoint = _Endpoint( settings={ 'response_type': (JsonApiAttributeHierarchyOutDocument,), @@ -23484,97 +23410,6 @@ def update_entity_analytical_dashboards( json_api_analytical_dashboard_in_document return self.update_entity_analytical_dashboards_endpoint.call_with_http_info(**kwargs) - def update_entity_api_tokens( - self, - user_id, - id, - json_api_api_token_in_document, - **kwargs - ): - """Put new API token for the user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - id (str): - json_api_api_token_in_document (JsonApiApiTokenInDocument): - - Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - JsonApiApiTokenOutDocument - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['id'] = \ - id - kwargs['json_api_api_token_in_document'] = \ - json_api_api_token_in_document - return self.update_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - def update_entity_attribute_hierarchies( self, workspace_id, diff --git a/gooddata-api-client/gooddata_api_client/api/user_model_controller_api.py b/gooddata-api-client/gooddata_api_client/api/user_model_controller_api.py index fed7a069f..b92d77990 100644 --- a/gooddata-api-client/gooddata_api_client/api/user_model_controller_api.py +++ b/gooddata-api-client/gooddata_api_client/api/user_model_controller_api.py @@ -557,80 +557,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.update_entity_api_tokens_endpoint = _Endpoint( - settings={ - 'response_type': (JsonApiApiTokenOutDocument,), - 'auth': [], - 'endpoint_path': '/api/v1/entities/users/{userId}/apiTokens/{id}', - 'operation_id': 'update_entity_api_tokens', - 'http_method': 'PUT', - 'servers': None, - }, - params_map={ - 'all': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - 'filter', - ], - 'required': [ - 'user_id', - 'id', - 'json_api_api_token_in_document', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - 'id', - ] - }, - root_map={ - 'validations': { - ('id',): { - - 'regex': { - 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 - }, - }, - }, - 'allowed_values': { - }, - 'openapi_types': { - 'user_id': - (str,), - 'id': - (str,), - 'json_api_api_token_in_document': - (JsonApiApiTokenInDocument,), - 'filter': - (str,), - }, - 'attribute_map': { - 'user_id': 'userId', - 'id': 'id', - 'filter': 'filter', - }, - 'location_map': { - 'user_id': 'path', - 'id': 'path', - 'json_api_api_token_in_document': 'body', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/vnd.gooddata.api+json' - ], - 'content_type': [ - 'application/vnd.gooddata.api+json' - ] - }, - api_client=api_client - ) self.update_entity_user_settings_endpoint = _Endpoint( settings={ 'response_type': (JsonApiUserSettingOutDocument,), @@ -1398,97 +1324,6 @@ def get_entity_user_settings( id return self.get_entity_user_settings_endpoint.call_with_http_info(**kwargs) - def update_entity_api_tokens( - self, - user_id, - id, - json_api_api_token_in_document, - **kwargs - ): - """Put new API token for the user # noqa: E501 - - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.update_entity_api_tokens(user_id, id, json_api_api_token_in_document, async_req=True) - >>> result = thread.get() - - Args: - user_id (str): - id (str): - json_api_api_token_in_document (JsonApiApiTokenInDocument): - - Keyword Args: - filter (str): Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _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) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - _request_auths (list): set to override the auth_settings for an a single - request; this effectively ignores the authentication - in the spec for a single request. - Default is None - async_req (bool): execute request asynchronously - - Returns: - JsonApiApiTokenOutDocument - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['_request_auths'] = kwargs.get('_request_auths', None) - kwargs['user_id'] = \ - user_id - kwargs['id'] = \ - id - kwargs['json_api_api_token_in_document'] = \ - json_api_api_token_in_document - return self.update_entity_api_tokens_endpoint.call_with_http_info(**kwargs) - def update_entity_user_settings( self, user_id, diff --git a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py index 030af6d0a..d83479183 100644 --- a/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py +++ b/gooddata-api-client/gooddata_api_client/model/afm_valid_objects_query.py @@ -64,7 +64,6 @@ class AfmValidObjectsQuery(ModelNormal): 'FACTS': "facts", 'ATTRIBUTES': "attributes", 'MEASURES': "measures", - 'UNRECOGNIZED': "UNRECOGNIZED", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py index 537cb8688..c109ed50f 100644 --- a/gooddata-api-client/gooddata_api_client/model/api_entitlement.py +++ b/gooddata-api-client/gooddata_api_client/model/api_entitlement.py @@ -71,6 +71,7 @@ class ApiEntitlement(ModelNormal): 'UNLIMITEDWORKSPACES': "UnlimitedWorkspaces", 'WHITELABELING': "WhiteLabeling", 'WORKSPACECOUNT': "WorkspaceCount", + 'USERTELEMETRYDISABLED': "UserTelemetryDisabled", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_reference.py b/gooddata-api-client/gooddata_api_client/model/declarative_reference.py index 3822f4e41..33bdf1816 100644 --- a/gooddata-api-client/gooddata_api_client/model/declarative_reference.py +++ b/gooddata-api-client/gooddata_api_client/model/declarative_reference.py @@ -31,7 +31,9 @@ def lazy_import(): + from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource from gooddata_api_client.model.reference_identifier import ReferenceIdentifier + globals()['DeclarativeReferenceSource'] = DeclarativeReferenceSource globals()['ReferenceIdentifier'] = ReferenceIdentifier @@ -99,8 +101,9 @@ def openapi_types(): return { 'identifier': (ReferenceIdentifier,), # noqa: E501 'multivalue': (bool,), # noqa: E501 - 'source_columns': ([str],), # noqa: E501 'source_column_data_types': ([str],), # noqa: E501 + 'source_columns': ([str],), # noqa: E501 + 'sources': ([DeclarativeReferenceSource],), # noqa: E501 } @cached_property @@ -111,8 +114,9 @@ def discriminator(): attribute_map = { 'identifier': 'identifier', # noqa: E501 'multivalue': 'multivalue', # noqa: E501 - 'source_columns': 'sourceColumns', # noqa: E501 'source_column_data_types': 'sourceColumnDataTypes', # noqa: E501 + 'source_columns': 'sourceColumns', # noqa: E501 + 'sources': 'sources', # noqa: E501 } read_only_vars = { @@ -122,13 +126,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, identifier, multivalue, source_columns, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, identifier, multivalue, *args, **kwargs): # noqa: E501 """DeclarativeReference - a model defined in OpenAPI Args: identifier (ReferenceIdentifier): multivalue (bool): The multi-value flag enables many-to-many cardinality for references. - source_columns ([str]): An array of source column names for a given reference. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -161,7 +164,9 @@ def _from_openapi_data(cls, identifier, multivalue, source_columns, *args, **kwa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - source_column_data_types ([str]): An array of source column data types for a given reference.. [optional] # noqa: E501 + source_column_data_types ([str]): An array of source column data types for a given reference. Deprecated, use 'sources' instead.. [optional] # noqa: E501 + source_columns ([str]): An array of source column names for a given reference. Deprecated, use 'sources' instead.. [optional] # noqa: E501 + sources ([DeclarativeReferenceSource]): An array of source columns for a given reference.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -195,7 +200,6 @@ def _from_openapi_data(cls, identifier, multivalue, source_columns, *args, **kwa self.identifier = identifier self.multivalue = multivalue - self.source_columns = source_columns for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -216,13 +220,12 @@ def _from_openapi_data(cls, identifier, multivalue, source_columns, *args, **kwa ]) @convert_js_args_to_python_args - def __init__(self, identifier, multivalue, source_columns, *args, **kwargs): # noqa: E501 + def __init__(self, identifier, multivalue, *args, **kwargs): # noqa: E501 """DeclarativeReference - a model defined in OpenAPI Args: identifier (ReferenceIdentifier): multivalue (bool): The multi-value flag enables many-to-many cardinality for references. - source_columns ([str]): An array of source column names for a given reference. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -255,7 +258,9 @@ def __init__(self, identifier, multivalue, source_columns, *args, **kwargs): # Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - source_column_data_types ([str]): An array of source column data types for a given reference.. [optional] # noqa: E501 + source_column_data_types ([str]): An array of source column data types for a given reference. Deprecated, use 'sources' instead.. [optional] # noqa: E501 + source_columns ([str]): An array of source column names for a given reference. Deprecated, use 'sources' instead.. [optional] # noqa: E501 + sources ([DeclarativeReferenceSource]): An array of source columns for a given reference.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -287,7 +292,6 @@ def __init__(self, identifier, multivalue, source_columns, *args, **kwargs): # self.identifier = identifier self.multivalue = multivalue - self.source_columns = source_columns for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py b/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py new file mode 100644 index 000000000..2fd84ee9a --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/declarative_reference_source.py @@ -0,0 +1,301 @@ +""" + 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.grain_identifier import GrainIdentifier + globals()['GrainIdentifier'] = GrainIdentifier + + +class DeclarativeReferenceSource(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 = { + ('data_type',): { + 'INT': "INT", + 'STRING': "STRING", + 'DATE': "DATE", + 'NUMERIC': "NUMERIC", + 'TIMESTAMP': "TIMESTAMP", + 'TIMESTAMP_TZ': "TIMESTAMP_TZ", + 'BOOLEAN': "BOOLEAN", + }, + } + + validations = { + ('column',): { + 'max_length': 255, + }, + ('data_type',): { + 'max_length': 255, + }, + } + + @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 { + 'column': (str,), # noqa: E501 + 'target': (GrainIdentifier,), # noqa: E501 + 'data_type': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'column': 'column', # noqa: E501 + 'target': 'target', # noqa: E501 + 'data_type': 'dataType', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, column, target, *args, **kwargs): # noqa: E501 + """DeclarativeReferenceSource - a model defined in OpenAPI + + Args: + column (str): A name of the source column in the table. + target (GrainIdentifier): + + 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,) + data_type (str): A type of the source column.. [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.column = column + self.target = target + 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, column, target, *args, **kwargs): # noqa: E501 + """DeclarativeReferenceSource - a model defined in OpenAPI + + Args: + column (str): A name of the source column in the table. + target (GrainIdentifier): + + 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,) + data_type (str): A type of the source column.. [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.column = column + self.target = target + 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/entitlements_request.py b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py index a4582379d..fa5d76e2b 100644 --- a/gooddata-api-client/gooddata_api_client/model/entitlements_request.py +++ b/gooddata-api-client/gooddata_api_client/model/entitlements_request.py @@ -71,6 +71,7 @@ class EntitlementsRequest(ModelNormal): 'UNLIMITEDWORKSPACES': "UnlimitedWorkspaces", 'WHITELABELING': "WhiteLabeling", 'WORKSPACECOUNT': "WorkspaceCount", + 'USERTELEMETRYDISABLED': "UserTelemetryDisabled", }, } diff --git a/gooddata-api-client/gooddata_api_client/model/grain_identifier.py b/gooddata-api-client/gooddata_api_client/model/grain_identifier.py index 74918efe1..0eb07c28f 100644 --- a/gooddata-api-client/gooddata_api_client/model/grain_identifier.py +++ b/gooddata-api-client/gooddata_api_client/model/grain_identifier.py @@ -63,6 +63,8 @@ class GrainIdentifier(ModelNormal): } validations = { + ('value',): { + }, ('id',): { 'regex': { 'pattern': r'^(?!\.)[.A-Za-z0-9_-]{1,255}$', # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py index b6329acd6..8a9df76fb 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in.py @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "analyticalDashboard") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "analyticalDashboard") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py index a0aa7d5ea..b0d84f7d1 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_in_attributes.py @@ -88,8 +88,8 @@ def openapi_types(): and the value is attribute type. """ return { - 'are_relations_valid': (bool,), # noqa: E501 'content': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'are_relations_valid': (bool,), # noqa: E501 'description': (str,), # noqa: E501 'tags': ([str],), # noqa: E501 'title': (str,), # noqa: E501 @@ -101,8 +101,8 @@ def discriminator(): attribute_map = { - 'are_relations_valid': 'areRelationsValid', # noqa: E501 'content': 'content', # noqa: E501 + 'are_relations_valid': 'areRelationsValid', # noqa: E501 'description': 'description', # noqa: E501 'tags': 'tags', # noqa: E501 'title': 'title', # noqa: E501 @@ -115,9 +115,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, content, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardInAttributes - a model defined in OpenAPI + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -150,7 +153,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 - content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 description (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 title (str): [optional] # noqa: E501 @@ -185,6 +187,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.content = content for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -205,9 +208,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, content, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardInAttributes - a model defined in OpenAPI + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -240,7 +246,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 - content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 description (str): [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 title (str): [optional] # noqa: E501 @@ -273,6 +278,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.content = content for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py index 7a99da278..96ea4a9e4 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out.py @@ -100,9 +100,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'meta': (JsonApiAnalyticalDashboardOutMeta,), # noqa: E501 'relationships': (JsonApiAnalyticalDashboardOutRelationships,), # noqa: E501 } @@ -113,9 +113,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 } @@ -127,10 +127,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object Keyword Args: @@ -165,7 +166,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 """ @@ -200,6 +200,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -222,10 +223,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object Keyword Args: @@ -260,7 +262,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 """ @@ -293,6 +294,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py index 02c038fb2..4537fa979 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_attributes.py @@ -88,8 +88,8 @@ def openapi_types(): and the value is attribute type. """ return { - 'are_relations_valid': (bool,), # noqa: E501 'content': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'are_relations_valid': (bool,), # noqa: E501 'created_at': (datetime,), # noqa: E501 'description': (str,), # noqa: E501 'modified_at': (datetime,), # noqa: E501 @@ -103,8 +103,8 @@ def discriminator(): attribute_map = { - 'are_relations_valid': 'areRelationsValid', # noqa: E501 'content': 'content', # noqa: E501 + 'are_relations_valid': 'areRelationsValid', # noqa: E501 'created_at': 'createdAt', # noqa: E501 'description': 'description', # noqa: E501 'modified_at': 'modifiedAt', # noqa: E501 @@ -119,9 +119,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, content, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOutAttributes - a model defined in OpenAPI + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -154,7 +157,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 - content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 created_at (datetime): [optional] # noqa: E501 description (str): [optional] # noqa: E501 modified_at (datetime): [optional] # noqa: E501 @@ -191,6 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.content = content for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -211,9 +214,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, content, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOutAttributes - a model defined in OpenAPI + Args: + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -246,7 +252,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) are_relations_valid (bool): [optional] # noqa: E501 - content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 created_at (datetime): [optional] # noqa: E501 description (str): [optional] # noqa: E501 modified_at (datetime): [optional] # noqa: E501 @@ -281,6 +286,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.content = content for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py index 01e540b10..edd0f6c99 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_out_with_links.py @@ -106,9 +106,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'meta': (JsonApiAnalyticalDashboardOutMeta,), # noqa: E501 'relationships': (JsonApiAnalyticalDashboardOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 @@ -120,9 +120,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 'links': 'links', # noqa: E501 @@ -137,6 +137,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object type (str): Object type. defaults to "analyticalDashboard", must be one of ["analyticalDashboard", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -169,7 +170,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 @@ -247,6 +247,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object type (str): Object type. defaults to "analyticalDashboard", must be one of ["analyticalDashboard", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -279,7 +280,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAnalyticalDashboardOutMeta): [optional] # noqa: E501 relationships (JsonApiAnalyticalDashboardOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py index 89bb8fa50..c3e7a4cfc 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch.py @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_in_attributes import JsonApiAnalyticalDashboardInAttributes - globals()['JsonApiAnalyticalDashboardInAttributes'] = JsonApiAnalyticalDashboardInAttributes + from gooddata_api_client.model.json_api_analytical_dashboard_patch_attributes import JsonApiAnalyticalDashboardPatchAttributes + globals()['JsonApiAnalyticalDashboardPatchAttributes'] = JsonApiAnalyticalDashboardPatchAttributes class JsonApiAnalyticalDashboardPatch(ModelNormal): @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardPatchAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "analyticalDashboard") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "analyticalDashboard") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py new file mode 100644 index 000000000..f0c3b98aa --- /dev/null +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_patch_attributes.py @@ -0,0 +1,286 @@ +""" + 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 JsonApiAnalyticalDashboardPatchAttributes(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 = { + ('description',): { + 'max_length': 10000, + }, + ('title',): { + 'max_length': 255, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'are_relations_valid': (bool,), # noqa: E501 + 'content': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 + 'description': (str,), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'title': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'are_relations_valid': 'areRelationsValid', # noqa: E501 + 'content': 'content', # noqa: E501 + 'description': 'description', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'title': 'title', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JsonApiAnalyticalDashboardPatchAttributes - a model defined in OpenAPI + + 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,) + are_relations_valid (bool): [optional] # noqa: E501 + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 + description (str): [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + title (str): [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__,) + + 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, *args, **kwargs): # noqa: E501 + """JsonApiAnalyticalDashboardPatchAttributes - a model defined in OpenAPI + + 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,) + are_relations_valid (bool): [optional] # noqa: E501 + content ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Free-form JSON content. Maximum supported length is 250000 characters.. [optional] # noqa: E501 + description (str): [optional] # noqa: E501 + tags ([str]): [optional] # noqa: E501 + title (str): [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__,) + + 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/json_api_analytical_dashboard_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py index 421e35393..c441b4300 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_analytical_dashboard_post_optional_id.py @@ -96,8 +96,8 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 + 'type': (str,), # noqa: E501 'id': (str,), # noqa: E501 } @@ -107,8 +107,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 'id': 'id', # noqa: E501 } @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "analyticalDashboard", must be one of ["analyticalDashboard", ] # noqa: E501 @@ -156,7 +157,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -190,6 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -211,10 +212,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, *args, **kwargs): # noqa: E501 """JsonApiAnalyticalDashboardPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "analyticalDashboard", must be one of ["analyticalDashboard", ] # noqa: E501 @@ -248,7 +250,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -280,6 +281,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py index 4c8c02504..9abbecc66 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_in.py @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "filterContext") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "filterContext") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py index 12048fcdd..27de5bd19 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out.py @@ -100,9 +100,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'meta': (JsonApiAttributeHierarchyOutMeta,), # noqa: E501 'relationships': (JsonApiFilterContextOutRelationships,), # noqa: E501 } @@ -113,9 +113,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 } @@ -127,10 +127,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -165,7 +166,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiFilterContextOutRelationships): [optional] # noqa: E501 """ @@ -200,6 +200,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -222,10 +223,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -260,7 +262,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiFilterContextOutRelationships): [optional] # noqa: E501 """ @@ -293,6 +294,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py index c30e25b82..dcafde26c 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_out_with_links.py @@ -106,9 +106,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'meta': (JsonApiAttributeHierarchyOutMeta,), # noqa: E501 'relationships': (JsonApiFilterContextOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 @@ -120,9 +120,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 'links': 'links', # noqa: E501 @@ -137,6 +137,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """JsonApiFilterContextOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object type (str): Object type. defaults to "filterContext", must be one of ["filterContext", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -169,7 +170,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiFilterContextOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 @@ -247,6 +247,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 """JsonApiFilterContextOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object type (str): Object type. defaults to "filterContext", must be one of ["filterContext", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -279,7 +280,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiFilterContextOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py index 7830c90df..057ecb10f 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_patch.py @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_in_attributes import JsonApiAnalyticalDashboardInAttributes - globals()['JsonApiAnalyticalDashboardInAttributes'] = JsonApiAnalyticalDashboardInAttributes + from gooddata_api_client.model.json_api_analytical_dashboard_patch_attributes import JsonApiAnalyticalDashboardPatchAttributes + globals()['JsonApiAnalyticalDashboardPatchAttributes'] = JsonApiAnalyticalDashboardPatchAttributes class JsonApiFilterContextPatch(ModelNormal): @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardPatchAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "filterContext") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiFilterContextPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "filterContext") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py index ccffa73e3..800b19623 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_filter_context_post_optional_id.py @@ -96,8 +96,8 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 + 'type': (str,), # noqa: E501 'id': (str,), # noqa: E501 } @@ -107,8 +107,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 'id': 'id', # noqa: E501 } @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 """JsonApiFilterContextPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "filterContext", must be one of ["filterContext", ] # noqa: E501 @@ -156,7 +157,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -190,6 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -211,10 +212,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, *args, **kwargs): # noqa: E501 """JsonApiFilterContextPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "filterContext", must be one of ["filterContext", ] # noqa: E501 @@ -248,7 +250,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -280,6 +281,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py index 167af2156..8bdc78111 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_in.py @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "visualizationObject") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectIn - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "visualizationObject") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py index 05224704a..b7096deab 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out.py @@ -100,9 +100,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'meta': (JsonApiAttributeHierarchyOutMeta,), # noqa: E501 'relationships': (JsonApiMetricOutRelationships,), # noqa: E501 } @@ -113,9 +113,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 } @@ -127,10 +127,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object Keyword Args: @@ -165,7 +166,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 """ @@ -200,6 +200,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -222,10 +223,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectOut - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object Keyword Args: @@ -260,7 +262,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 """ @@ -293,6 +294,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py index 4e9103cca..cf80cd5a9 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_out_with_links.py @@ -106,9 +106,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardOutAttributes,), # noqa: E501 'meta': (JsonApiAttributeHierarchyOutMeta,), # noqa: E501 'relationships': (JsonApiMetricOutRelationships,), # noqa: E501 'links': (ObjectLinks,), # noqa: E501 @@ -120,9 +120,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 'meta': 'meta', # noqa: E501 'relationships': 'relationships', # noqa: E501 'links': 'links', # noqa: E501 @@ -137,6 +137,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object type (str): Object type. defaults to "visualizationObject", must be one of ["visualizationObject", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -169,7 +170,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 @@ -247,6 +247,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectOutWithLinks - a model defined in OpenAPI Keyword Args: + attributes (JsonApiAnalyticalDashboardOutAttributes): id (str): API identifier of an object type (str): Object type. defaults to "visualizationObject", must be one of ["visualizationObject", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types @@ -279,7 +280,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardOutAttributes): [optional] # noqa: E501 meta (JsonApiAttributeHierarchyOutMeta): [optional] # noqa: E501 relationships (JsonApiMetricOutRelationships): [optional] # noqa: E501 links (ObjectLinks): [optional] # noqa: E501 diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py index b25a92d6b..1fabc34fe 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_patch.py @@ -31,8 +31,8 @@ def lazy_import(): - from gooddata_api_client.model.json_api_analytical_dashboard_in_attributes import JsonApiAnalyticalDashboardInAttributes - globals()['JsonApiAnalyticalDashboardInAttributes'] = JsonApiAnalyticalDashboardInAttributes + from gooddata_api_client.model.json_api_analytical_dashboard_patch_attributes import JsonApiAnalyticalDashboardPatchAttributes + globals()['JsonApiAnalyticalDashboardPatchAttributes'] = JsonApiAnalyticalDashboardPatchAttributes class JsonApiVisualizationObjectPatch(ModelNormal): @@ -96,9 +96,9 @@ def openapi_types(): """ lazy_import() return { + 'attributes': (JsonApiAnalyticalDashboardPatchAttributes,), # noqa: E501 'id': (str,), # noqa: E501 'type': (str,), # noqa: E501 - 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 } @cached_property @@ -107,9 +107,9 @@ def discriminator(): attribute_map = { + 'attributes': 'attributes', # noqa: E501 'id': 'id', # noqa: E501 'type': 'type', # noqa: E501 - 'attributes': 'attributes', # noqa: E501 } read_only_vars = { @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -157,7 +158,6 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "visualizationObject") @@ -190,6 +190,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): @@ -212,10 +213,11 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, id, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, id, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectPatch - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardPatchAttributes): id (str): API identifier of an object Keyword Args: @@ -250,7 +252,6 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 """ type = kwargs.get('type', "visualizationObject") @@ -281,6 +282,7 @@ def __init__(self, id, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.id = id self.type = type for var_name, var_value in kwargs.items(): diff --git a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py index 8d6822ac8..67f57c61d 100644 --- a/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py +++ b/gooddata-api-client/gooddata_api_client/model/json_api_visualization_object_post_optional_id.py @@ -96,8 +96,8 @@ def openapi_types(): """ lazy_import() return { - 'type': (str,), # noqa: E501 'attributes': (JsonApiAnalyticalDashboardInAttributes,), # noqa: E501 + 'type': (str,), # noqa: E501 'id': (str,), # noqa: E501 } @@ -107,8 +107,8 @@ def discriminator(): attribute_map = { - 'type': 'type', # noqa: E501 'attributes': 'attributes', # noqa: E501 + 'type': 'type', # noqa: E501 'id': 'id', # noqa: E501 } @@ -119,10 +119,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, attributes, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "visualizationObject", must be one of ["visualizationObject", ] # noqa: E501 @@ -156,7 +157,6 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -190,6 +190,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -211,10 +212,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, attributes, *args, **kwargs): # noqa: E501 """JsonApiVisualizationObjectPostOptionalId - a model defined in OpenAPI Args: + attributes (JsonApiAnalyticalDashboardInAttributes): Keyword Args: type (str): Object type. defaults to "visualizationObject", must be one of ["visualizationObject", ] # noqa: E501 @@ -248,7 +250,6 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - attributes (JsonApiAnalyticalDashboardInAttributes): [optional] # noqa: E501 id (str): API identifier of an object. [optional] # noqa: E501 """ @@ -280,6 +281,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.attributes = attributes self.type = type for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ diff --git a/gooddata-api-client/gooddata_api_client/models/__init__.py b/gooddata-api-client/gooddata_api_client/models/__init__.py index b201551b8..8d5841fe3 100644 --- a/gooddata-api-client/gooddata_api_client/models/__init__.py +++ b/gooddata-api-client/gooddata_api_client/models/__init__.py @@ -98,6 +98,7 @@ from gooddata_api_client.model.declarative_organization_permission import DeclarativeOrganizationPermission from gooddata_api_client.model.declarative_pdm import DeclarativePdm from gooddata_api_client.model.declarative_reference import DeclarativeReference +from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource from gooddata_api_client.model.declarative_rsa_specification import DeclarativeRsaSpecification from gooddata_api_client.model.declarative_setting import DeclarativeSetting from gooddata_api_client.model.declarative_single_workspace_permission import DeclarativeSingleWorkspacePermission @@ -183,6 +184,7 @@ from gooddata_api_client.model.json_api_analytical_dashboard_out_relationships_visualization_objects import JsonApiAnalyticalDashboardOutRelationshipsVisualizationObjects from gooddata_api_client.model.json_api_analytical_dashboard_out_with_links import JsonApiAnalyticalDashboardOutWithLinks from gooddata_api_client.model.json_api_analytical_dashboard_patch import JsonApiAnalyticalDashboardPatch +from gooddata_api_client.model.json_api_analytical_dashboard_patch_attributes import JsonApiAnalyticalDashboardPatchAttributes from gooddata_api_client.model.json_api_analytical_dashboard_patch_document import JsonApiAnalyticalDashboardPatchDocument from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id import JsonApiAnalyticalDashboardPostOptionalId from gooddata_api_client.model.json_api_analytical_dashboard_post_optional_id_document import JsonApiAnalyticalDashboardPostOptionalIdDocument 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 a8766fab4..3df0ff6b1 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 @@ -184,10 +184,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 6eefd811ae465a1592de7160683649b31802aa8f + executionResult: b5dbe3d374929a25de4af2992fffb00732131197 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6eefd811ae465a1592de7160683649b31802aa8f?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b5dbe3d374929a25de4af2992fffb00732131197?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 dd315cf3b..40c3d09f0 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 @@ -140,10 +140,10 @@ interactions: name: Revenue localIdentifier: dim_0 links: - executionResult: fe5c167f5bd3e92f1c94e093b8510f8afecaca18 + executionResult: a105a7429070ff122ec5ac15eeb7f8902b194d0b - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe5c167f5bd3e92f1c94e093b8510f8afecaca18?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a105a7429070ff122ec5ac15eeb7f8902b194d0b?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 1b02cf5c8..1cdacab07 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 @@ -141,10 +141,10 @@ interactions: name: Revenue localIdentifier: dim_1 links: - executionResult: 00d0299adce52f12bf8dc9aa3383d7f6615db632 + executionResult: bf92ecccabab44d3309388e0e72e8355d8114d17 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/00d0299adce52f12bf8dc9aa3383d7f6615db632?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bf92ecccabab44d3309388e0e72e8355d8114d17?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 1afe325e7..2e99218b0 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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: a3841c000c13f542e43aa6306a6cd98e1bdc2ba9 + executionResult: 1cd338834c44aaea3a552e5b6c426602564076ba - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a3841c000c13f542e43aa6306a6cd98e1bdc2ba9?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1cd338834c44aaea3a552e5b6c426602564076ba?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 1afe325e7..2e99218b0 100644 --- a/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml +++ b/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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: a3841c000c13f542e43aa6306a6cd98e1bdc2ba9 + executionResult: 1cd338834c44aaea3a552e5b6c426602564076ba - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a3841c000c13f542e43aa6306a6cd98e1bdc2ba9?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1cd338834c44aaea3a552e5b6c426602564076ba?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 dd0a4b4a6..dcf00c553 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 @@ -878,39 +878,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1439,11 +1439,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1451,21 +1449,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1502,18 +1502,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1539,10 +1539,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: @@ -1568,14 +1568,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1594,39 +1594,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1654,11 +1654,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1691,12 +1691,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2145,7 +2145,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2160,7 +2160,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2192,7 +2192,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2208,7 +2208,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2223,7 +2223,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2238,7 +2238,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2253,7 +2253,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2269,7 +2269,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2285,7 +2285,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2301,7 +2301,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2317,7 +2317,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2333,7 +2333,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2350,7 +2350,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2366,7 +2366,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2382,7 +2382,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2398,7 +2398,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2414,7 +2414,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2430,7 +2430,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2445,7 +2445,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2490,7 +2490,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2505,7 +2505,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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 72a7964fa..9a979a69e 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 @@ -878,39 +878,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1439,11 +1439,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1451,21 +1449,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1502,18 +1502,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1539,10 +1539,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: @@ -1568,14 +1568,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1594,39 +1594,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1654,11 +1654,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1691,12 +1691,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2145,7 +2145,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2160,7 +2160,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2192,7 +2192,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2208,7 +2208,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2223,7 +2223,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2238,7 +2238,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2253,7 +2253,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2269,7 +2269,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2285,7 +2285,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2301,7 +2301,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2317,7 +2317,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2333,7 +2333,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2350,7 +2350,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2366,7 +2366,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2382,7 +2382,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2398,7 +2398,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2414,7 +2414,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2430,7 +2430,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2445,7 +2445,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2490,7 +2490,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2505,7 +2505,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2655,7 +2655,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -2754,7 +2754,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -2858,7 +2858,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -2942,7 +2942,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3024,7 +3024,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3098,7 +3098,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3194,7 +3194,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3280,7 +3280,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3400,7 +3400,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3487,7 +3487,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3551,7 +3551,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3626,7 +3626,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3715,7 +3715,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3797,7 +3797,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3875,7 +3875,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -3902,7 +3902,7 @@ interactions: type: metric attributes: title: '# of Orders' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3913,7 +3913,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -3971,7 +3971,7 @@ interactions: type: metric attributes: title: '% Revenue in Category' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -3982,7 +3982,7 @@ interactions: type: metric attributes: title: Revenue per Customer - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3992,7 +3992,7 @@ interactions: type: metric attributes: title: Revenue / Top 10 - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -4013,7 +4013,7 @@ interactions: type: metric attributes: title: '% Revenue per Product' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -4115,7 +4115,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -4138,7 +4138,7 @@ interactions: type: metric attributes: title: Campaign Spend - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -4148,7 +4148,7 @@ interactions: type: metric attributes: title: Revenue per Dollar Spent - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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 21589684b..30c93af00 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc 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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc?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 21589684b..30c93af00 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc 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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc?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 b251a6a2e..f0c402e29 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 @@ -177,10 +177,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: e3000fa8926e1b72f2b2608b462d384168f7f8cd + executionResult: 00a1bda1095fe30a5f9ad11410750c14c8df83dd - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e3000fa8926e1b72f2b2608b462d384168f7f8cd/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/00a1bda1095fe30a5f9ad11410750c14c8df83dd/metadata body: null headers: Accept: @@ -347,7 +347,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: e3000fa8926e1b72f2b2608b462d384168f7f8cd + executionResult: 00a1bda1095fe30a5f9ad11410750c14c8df83dd 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/e3000fa8926e1b72f2b2608b462d384168f7f8cd?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/00a1bda1095fe30a5f9ad11410750c14c8df83dd?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/e3000fa8926e1b72f2b2608b462d384168f7f8cd/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/00a1bda1095fe30a5f9ad11410750c14c8df83dd/metadata body: null headers: Accept: @@ -4986,7 +4986,7 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: e3000fa8926e1b72f2b2608b462d384168f7f8cd + executionResult: 00a1bda1095fe30a5f9ad11410750c14c8df83dd 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/e3000fa8926e1b72f2b2608b462d384168f7f8cd?offset=0&limit=500 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/00a1bda1095fe30a5f9ad11410750c14c8df83dd?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 c25c68139..0a371f5ed 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2f9e53757893d2bb368ec87a718adaa1985f6f64 + executionResult: 7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2f9e53757893d2bb368ec87a718adaa1985f6f64/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2f9e53757893d2bb368ec87a718adaa1985f6f64 + executionResult: 7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde 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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde/metadata body: null headers: Accept: @@ -5283,7 +5283,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 2f9e53757893d2bb368ec87a718adaa1985f6f64 + executionResult: 7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde 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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C100&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C200&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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/2f9e53757893d2bb368ec87a718adaa1985f6f64?offset=0%2C300&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7d1a76bf1f3d8b9f3249691ce29c2b38e7a0abde?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 fb724133d..5862b2412 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 @@ -200,10 +200,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9825cdca7eb3ffec4a122861bbd6b2f77d70cabc + executionResult: 4848fe8a039bb13e25546a9c6b037dfe2da0eb2f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9825cdca7eb3ffec4a122861bbd6b2f77d70cabc/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4848fe8a039bb13e25546a9c6b037dfe2da0eb2f/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9825cdca7eb3ffec4a122861bbd6b2f77d70cabc + executionResult: 4848fe8a039bb13e25546a9c6b037dfe2da0eb2f 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/9825cdca7eb3ffec4a122861bbd6b2f77d70cabc?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4848fe8a039bb13e25546a9c6b037dfe2da0eb2f?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/9825cdca7eb3ffec4a122861bbd6b2f77d70cabc/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4848fe8a039bb13e25546a9c6b037dfe2da0eb2f/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9825cdca7eb3ffec4a122861bbd6b2f77d70cabc + executionResult: 4848fe8a039bb13e25546a9c6b037dfe2da0eb2f 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/9825cdca7eb3ffec4a122861bbd6b2f77d70cabc?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4848fe8a039bb13e25546a9c6b037dfe2da0eb2f?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 819dd2964..cc194a50b 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 @@ -198,10 +198,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7c9720e9b5fac18b4cff44964d549e24aa672bef + executionResult: f30ace7b9f4b2526a79f93a6832d585fbfdf53a8 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7c9720e9b5fac18b4cff44964d549e24aa672bef/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f30ace7b9f4b2526a79f93a6832d585fbfdf53a8/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7c9720e9b5fac18b4cff44964d549e24aa672bef + executionResult: f30ace7b9f4b2526a79f93a6832d585fbfdf53a8 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/7c9720e9b5fac18b4cff44964d549e24aa672bef?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f30ace7b9f4b2526a79f93a6832d585fbfdf53a8?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/7c9720e9b5fac18b4cff44964d549e24aa672bef/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f30ace7b9f4b2526a79f93a6832d585fbfdf53a8/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 7c9720e9b5fac18b4cff44964d549e24aa672bef + executionResult: f30ace7b9f4b2526a79f93a6832d585fbfdf53a8 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/7c9720e9b5fac18b4cff44964d549e24aa672bef?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f30ace7b9f4b2526a79f93a6832d585fbfdf53a8?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 ab353d954..9ec522836 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 @@ -200,10 +200,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: dff9d826e1299d52f375ef3a877bb72618d59691 + executionResult: dce540d3d9223e6676594ab0ec7dc3c0be47afb1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dff9d826e1299d52f375ef3a877bb72618d59691/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dce540d3d9223e6676594ab0ec7dc3c0be47afb1/metadata body: null headers: Accept: @@ -372,7 +372,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: dff9d826e1299d52f375ef3a877bb72618d59691 + executionResult: dce540d3d9223e6676594ab0ec7dc3c0be47afb1 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/dff9d826e1299d52f375ef3a877bb72618d59691?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dce540d3d9223e6676594ab0ec7dc3c0be47afb1?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/dff9d826e1299d52f375ef3a877bb72618d59691/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dce540d3d9223e6676594ab0ec7dc3c0be47afb1/metadata body: null headers: Accept: @@ -2036,7 +2036,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: dff9d826e1299d52f375ef3a877bb72618d59691 + executionResult: dce540d3d9223e6676594ab0ec7dc3c0be47afb1 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/dff9d826e1299d52f375ef3a877bb72618d59691?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/dce540d3d9223e6676594ab0ec7dc3c0be47afb1?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 b81719971..325212935 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 @@ -198,10 +198,10 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d + executionResult: bec09f5d128c8262511ebe09fe8418ff9daa478a - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bec09f5d128c8262511ebe09fe8418ff9daa478a/metadata body: null headers: Accept: @@ -370,7 +370,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d + executionResult: bec09f5d128c8262511ebe09fe8418ff9daa478a 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/ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bec09f5d128c8262511ebe09fe8418ff9daa478a?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/ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bec09f5d128c8262511ebe09fe8418ff9daa478a/metadata body: null headers: Accept: @@ -3087,7 +3087,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d + executionResult: bec09f5d128c8262511ebe09fe8418ff9daa478a 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/ff28ae32ea10fb0c2af391c0fbcd67f8eb524c7d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/bec09f5d128c8262511ebe09fe8418ff9daa478a?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 94d936aee..57a082093 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc 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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc?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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc/metadata body: null headers: Accept: @@ -1345,7 +1345,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc 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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc?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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc/metadata body: null headers: Accept: @@ -2337,7 +2337,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 5356bfa17f40f2d639cf93be52edbb43d7f6d5f2 + executionResult: 2d216d92b8e7026f2dd71ec77df1d395b89bdfcc 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/5356bfa17f40f2d639cf93be52edbb43d7f6d5f2?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2d216d92b8e7026f2dd71ec77df1d395b89bdfcc?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 e30cdb50d..31baddeab 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9b102487b64630977a58dcd1627ee4f38a84896d + executionResult: f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9b102487b64630977a58dcd1627ee4f38a84896d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9b102487b64630977a58dcd1627ee4f38a84896d + executionResult: f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6 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/9b102487b64630977a58dcd1627ee4f38a84896d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6?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/9b102487b64630977a58dcd1627ee4f38a84896d?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6?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/9b102487b64630977a58dcd1627ee4f38a84896d/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6/metadata body: null headers: Accept: @@ -2737,7 +2737,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9b102487b64630977a58dcd1627ee4f38a84896d + executionResult: f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6 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/9b102487b64630977a58dcd1627ee4f38a84896d?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6?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/9b102487b64630977a58dcd1627ee4f38a84896d?offset=100%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f806b1ce1fc7a891f2fd7a2f091f96d1be7082a6?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 d44c6c81f..1121e8e46 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 @@ -181,10 +181,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 498112a54945e6ce74182b806ab14ad4261ca3c7 + executionResult: a51d52bb1ddd84ef414f368db20bc662fe513b8f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/498112a54945e6ce74182b806ab14ad4261ca3c7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a51d52bb1ddd84ef414f368db20bc662fe513b8f/metadata body: null headers: Accept: @@ -353,7 +353,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 498112a54945e6ce74182b806ab14ad4261ca3c7 + executionResult: a51d52bb1ddd84ef414f368db20bc662fe513b8f 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/498112a54945e6ce74182b806ab14ad4261ca3c7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a51d52bb1ddd84ef414f368db20bc662fe513b8f?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/498112a54945e6ce74182b806ab14ad4261ca3c7/metadata + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a51d52bb1ddd84ef414f368db20bc662fe513b8f/metadata body: null headers: Accept: @@ -1797,7 +1797,7 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 498112a54945e6ce74182b806ab14ad4261ca3c7 + executionResult: a51d52bb1ddd84ef414f368db20bc662fe513b8f 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/498112a54945e6ce74182b806ab14ad4261ca3c7?offset=0%2C0&limit=100%2C100 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a51d52bb1ddd84ef414f368db20bc662fe513b8f?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 44cf4dfbc..f884c1bd2 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight.yaml @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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: 2bcc261b966a6f6fc21b2d9c8b207a05a77097f1 + executionResult: 1775d1156e5aabc55714767ecf6a588f4da4089b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1355,39 +1355,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1916,11 +1916,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1928,21 +1926,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1979,18 +1979,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -2016,10 +2016,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: @@ -2045,14 +2045,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -2071,39 +2071,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -2131,11 +2131,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -2168,12 +2168,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2622,7 +2622,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2637,7 +2637,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2652,7 +2652,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2669,7 +2669,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2685,7 +2685,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2700,7 +2700,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2715,7 +2715,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2730,7 +2730,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2746,7 +2746,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2762,7 +2762,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2778,7 +2778,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2794,7 +2794,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2810,7 +2810,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2827,7 +2827,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2843,7 +2843,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2859,7 +2859,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2875,7 +2875,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2891,7 +2891,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2907,7 +2907,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2922,7 +2922,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2937,7 +2937,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2952,7 +2952,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2967,7 +2967,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2982,7 +2982,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2997,7 +2997,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/2bcc261b966a6f6fc21b2d9c8b207a05a77097f1?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1775d1156e5aabc55714767ecf6a588f4da4089b?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 d3e41320b..8812376d9 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_insight_date.yaml @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -375,7 +375,7 @@ interactions: pattern: MMM y localIdentifier: dim_1 links: - executionResult: 6e3f87d214b9832af5c00b8ffbfbf08a668b5f3e + executionResult: cb32fdb2c103923b570f0195d11a3c27fae82ba1 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1252,39 +1252,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1813,11 +1813,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1825,21 +1823,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1876,18 +1876,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1913,10 +1913,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: @@ -1942,14 +1942,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1968,39 +1968,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -2028,11 +2028,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -2065,12 +2065,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2519,7 +2519,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2534,7 +2534,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2549,7 +2549,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2566,7 +2566,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2582,7 +2582,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2597,7 +2597,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2612,7 +2612,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2627,7 +2627,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2643,7 +2643,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2659,7 +2659,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2675,7 +2675,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2691,7 +2691,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2707,7 +2707,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2724,7 +2724,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2740,7 +2740,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2756,7 +2756,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2772,7 +2772,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2788,7 +2788,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2804,7 +2804,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2819,7 +2819,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2834,7 +2834,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2849,7 +2849,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2864,7 +2864,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2879,7 +2879,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2894,7 +2894,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/6e3f87d214b9832af5c00b8ffbfbf08a668b5f3e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/cb32fdb2c103923b570f0195d11a3c27fae82ba1?offset=0%2C0&limit=2%2C1000 body: null headers: Accept: 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 44cf4dfbc..f884c1bd2 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 @@ -174,7 +174,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 relationships: createdBy: data: @@ -221,7 +221,7 @@ interactions: attributes: title: Revenue description: '' - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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: 2bcc261b966a6f6fc21b2d9c8b207a05a77097f1 + executionResult: 1775d1156e5aabc55714767ecf6a588f4da4089b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1355,39 +1355,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1916,11 +1916,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1928,21 +1926,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1979,18 +1979,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -2016,10 +2016,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: @@ -2045,14 +2045,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -2071,39 +2071,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -2131,11 +2131,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -2168,12 +2168,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2622,7 +2622,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2637,7 +2637,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2652,7 +2652,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2669,7 +2669,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2685,7 +2685,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2700,7 +2700,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2715,7 +2715,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2730,7 +2730,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2746,7 +2746,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2762,7 +2762,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2778,7 +2778,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2794,7 +2794,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2810,7 +2810,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2827,7 +2827,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2843,7 +2843,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2859,7 +2859,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2875,7 +2875,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2891,7 +2891,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2907,7 +2907,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2922,7 +2922,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2937,7 +2937,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2952,7 +2952,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2967,7 +2967,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2982,7 +2982,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2997,7 +2997,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/2bcc261b966a6f6fc21b2d9c8b207a05a77097f1?offset=0%2C0&limit=4%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1775d1156e5aabc55714767ecf6a588f4da4089b?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 f62f14caa..a7cc30775 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/dataframe_for_items.yaml @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ae4b472f7bfc24eba6c7ea9ad50a2d1597e8e494 + executionResult: 7be53dac09029c72eda307fcbc6ab43a16c80ef2 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1038,39 +1038,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1599,11 +1599,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1611,21 +1609,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1662,18 +1662,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1699,10 +1699,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: @@ -1728,14 +1728,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1754,39 +1754,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1814,11 +1814,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1851,12 +1851,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2305,7 +2305,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2320,7 +2320,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2335,7 +2335,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2352,7 +2352,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2368,7 +2368,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2383,7 +2383,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2398,7 +2398,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2413,7 +2413,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2429,7 +2429,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2445,7 +2445,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2461,7 +2461,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2477,7 +2477,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2493,7 +2493,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2510,7 +2510,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2526,7 +2526,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2542,7 +2542,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2558,7 +2558,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2574,7 +2574,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2590,7 +2590,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2605,7 +2605,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2620,7 +2620,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2635,7 +2635,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2650,7 +2650,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2665,7 +2665,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2680,7 +2680,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/ae4b472f7bfc24eba6c7ea9ad50a2d1597e8e494?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7be53dac09029c72eda307fcbc6ab43a16c80ef2?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 f62f14caa..a7cc30775 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 @@ -161,7 +161,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ae4b472f7bfc24eba6c7ea9ad50a2d1597e8e494 + executionResult: 7be53dac09029c72eda307fcbc6ab43a16c80ef2 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1038,39 +1038,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1599,11 +1599,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1611,21 +1609,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1662,18 +1662,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1699,10 +1699,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: @@ -1728,14 +1728,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1754,39 +1754,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1814,11 +1814,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1851,12 +1851,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2305,7 +2305,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2320,7 +2320,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2335,7 +2335,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2352,7 +2352,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2368,7 +2368,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2383,7 +2383,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2398,7 +2398,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2413,7 +2413,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2429,7 +2429,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2445,7 +2445,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2461,7 +2461,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2477,7 +2477,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2493,7 +2493,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2510,7 +2510,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2526,7 +2526,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2542,7 +2542,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2558,7 +2558,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2574,7 +2574,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2590,7 +2590,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2605,7 +2605,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2620,7 +2620,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2635,7 +2635,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2650,7 +2650,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2665,7 +2665,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2680,7 +2680,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/ae4b472f7bfc24eba6c7ea9ad50a2d1597e8e494?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/7be53dac09029c72eda307fcbc6ab43a16c80ef2?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 d230fae9b..04f66927c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_indexed_dataframe.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: d5b149e6d4b09e426fccf980529833e5639b60df + executionResult: 1e0a837d7625d7cac8696a9c78231d5741069cfe - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1019,39 +1019,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1580,11 +1580,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1592,21 +1590,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1643,18 +1643,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1680,10 +1680,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: @@ -1709,14 +1709,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1735,39 +1735,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1782,24 +1782,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1832,12 +1832,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2286,7 +2286,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2301,7 +2301,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2316,7 +2316,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2333,7 +2333,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2349,7 +2349,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2364,7 +2364,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2379,7 +2379,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2394,7 +2394,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2410,7 +2410,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2426,7 +2426,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2442,7 +2442,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2458,7 +2458,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2474,7 +2474,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2491,7 +2491,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2507,7 +2507,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2523,7 +2523,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2539,7 +2539,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2555,7 +2555,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2571,7 +2571,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2601,7 +2601,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2616,7 +2616,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2631,7 +2631,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2646,7 +2646,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2661,7 +2661,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/d5b149e6d4b09e426fccf980529833e5639b60df?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e0a837d7625d7cac8696a9c78231d5741069cfe?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 d230fae9b..04f66927c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/empty_not_indexed_dataframe.yaml @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: d5b149e6d4b09e426fccf980529833e5639b60df + executionResult: 1e0a837d7625d7cac8696a9c78231d5741069cfe - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1019,39 +1019,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1580,11 +1580,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1592,21 +1590,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1643,18 +1643,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1680,10 +1680,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: @@ -1709,14 +1709,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1735,39 +1735,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1782,24 +1782,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1832,12 +1832,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2286,7 +2286,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2301,7 +2301,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2316,7 +2316,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2333,7 +2333,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2349,7 +2349,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2364,7 +2364,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2379,7 +2379,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2394,7 +2394,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2410,7 +2410,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2426,7 +2426,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2442,7 +2442,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2458,7 +2458,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2474,7 +2474,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2491,7 +2491,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2507,7 +2507,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2523,7 +2523,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2539,7 +2539,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2555,7 +2555,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2571,7 +2571,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2601,7 +2601,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2616,7 +2616,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2631,7 +2631,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2646,7 +2646,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2661,7 +2661,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/d5b149e6d4b09e426fccf980529833e5639b60df?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1e0a837d7625d7cac8696a9c78231d5741069cfe?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 d784b0b0d..74dd20129 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 @@ -195,7 +195,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f3f7103af65eeb14d8abbdb41374e8fc8956f43d + executionResult: 6adfb4240b985c0c011f98a05842a6216e68e5c4 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1072,39 +1072,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1633,11 +1633,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1645,21 +1643,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1696,18 +1696,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1733,10 +1733,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: @@ -1762,14 +1762,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1788,39 +1788,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1848,11 +1848,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1885,12 +1885,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2339,7 +2339,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2354,7 +2354,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2369,7 +2369,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2386,7 +2386,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2402,7 +2402,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2417,7 +2417,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2432,7 +2432,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2447,7 +2447,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2463,7 +2463,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2479,7 +2479,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2495,7 +2495,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2511,7 +2511,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2527,7 +2527,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2544,7 +2544,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2560,7 +2560,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2576,7 +2576,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2592,7 +2592,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2608,7 +2608,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2624,7 +2624,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2639,7 +2639,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2654,7 +2654,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2669,7 +2669,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2684,7 +2684,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2699,7 +2699,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2714,7 +2714,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/f3f7103af65eeb14d8abbdb41374e8fc8956f43d?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6adfb4240b985c0c011f98a05842a6216e68e5c4?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 e83640522..914f8371e 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 @@ -170,7 +170,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: f5c978d5488563a4e4bf2336eedab543b7e9b633 + executionResult: 186ac7d2c7f20bc1eaae203649beabafaf307f85 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1047,39 +1047,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1608,11 +1608,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1620,21 +1618,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1671,18 +1671,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1708,10 +1708,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: @@ -1737,14 +1737,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1763,39 +1763,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1823,11 +1823,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1860,12 +1860,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2314,7 +2314,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2329,7 +2329,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2344,7 +2344,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2361,7 +2361,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2377,7 +2377,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2392,7 +2392,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2407,7 +2407,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2422,7 +2422,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2438,7 +2438,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2454,7 +2454,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2470,7 +2470,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2486,7 +2486,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2502,7 +2502,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2519,7 +2519,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2535,7 +2535,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2551,7 +2551,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2567,7 +2567,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2583,7 +2583,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2599,7 +2599,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2614,7 +2614,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2629,7 +2629,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2644,7 +2644,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2659,7 +2659,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2674,7 +2674,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2689,7 +2689,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/f5c978d5488563a4e4bf2336eedab543b7e9b633?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/186ac7d2c7f20bc1eaae203649beabafaf307f85?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 b644393a9..fe934eaac 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/multi_index_metrics.yaml @@ -162,7 +162,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: ce16cf388d3b85d28b85317c3dba241fb6a01676 + executionResult: c29673c2badf8f23472819e9e57898bd54208a44 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1039,39 +1039,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1600,11 +1600,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1612,21 +1610,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1663,18 +1663,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1700,10 +1700,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: @@ -1729,14 +1729,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1755,39 +1755,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1815,11 +1815,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1852,12 +1852,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2306,7 +2306,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2321,7 +2321,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2336,7 +2336,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2353,7 +2353,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2369,7 +2369,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2384,7 +2384,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2399,7 +2399,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2414,7 +2414,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2430,7 +2430,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2446,7 +2446,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2462,7 +2462,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2478,7 +2478,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2494,7 +2494,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2511,7 +2511,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2527,7 +2527,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2543,7 +2543,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2559,7 +2559,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2575,7 +2575,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2591,7 +2591,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2606,7 +2606,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2621,7 +2621,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2636,7 +2636,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2651,7 +2651,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2666,7 +2666,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2681,7 +2681,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/ce16cf388d3b85d28b85317c3dba241fb6a01676?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c29673c2badf8f23472819e9e57898bd54208a44?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 d9f848000..fa89ba193 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 @@ -182,7 +182,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: e5324ed0a1e74c1346c14a2df4fda6b263696902 + executionResult: fe66a23fc87f5425ff32f470238ce8bd2ca0791f - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1059,39 +1059,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1620,11 +1620,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1632,21 +1630,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1683,18 +1683,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1720,10 +1720,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: @@ -1749,14 +1749,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1775,39 +1775,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1835,11 +1835,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1872,12 +1872,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2326,7 +2326,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2341,7 +2341,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2356,7 +2356,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2373,7 +2373,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2389,7 +2389,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2404,7 +2404,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2419,7 +2419,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2434,7 +2434,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2450,7 +2450,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2466,7 +2466,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2482,7 +2482,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2498,7 +2498,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2514,7 +2514,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2531,7 +2531,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2547,7 +2547,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2563,7 +2563,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2579,7 +2579,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2595,7 +2595,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2611,7 +2611,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2626,7 +2626,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2641,7 +2641,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2656,7 +2656,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2671,7 +2671,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2686,7 +2686,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2701,7 +2701,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/e5324ed0a1e74c1346c14a2df4fda6b263696902?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/fe66a23fc87f5425ff32f470238ce8bd2ca0791f?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 2c6496112..6aa89cabe 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 @@ -150,7 +150,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: c18d54380af4f23ee4ac9bab9459c0f1b0b59e1c + executionResult: 45abfcd8652091af7f67d159e2e644608cfa4d94 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1027,39 +1027,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1588,11 +1588,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1600,21 +1598,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1651,18 +1651,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1688,10 +1688,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: @@ -1717,14 +1717,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1743,39 +1743,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1803,11 +1803,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1840,12 +1840,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2294,7 +2294,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2309,7 +2309,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2324,7 +2324,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2341,7 +2341,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2357,7 +2357,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2372,7 +2372,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2387,7 +2387,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2402,7 +2402,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2418,7 +2418,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2434,7 +2434,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2450,7 +2450,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2466,7 +2466,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2482,7 +2482,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2499,7 +2499,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2515,7 +2515,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2531,7 +2531,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2547,7 +2547,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2563,7 +2563,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2579,7 +2579,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2594,7 +2594,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2609,7 +2609,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2624,7 +2624,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2639,7 +2639,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2654,7 +2654,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2669,7 +2669,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/c18d54380af4f23ee4ac9bab9459c0f1b0b59e1c?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/45abfcd8652091af7f67d159e2e644608cfa4d94?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 9dd2dc491..bce7cc96c 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/not_indexed_metrics.yaml @@ -118,7 +118,7 @@ interactions: name: '# of Orders' localIdentifier: dim_0 links: - executionResult: 00ad1a5cae508b8a9bf75ad3133fcfd5c72bb1c8 + executionResult: 6667cbad20e848a8dcdf0a039e9b756d617f3295 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -995,39 +995,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1556,11 +1556,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1568,21 +1566,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1619,18 +1619,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1656,10 +1656,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: @@ -1685,14 +1685,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1711,39 +1711,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1758,24 +1758,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1808,12 +1808,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2262,7 +2262,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2277,7 +2277,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2292,7 +2292,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2309,7 +2309,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2325,7 +2325,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2340,7 +2340,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2355,7 +2355,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2370,7 +2370,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2386,7 +2386,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2402,7 +2402,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2418,7 +2418,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2434,7 +2434,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2450,7 +2450,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2467,7 +2467,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2483,7 +2483,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2499,7 +2499,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2515,7 +2515,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2531,7 +2531,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2547,7 +2547,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2562,7 +2562,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2577,7 +2577,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2592,7 +2592,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2607,7 +2607,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2622,7 +2622,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2637,7 +2637,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/00ad1a5cae508b8a9bf75ad3133fcfd5c72bb1c8?offset=0&limit=2 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6667cbad20e848a8dcdf0a039e9b756d617f3295?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 bc48a80ff..9fd88ae14 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 @@ -142,7 +142,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 074fb45b62acfe8493bec9db01bd3d2d98e36eaf + executionResult: 5b27180912b5782b74fc06281404ea45c1f67ab3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1019,39 +1019,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1580,11 +1580,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1592,21 +1590,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1643,18 +1643,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1680,10 +1680,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: @@ -1709,14 +1709,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1735,39 +1735,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1795,11 +1795,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1832,12 +1832,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2286,7 +2286,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2301,7 +2301,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2316,7 +2316,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2333,7 +2333,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2349,7 +2349,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2364,7 +2364,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2379,7 +2379,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2394,7 +2394,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2410,7 +2410,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2426,7 +2426,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2442,7 +2442,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2458,7 +2458,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2474,7 +2474,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2491,7 +2491,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2507,7 +2507,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2523,7 +2523,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2539,7 +2539,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2555,7 +2555,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2571,7 +2571,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2601,7 +2601,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2616,7 +2616,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2631,7 +2631,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2646,7 +2646,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2661,7 +2661,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/074fb45b62acfe8493bec9db01bd3d2d98e36eaf?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5b27180912b5782b74fc06281404ea45c1f67ab3?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 c1ffa9afd..5ffeef47f 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 @@ -197,7 +197,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: b6be6ee89b749abd3275b365e88ad30c4b4dd837 + executionResult: 84b6e22f6fb748823b8cb4802fef8156addea9b6 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1074,39 +1074,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1635,11 +1635,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1647,21 +1645,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1698,18 +1698,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1735,10 +1735,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: @@ -1764,14 +1764,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1790,39 +1790,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1850,11 +1850,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1887,12 +1887,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2341,7 +2341,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2356,7 +2356,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2371,7 +2371,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2388,7 +2388,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2404,7 +2404,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2419,7 +2419,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2434,7 +2434,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2449,7 +2449,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2465,7 +2465,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2481,7 +2481,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2497,7 +2497,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2513,7 +2513,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2529,7 +2529,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2546,7 +2546,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2562,7 +2562,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2578,7 +2578,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2594,7 +2594,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2610,7 +2610,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2626,7 +2626,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2641,7 +2641,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2656,7 +2656,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2671,7 +2671,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2686,7 +2686,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2701,7 +2701,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2716,7 +2716,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/b6be6ee89b749abd3275b365e88ad30c4b4dd837?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/84b6e22f6fb748823b8cb4802fef8156addea9b6?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 79c8817b3..cd96fb1c6 100644 --- a/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml +++ b/gooddata-pandas/tests/dataframe/fixtures/simple_index_metrics.yaml @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 1cd2fcf7d640b48e8ecc463047c5f3e3954adbd1 + executionResult: a31dae805a8d92c52317c2ef8ce2c1253448cc76 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1026,39 +1026,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1587,11 +1587,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1599,21 +1597,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1650,18 +1650,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1687,10 +1687,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: @@ -1716,14 +1716,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1742,39 +1742,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1802,11 +1802,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1839,12 +1839,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2293,7 +2293,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2308,7 +2308,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2323,7 +2323,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2340,7 +2340,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2356,7 +2356,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2371,7 +2371,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2386,7 +2386,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2401,7 +2401,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2417,7 +2417,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2433,7 +2433,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2449,7 +2449,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2465,7 +2465,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2481,7 +2481,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2498,7 +2498,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2514,7 +2514,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2530,7 +2530,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2546,7 +2546,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2562,7 +2562,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2578,7 +2578,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2593,7 +2593,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2608,7 +2608,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2623,7 +2623,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2638,7 +2638,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2653,7 +2653,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2668,7 +2668,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/1cd2fcf7d640b48e8ecc463047c5f3e3954adbd1?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a31dae805a8d92c52317c2ef8ce2c1253448cc76?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 77fe12362..f9c646ad3 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 @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 3264429d5236b5a0a463e573b89dbdcec709c25e + executionResult: 2056e8735ad89caa5d9bb33f5aef2a130efbb92a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1017,39 +1017,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1578,11 +1578,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1590,21 +1588,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1641,18 +1641,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1678,10 +1678,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: @@ -1707,14 +1707,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1733,39 +1733,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1793,11 +1793,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1830,12 +1830,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2284,7 +2284,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2299,7 +2299,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2314,7 +2314,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2331,7 +2331,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2347,7 +2347,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2362,7 +2362,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2377,7 +2377,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2392,7 +2392,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2408,7 +2408,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2424,7 +2424,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2440,7 +2440,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2456,7 +2456,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2472,7 +2472,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2489,7 +2489,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2505,7 +2505,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2521,7 +2521,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2537,7 +2537,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2553,7 +2553,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2569,7 +2569,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2584,7 +2584,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2599,7 +2599,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2614,7 +2614,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2629,7 +2629,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2644,7 +2644,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2659,7 +2659,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/3264429d5236b5a0a463e573b89dbdcec709c25e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2056e8735ad89caa5d9bb33f5aef2a130efbb92a?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 77fe12362..f9c646ad3 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 @@ -140,7 +140,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 3264429d5236b5a0a463e573b89dbdcec709c25e + executionResult: 2056e8735ad89caa5d9bb33f5aef2a130efbb92a - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1017,39 +1017,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1578,11 +1578,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1590,21 +1588,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1641,18 +1641,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1678,10 +1678,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: @@ -1707,14 +1707,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1733,39 +1733,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1793,11 +1793,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1830,12 +1830,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2284,7 +2284,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2299,7 +2299,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2314,7 +2314,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2331,7 +2331,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2347,7 +2347,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2362,7 +2362,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2377,7 +2377,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2392,7 +2392,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2408,7 +2408,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2424,7 +2424,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2440,7 +2440,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2456,7 +2456,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2472,7 +2472,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2489,7 +2489,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2505,7 +2505,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2521,7 +2521,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2537,7 +2537,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2553,7 +2553,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2569,7 +2569,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2584,7 +2584,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2599,7 +2599,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2614,7 +2614,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2629,7 +2629,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2644,7 +2644,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2659,7 +2659,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/3264429d5236b5a0a463e573b89dbdcec709c25e?offset=0%2C0&limit=2%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2056e8735ad89caa5d9bb33f5aef2a130efbb92a?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 ea6314331..9d6da1ee3 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_filtered_series.yaml @@ -157,7 +157,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: a992d6e00271cb872f6a47d2795a5abaa8facf28 + executionResult: c0289d9ff0a93e859a9d55e41be0dd3ce1d356e6 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1034,39 +1034,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1595,11 +1595,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1607,21 +1605,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1658,18 +1658,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1695,10 +1695,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: @@ -1724,14 +1724,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1750,39 +1750,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1797,24 +1797,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1847,12 +1847,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2301,7 +2301,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2316,7 +2316,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2331,7 +2331,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2348,7 +2348,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2364,7 +2364,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2379,7 +2379,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2394,7 +2394,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2409,7 +2409,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2425,7 +2425,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2441,7 +2441,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2457,7 +2457,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2473,7 +2473,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2489,7 +2489,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2506,7 +2506,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2522,7 +2522,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2538,7 +2538,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2554,7 +2554,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2570,7 +2570,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2601,7 +2601,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2616,7 +2616,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2631,7 +2631,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2646,7 +2646,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2661,7 +2661,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2676,7 +2676,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/a992d6e00271cb872f6a47d2795a5abaa8facf28?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/c0289d9ff0a93e859a9d55e41be0dd3ce1d356e6?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 37de98042..cd96fb1c6 100644 --- a/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/multi_index_metric_series.yaml @@ -149,7 +149,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: 1cd2fcf7d640b48e8ecc463047c5f3e3954adbd1 + executionResult: a31dae805a8d92c52317c2ef8ce2c1253448cc76 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1026,39 +1026,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1587,11 +1587,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1599,21 +1597,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1650,18 +1650,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1687,10 +1687,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: @@ -1716,14 +1716,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1742,39 +1742,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1789,24 +1789,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1839,12 +1839,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2293,7 +2293,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2308,7 +2308,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2323,7 +2323,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2340,7 +2340,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2356,7 +2356,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2371,7 +2371,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2386,7 +2386,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2401,7 +2401,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2417,7 +2417,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2433,7 +2433,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2449,7 +2449,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2465,7 +2465,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2481,7 +2481,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2498,7 +2498,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2514,7 +2514,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2530,7 +2530,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2546,7 +2546,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2562,7 +2562,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2578,7 +2578,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2593,7 +2593,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2608,7 +2608,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2623,7 +2623,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2638,7 +2638,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2653,7 +2653,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2668,7 +2668,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/1cd2fcf7d640b48e8ecc463047c5f3e3954adbd1?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a31dae805a8d92c52317c2ef8ce2c1253448cc76?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 8ba18ae80..ddc8ea216 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 @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 51a3ee3938e1b5a98728506df8d8cf6805fff13c + executionResult: 5f4acff405c444723d7406e4e462242a0f221b06 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -982,39 +982,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1543,11 +1543,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1555,21 +1553,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1606,18 +1606,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1643,10 +1643,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: @@ -1672,14 +1672,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1698,39 +1698,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1745,24 +1745,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1795,12 +1795,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2249,7 +2249,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2264,7 +2264,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2279,7 +2279,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2296,7 +2296,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2312,7 +2312,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2327,7 +2327,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2342,7 +2342,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2357,7 +2357,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2373,7 +2373,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2389,7 +2389,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2405,7 +2405,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2421,7 +2421,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2437,7 +2437,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2454,7 +2454,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2470,7 +2470,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2486,7 +2486,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2502,7 +2502,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2518,7 +2518,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2534,7 +2534,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2549,7 +2549,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2564,7 +2564,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2579,7 +2579,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2594,7 +2594,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2609,7 +2609,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2624,7 +2624,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/51a3ee3938e1b5a98728506df8d8cf6805fff13c?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5f4acff405c444723d7406e4e462242a0f221b06?offset=0&limit=1 body: null headers: Accept: @@ -2823,7 +2823,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: b0dd7e3be2da99d9cd8214f6730860a032a4a013 + executionResult: 8668a83ad6934394f3cbe63cd89e9fd0ceed65e6 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -3700,39 +3700,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -4261,11 +4261,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -4273,21 +4271,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -4324,18 +4324,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -4361,10 +4361,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: @@ -4390,14 +4390,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -4416,39 +4416,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -4463,24 +4463,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -4513,12 +4513,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -4967,7 +4967,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -4982,7 +4982,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -4997,7 +4997,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -5014,7 +5014,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -5030,7 +5030,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -5045,7 +5045,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -5060,7 +5060,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -5075,7 +5075,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -5091,7 +5091,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -5107,7 +5107,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -5123,7 +5123,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -5139,7 +5139,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -5155,7 +5155,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -5172,7 +5172,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -5188,7 +5188,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5204,7 +5204,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5220,7 +5220,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5236,7 +5236,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -5252,7 +5252,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -5267,7 +5267,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -5282,7 +5282,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -5297,7 +5297,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -5312,7 +5312,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -5327,7 +5327,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -5342,7 +5342,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/b0dd7e3be2da99d9cd8214f6730860a032a4a013?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8668a83ad6934394f3cbe63cd89e9fd0ceed65e6?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 11d681dd3..1be0cf598 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_label_series.yaml @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: ddf23ea306987c64464fde942eb96e9e82ccc64a + executionResult: 77b7aefe627a7e9f665f7dbf906abc9e1e7a52e3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -989,39 +989,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1550,11 +1550,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1562,21 +1560,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1613,18 +1613,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1650,10 +1650,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: @@ -1679,14 +1679,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1705,39 +1705,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1752,24 +1752,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1802,12 +1802,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2256,7 +2256,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2271,7 +2271,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2286,7 +2286,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2303,7 +2303,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2319,7 +2319,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2334,7 +2334,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2349,7 +2349,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2364,7 +2364,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2380,7 +2380,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2396,7 +2396,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2412,7 +2412,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2428,7 +2428,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2444,7 +2444,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2461,7 +2461,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2477,7 +2477,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2493,7 +2493,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2509,7 +2509,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2525,7 +2525,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2541,7 +2541,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2556,7 +2556,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2571,7 +2571,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2601,7 +2601,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2616,7 +2616,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2631,7 +2631,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/ddf23ea306987c64464fde942eb96e9e82ccc64a?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/77b7aefe627a7e9f665f7dbf906abc9e1e7a52e3?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 90491e57a..fe9dff576 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 @@ -132,7 +132,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: ba725887f3c47d49ab254689b91086f0a865a2ce + executionResult: 9229842d3aa424dc60219ed05b279e6457a1b717 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1009,39 +1009,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1570,11 +1570,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1582,21 +1580,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1633,18 +1633,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1670,10 +1670,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: @@ -1699,14 +1699,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1725,39 +1725,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1772,24 +1772,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1822,12 +1822,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2276,7 +2276,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2291,7 +2291,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2306,7 +2306,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2323,7 +2323,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2339,7 +2339,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2354,7 +2354,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2369,7 +2369,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2384,7 +2384,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2400,7 +2400,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2416,7 +2416,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2432,7 +2432,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2448,7 +2448,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2464,7 +2464,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2481,7 +2481,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2497,7 +2497,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2513,7 +2513,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2529,7 +2529,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2545,7 +2545,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2561,7 +2561,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2576,7 +2576,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2591,7 +2591,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2606,7 +2606,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2621,7 +2621,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2636,7 +2636,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2651,7 +2651,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/ba725887f3c47d49ab254689b91086f0a865a2ce?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9229842d3aa424dc60219ed05b279e6457a1b717?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 e0da27adb..85918daeb 100644 --- a/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/not_indexed_metric_series.yaml @@ -105,7 +105,7 @@ interactions: - localIdentifier: 27c4b665b9d047b1a66a149714f1c596 localIdentifier: dim_0 links: - executionResult: 51a3ee3938e1b5a98728506df8d8cf6805fff13c + executionResult: 5f4acff405c444723d7406e4e462242a0f221b06 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -982,39 +982,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1543,11 +1543,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1555,21 +1553,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1606,18 +1606,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1643,10 +1643,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: @@ -1672,14 +1672,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1698,39 +1698,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1745,24 +1745,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1795,12 +1795,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2249,7 +2249,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2264,7 +2264,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2279,7 +2279,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2296,7 +2296,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2312,7 +2312,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2327,7 +2327,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2342,7 +2342,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2357,7 +2357,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2373,7 +2373,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2389,7 +2389,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2405,7 +2405,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2421,7 +2421,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2437,7 +2437,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2454,7 +2454,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2470,7 +2470,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2486,7 +2486,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2502,7 +2502,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2518,7 +2518,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2534,7 +2534,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2549,7 +2549,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2564,7 +2564,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2579,7 +2579,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2594,7 +2594,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2609,7 +2609,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2624,7 +2624,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/51a3ee3938e1b5a98728506df8d8cf6805fff13c?offset=0&limit=1 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/5f4acff405c444723d7406e4e462242a0f221b06?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 a9ebaa9c3..c568fc2d2 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 @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: a144c0bff8045a57ad136b06edfe88676d8b5b04 + executionResult: d1558dc330a8d1d2b966bab869461006d6b2ec94 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1006,39 +1006,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1567,11 +1567,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1579,21 +1577,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1630,18 +1630,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1667,10 +1667,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: @@ -1696,14 +1696,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1722,39 +1722,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1769,24 +1769,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1819,12 +1819,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2273,7 +2273,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2288,7 +2288,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2303,7 +2303,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2320,7 +2320,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2336,7 +2336,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2351,7 +2351,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2366,7 +2366,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2381,7 +2381,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2397,7 +2397,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2413,7 +2413,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2429,7 +2429,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2445,7 +2445,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2461,7 +2461,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2478,7 +2478,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2494,7 +2494,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2526,7 +2526,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2542,7 +2542,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2558,7 +2558,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2573,7 +2573,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2588,7 +2588,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2603,7 +2603,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2618,7 +2618,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2633,7 +2633,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2648,7 +2648,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/a144c0bff8045a57ad136b06edfe88676d8b5b04?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d1558dc330a8d1d2b966bab869461006d6b2ec94?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 24d4a46a4..6e482c610 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_filtered_series.yaml @@ -148,7 +148,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: e0509b761e06565fa9e6e83aee7c1b24108666d1 + executionResult: 20656b8876908b0515f35ee57e06aa601b4ad899 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1025,39 +1025,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1586,11 +1586,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1598,21 +1596,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1649,18 +1649,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1686,10 +1686,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: @@ -1715,14 +1715,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1741,39 +1741,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1788,24 +1788,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1838,12 +1838,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2292,7 +2292,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2307,7 +2307,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2322,7 +2322,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2339,7 +2339,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2355,7 +2355,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2370,7 +2370,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2385,7 +2385,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2400,7 +2400,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2416,7 +2416,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2432,7 +2432,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2448,7 +2448,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2464,7 +2464,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2480,7 +2480,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2497,7 +2497,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2513,7 +2513,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2529,7 +2529,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2545,7 +2545,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2561,7 +2561,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2577,7 +2577,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2592,7 +2592,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2607,7 +2607,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2622,7 +2622,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2637,7 +2637,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2652,7 +2652,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2667,7 +2667,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/e0509b761e06565fa9e6e83aee7c1b24108666d1?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/20656b8876908b0515f35ee57e06aa601b4ad899?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 11d681dd3..1be0cf598 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_label_series.yaml @@ -112,7 +112,7 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: ddf23ea306987c64464fde942eb96e9e82ccc64a + executionResult: 77b7aefe627a7e9f665f7dbf906abc9e1e7a52e3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -989,39 +989,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1550,11 +1550,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1562,21 +1560,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1613,18 +1613,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1650,10 +1650,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: @@ -1679,14 +1679,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1705,39 +1705,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1752,24 +1752,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1802,12 +1802,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2256,7 +2256,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2271,7 +2271,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2286,7 +2286,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2303,7 +2303,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2319,7 +2319,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2334,7 +2334,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2349,7 +2349,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2364,7 +2364,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2380,7 +2380,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2396,7 +2396,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2412,7 +2412,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2428,7 +2428,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2444,7 +2444,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2461,7 +2461,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2477,7 +2477,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2493,7 +2493,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2509,7 +2509,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2525,7 +2525,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2541,7 +2541,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2556,7 +2556,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2571,7 +2571,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2586,7 +2586,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2601,7 +2601,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2616,7 +2616,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2631,7 +2631,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/ddf23ea306987c64464fde942eb96e9e82ccc64a?offset=0&limit=1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/77b7aefe627a7e9f665f7dbf906abc9e1e7a52e3?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 308b672f9..c568fc2d2 100644 --- a/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml +++ b/gooddata-pandas/tests/series/fixtures/simple_index_metric_series.yaml @@ -129,7 +129,7 @@ interactions: type: label localIdentifier: dim_1 links: - executionResult: a144c0bff8045a57ad136b06edfe88676d8b5b04 + executionResult: d1558dc330a8d1d2b966bab869461006d6b2ec94 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo/attributes?include=labels%2Cdatasets&page=0&size=500 @@ -1006,39 +1006,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1567,11 +1567,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1579,21 +1577,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -1630,18 +1630,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1667,10 +1667,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: @@ -1696,14 +1696,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1722,39 +1722,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1782,11 +1782,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1819,12 +1819,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2273,7 +2273,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2288,7 +2288,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2303,7 +2303,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2320,7 +2320,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2336,7 +2336,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2351,7 +2351,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2366,7 +2366,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2381,7 +2381,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2397,7 +2397,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2413,7 +2413,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2429,7 +2429,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2445,7 +2445,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2461,7 +2461,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2478,7 +2478,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2494,7 +2494,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2510,7 +2510,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2526,7 +2526,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2542,7 +2542,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2558,7 +2558,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2573,7 +2573,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2588,7 +2588,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2603,7 +2603,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2618,7 +2618,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2633,7 +2633,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -2648,7 +2648,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/a144c0bff8045a57ad136b06edfe88676d8b5b04?offset=0%2C0&limit=1%2C1000 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d1558dc330a8d1d2b966bab869461006d6b2ec94?offset=0%2C0&limit=1%2C1000 body: null headers: Accept: diff --git a/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py b/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py index 867c76a53..fc58ea652 100644 --- a/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py +++ b/gooddata-sdk/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py @@ -13,6 +13,7 @@ from gooddata_api_client.model.declarative_fact import DeclarativeFact from gooddata_api_client.model.declarative_label import DeclarativeLabel from gooddata_api_client.model.declarative_reference import DeclarativeReference +from gooddata_api_client.model.declarative_reference_source import DeclarativeReferenceSource from gooddata_api_client.model.declarative_workspace_data_filter_column import DeclarativeWorkspaceDataFilterColumn from gooddata_sdk.catalog.base import Base from gooddata_sdk.catalog.identifier import CatalogGrainIdentifier, CatalogLabelIdentifier, CatalogReferenceIdentifier @@ -125,8 +126,9 @@ def client_class() -> Type[DeclarativeLabel]: class CatalogDeclarativeReference(Base): identifier: CatalogReferenceIdentifier multivalue: bool - source_columns: List[str] + source_columns: Optional[List[str]] = None source_column_data_types: Optional[List[str]] = None + sources: Optional[List[CatalogDeclarativeReferenceSource]] = None @staticmethod def client_class() -> Type[DeclarativeReference]: @@ -141,3 +143,14 @@ class CatalogDeclarativeWorkspaceDataFilterColumn(Base): @staticmethod def client_class() -> Type[DeclarativeWorkspaceDataFilterColumn]: return DeclarativeWorkspaceDataFilterColumn + + +@attr.s +class CatalogDeclarativeReferenceSource(Base): + column: str + target: CatalogGrainIdentifier + data_type: Optional[str] = None + + @staticmethod + def client_class() -> Type[DeclarativeReferenceSource]: + return DeclarativeReferenceSource diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml index e67bf2440..efceaeb34 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/bigquery.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 36edc608333de0ac + traceId: 00c2cb6086d2ba2d - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -186,9 +186,9 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -281,9 +281,9 @@ interactions: value: KEY_ID - name: projectId value: PROJECT_ID - name: Test type: BIGQUERY schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: 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 3872c8ce7..f1b71b918 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 @@ -82,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: 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 0a4d03586..160867691 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 @@ -221,7 +221,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_put_declarative_data_sources_connection.yaml index 3ab1b1390..22dd443f6 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 @@ -298,7 +298,7 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 6 + simpleSelect: 1 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 dc012339c..cd62b11f2 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 @@ -81,7 +81,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 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-10-24 11:00 + createdAt: 2023-10-30 12:39 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -558,7 +558,7 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: d0193aad2d9cbbc1c4055bda7e301907b526c72b + executionResult: e67cc0e714e9bcd62a8b3db03e009ad30ba02aa0 - request: method: POST uri: http://localhost:3000/api/v1/actions/dataSources/demo-test-ds/uploadNotification @@ -732,4 +732,4 @@ interactions: name: '# of Active Customers' localIdentifier: dim_0 links: - executionResult: 8b5ee6868f054baecbc721964001a5da7b14608b + executionResult: 77334b2b6a9188b36d385ec56cd67ab14ddf52f7 diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml index 733be1133..0ed96f0ba 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_and_load_and_put_declarative_pdm.yaml @@ -347,7 +347,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -695,7 +695,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -847,7 +847,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1189,6 +1189,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/demo_store_declarative_data_sources.yaml index 0c1dbd878..39bae9700 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 @@ -577,7 +577,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -729,6 +729,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 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 d70aca052..a4e51159d 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 @@ -381,5 +381,5 @@ interactions: body: string: queryDurationMillis: - simpleSelect: 1 + simpleSelect: 0 successful: true diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml index 927b9de2c..8781ff48d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/dremio.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 280a5b6f8f95635c + traceId: 85394fb032ac3855 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,9 +177,9 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO schema: '' + name: Dremio links: self: http://localhost:3000/api/v1/entities/dataSources/dremio - request: @@ -264,9 +264,9 @@ interactions: enableCaching: true cachePath: - $scratch - name: Dremio type: DREMIO schema: '' + name: Dremio links: self: http://localhost:3000/api/v1/entities/dataSources/dremio - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml index 680adffb2..3d08d8b42 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/patch.yaml @@ -82,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4363618c1660c057 + traceId: 44c5d2d4d89a6253 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,9 +265,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -352,9 +352,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -439,9 +439,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -535,9 +535,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -622,9 +622,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml index 2703ed329..9fc22f991 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/redshift.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 8fc2b0aaa5667a8d + traceId: 906792a2e16f6bbe - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -258,9 +258,9 @@ interactions: url: jdbc:redshift://aws.endpoint:5439/demo?autosave=true username: demouser enableCaching: false - name: Test2 type: REDSHIFT schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml index 9f54123ae..54bb00ef3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/snowflake.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a57957079b238f20 + traceId: 7de97d0cc8a27a9f - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -177,9 +177,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -264,9 +264,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: SNOWFLAKE schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: 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 112556d51..3bd70b9e9 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 @@ -82,9 +82,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -167,7 +167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 738929de60c131f9 + traceId: 226d84f8b4ce0245 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -265,9 +265,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -352,9 +352,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -439,9 +439,9 @@ interactions: enableCaching: true cachePath: - cache_schema - name: Test type: POSTGRESQL schema: demo + name: Test links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -537,9 +537,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -622,9 +622,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds - id: test @@ -633,9 +633,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test links: @@ -788,9 +788,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: diff --git a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml index 7cc6eba49..22a84d6b9 100644 --- a/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/data_sources/vertica.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 905a35975ec309ea + traceId: 4995ca396cc1dcc1 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: @@ -258,9 +258,9 @@ interactions: url: jdbc:vertica://localhost:5433/demo?TLSmode=false username: demouser enableCaching: false - name: Test2 type: VERTICA schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/test - request: diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml index 32cacbc03..c22cc44f0 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/create_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4c25feea48336362 + traceId: 13fb596f46eefa3c - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks 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 575b74b74..192f72ed5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_csp_directive.yaml @@ -235,7 +235,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a5f9bc0449d60752 + traceId: 2fb43c1f11f74f25 - 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 b1b2ec4b9..82a58c43b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a355515a0a174d79 + traceId: 4d4ac3e7e0aa8878 - 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: 224a69e4d926b532 + traceId: f4de30221f01ae03 - 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 dfad73134..624696ca1 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/delete_organization_setting.yaml @@ -237,7 +237,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: da90945b562c4e5b + traceId: 9feb6f80199bc644 - 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_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml index 3c5987c55..9b7e95828 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/list_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: bc4d3be2c579cbb2 + traceId: 4353cdd3887ca60e - 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: d7a7a6e0dc87078d + traceId: 1a524b8187ddcf86 - request: method: POST uri: http://localhost:3000/api/v1/entities/jwks diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml index 4c70fccb5..fbd0b2528 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/organization.yaml @@ -151,6 +151,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 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 058a8cdcd..3399367f8 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_allowed_origins.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -166,7 +166,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 headers: Accept: - application/vnd.gooddata.api+json @@ -246,7 +246,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -399,7 +399,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -552,7 +552,7 @@ interactions: hostname: localhost allowedOrigins: - https://test.com - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -566,7 +566,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 headers: Accept: - application/vnd.gooddata.api+json @@ -645,7 +645,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -797,6 +797,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml index b1f1891c2..608393f8e 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_jwk.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 2fa139db18d6354b + traceId: f7d4566206974ad3 - 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 c49e98e75..88cf3b44f 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_name.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -317,7 +317,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 headers: Accept: - application/vnd.gooddata.api+json @@ -396,7 +396,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -548,7 +548,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -700,7 +700,7 @@ interactions: name: test_organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -714,7 +714,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 headers: Accept: - application/vnd.gooddata.api+json @@ -793,7 +793,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -945,6 +945,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 eda469607..4ddbf112d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/organization/update_oidc_settings.yaml @@ -151,7 +151,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: 515fa3fc-96d4-40cd-b7ea-437be9c24f17 + oauthClientId: 133f8f79-0218-48fb-800a-294052c8c0f4 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -797,7 +797,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -949,6 +949,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default diff --git a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml index ba3e78c4e..275a94465 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/create_delete_user.yaml @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 659e487c7b87344b + traceId: fe58993edad6d3e1 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -481,7 +481,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -492,7 +492,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -683,7 +683,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -694,7 +694,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 e237dd00f..c0739a2a9 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 @@ -200,7 +200,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 0baf22563b20d81c + traceId: eb92e4070ab5196d - request: method: POST uri: http://localhost:3000/api/v1/entities/userGroups 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 8c5c79564..d3df4c62b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 aba9084f5..915f981fa 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 @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 b8b6a1f33..3cf00e36a 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/get_user.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: diff --git a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml index bca20a3dd..302b2b0d6 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/list_users.yaml @@ -89,7 +89,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -100,7 +100,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 d55a93def..7a9300be8 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 @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -264,38 +264,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + 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: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs 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: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -878,14 +878,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 72fc5c0f0..0b9a3feeb 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 @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -185,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -196,7 +196,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -435,7 +435,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -636,14 +636,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 36541ddd5..445a280e8 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 @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -189,38 +189,38 @@ interactions: body: string: data: - - id: admin + - id: demo2 type: user - attributes: {} + attributes: + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + 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: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs 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 @@ -524,7 +524,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -776,14 +776,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 6a7803e1b..c0d4329b8 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 @@ -176,14 +176,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -277,7 +277,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -288,7 +288,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -726,14 +726,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 bc2d9ca8a..ea8939764 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/put_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -185,7 +185,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -196,7 +196,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -298,14 +298,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -458,14 +458,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -484,14 +484,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 952e9cc21..49bd5d95b 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 @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -192,7 +192,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -213,7 +213,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -404,14 +404,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs userGroups: - id: demoGroup type: userGroup @@ -581,14 +581,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -624,14 +624,14 @@ interactions: settings: [] permissions: [] - id: demo - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs userGroups: - id: adminGroup type: userGroup settings: [] permissions: [] - id: demo2 - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 8a6d9cadc..2846ca003 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 @@ -335,7 +335,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -487,6 +487,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 09f9367dc..b6b6583ca 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/store_declarative_users.yaml @@ -84,14 +84,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -180,14 +180,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -343,7 +343,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -495,6 +495,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 ae1be6f8b..d764d338b 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 @@ -101,14 +101,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -214,14 +214,14 @@ interactions: userGroups: - id: adminGroup type: userGroup - - authId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + - authId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs id: demo permissions: [] settings: [] userGroups: - id: adminGroup type: userGroup - - authId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + - authId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs id: demo2 permissions: [] settings: [] @@ -377,7 +377,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -529,6 +529,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 b8b6a1f33..3cf00e36a 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 @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 b8b6a1f33..3cf00e36a 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 @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 b8b6a1f33..3cf00e36a 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 @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 b8b6a1f33..3cf00e36a 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 @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs 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 25bebf10d..2eb7bd632 100644 --- a/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/users/update_user.yaml @@ -79,7 +79,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -171,7 +171,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -533,7 +533,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 502ee5b7e1c71f0b + traceId: d951c3d1f89823e6 - request: method: POST uri: http://localhost:3000/api/v1/entities/users @@ -542,7 +542,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: @@ -623,7 +623,7 @@ interactions: id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/users/demo2 - request: @@ -713,7 +713,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs relationships: userGroups: data: @@ -724,7 +724,7 @@ interactions: - id: demo2 type: user attributes: - authenticationId: CiQ3NDkyOWY0OS0xNjQ2LTQxOWEtOWY0OC1iNjE1ZjAyNTk0NzcSBWxvY2Fs + authenticationId: CiQyZjBlZDM1ZS0zMTZmLTQ3MmEtOTc0Yi00MmRmYTFjOGNjMmYSBWxvY2Fs relationships: userGroups: data: 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 bd675aec7..417f31a0c 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 @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -166,7 +166,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -316,7 +316,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -327,7 +327,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -337,7 +337,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -386,7 +386,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -395,7 +395,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -405,7 +405,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -415,7 +415,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -425,7 +425,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -434,7 +434,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -443,7 +443,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -453,7 +453,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -463,7 +463,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -473,7 +473,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -483,7 +483,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -493,7 +493,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -503,7 +503,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -513,7 +513,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -524,7 +524,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -534,7 +534,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -544,7 +544,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -554,7 +554,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -563,7 +563,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -572,7 +572,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -581,7 +581,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -590,7 +590,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -599,7 +599,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -608,7 +608,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -673,7 +673,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -749,7 +749,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -828,7 +828,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -887,7 +887,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -944,7 +944,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -997,7 +997,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1072,7 +1072,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1129,7 +1129,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1228,7 +1228,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1284,7 +1284,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1323,7 +1323,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1379,7 +1379,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1447,7 +1447,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1504,7 +1504,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1561,7 +1561,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1692,7 +1692,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1731,7 +1731,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1881,7 +1881,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1892,7 +1892,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1902,7 +1902,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1951,7 +1951,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1960,7 +1960,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1970,7 +1970,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1980,7 +1980,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1990,7 +1990,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1999,7 +1999,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2008,7 +2008,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2018,7 +2018,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2028,7 +2028,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2038,7 +2038,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2048,7 +2048,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2058,7 +2058,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2068,7 +2068,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2078,7 +2078,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2089,7 +2089,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2099,7 +2099,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2109,7 +2109,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2119,7 +2119,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2128,7 +2128,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2137,7 +2137,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2146,7 +2146,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2155,7 +2155,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2164,7 +2164,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2173,7 +2173,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2238,7 +2238,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2314,7 +2314,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2393,7 +2393,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2452,7 +2452,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2509,7 +2509,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2562,7 +2562,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2637,7 +2637,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2694,7 +2694,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2793,7 +2793,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2849,7 +2849,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2888,7 +2888,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2944,7 +2944,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3012,7 +3012,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3069,7 +3069,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3126,7 +3126,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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 687fdedca..6ca9e52d2 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspace_content/demo_catalog.yaml @@ -878,39 +878,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -924,14 +924,14 @@ interactions: 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 links: @@ -1454,18 +1454,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1491,10 +1491,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: @@ -1520,14 +1520,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1546,39 +1546,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1593,24 +1593,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1643,12 +1643,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1669,11 +1669,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1681,21 +1679,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2145,7 +2145,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2160,7 +2160,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2192,7 +2192,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2208,7 +2208,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2223,7 +2223,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2238,7 +2238,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2253,7 +2253,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2269,7 +2269,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2285,7 +2285,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2301,7 +2301,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2317,7 +2317,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2333,7 +2333,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2350,7 +2350,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2366,7 +2366,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2382,7 +2382,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2398,7 +2398,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2414,7 +2414,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2430,7 +2430,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2445,7 +2445,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2490,7 +2490,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2505,7 +2505,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER 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 823ed5346..c54fcfc59 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 @@ -878,39 +878,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -924,14 +924,14 @@ interactions: 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 links: @@ -1454,18 +1454,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -1491,10 +1491,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: @@ -1520,14 +1520,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -1546,39 +1546,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -1593,24 +1593,24 @@ interactions: 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: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -1643,12 +1643,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -1669,11 +1669,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -1681,21 +1679,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -2145,7 +2145,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -2160,7 +2160,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -2175,7 +2175,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -2192,7 +2192,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -2208,7 +2208,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -2223,7 +2223,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -2238,7 +2238,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -2253,7 +2253,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2269,7 +2269,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2285,7 +2285,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -2301,7 +2301,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -2317,7 +2317,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -2333,7 +2333,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -2350,7 +2350,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -2366,7 +2366,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2382,7 +2382,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2398,7 +2398,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2414,7 +2414,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -2430,7 +2430,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -2445,7 +2445,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -2460,7 +2460,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -2475,7 +2475,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -2490,7 +2490,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -2505,7 +2505,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER 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 c1e7516b6..68e793717 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 @@ -81,7 +81,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -111,7 +111,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -159,7 +159,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -174,7 +174,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER 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 3716fec4d..70b9dede8 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 @@ -101,23 +101,23 @@ interactions: type: dataset - - id: customer_id type: attribute - - id: percent_revenue_from_top_10_percent_customers + - id: amount_of_top_customers type: metric - - id: customer_id type: attribute - - id: percent_revenue_from_top_10_customers + - id: revenue_per_customer type: metric - - id: customer_id type: attribute - - id: amount_of_top_customers + - id: percent_revenue_from_top_10_customers type: metric - - id: customer_id type: attribute - - id: revenue_per_customer + - id: amount_of_active_customers type: metric - - id: customer_id type: attribute - - id: amount_of_active_customers + - id: percent_revenue_from_top_10_percent_customers type: metric - - id: customer_name type: attribute @@ -187,15 +187,11 @@ interactions: type: attribute - id: product_revenue_comparison-over_previous_period type: visualizationObject - - - id: order_id - type: attribute - - id: order_lines - type: dataset - - id: order_id type: attribute - id: amount_of_orders type: metric - - - id: order_line_id + - - id: order_id type: attribute - id: order_lines type: dataset @@ -203,26 +199,30 @@ 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_from_top_10_products + type: metric - - id: product_id type: attribute - id: percent_revenue_per_product type: metric - - id: product_id type: attribute - - id: percent_revenue_from_top_10_products + - id: percent_revenue_from_top_10_percent_products type: metric - - id: product_id type: attribute - id: products type: dataset - - - id: product_id - type: attribute - - id: percent_revenue_from_top_10_percent_products - type: metric - - id: product_name type: attribute - id: products @@ -267,21 +267,17 @@ interactions: type: dataset - id: customers_trend type: visualizationObject - - - id: date - type: dataset - - id: revenue_by_category_trend - type: visualizationObject - - id: date type: dataset - id: percentage_of_customers_by_region type: visualizationObject - - id: date type: dataset - - id: product_and_category - type: analyticalDashboard + - id: revenue_trend + type: visualizationObject - - id: date type: dataset - - id: product_revenue_comparison-over_previous_period + - id: revenue_by_category_trend type: visualizationObject - - id: date type: dataset @@ -289,7 +285,11 @@ interactions: type: dataset - - id: date type: dataset - - id: revenue_trend + - id: product_and_category + type: analyticalDashboard + - - id: date + type: dataset + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: products type: dataset @@ -299,10 +299,6 @@ interactions: type: fact - id: campaign_channels type: dataset - - - id: price - type: fact - - id: revenue_and_quantity_by_product_and_category - type: visualizationObject - - id: price type: fact - id: order_lines @@ -311,7 +307,7 @@ interactions: type: fact - id: order_amount type: metric - - - id: quantity + - - id: price type: fact - id: revenue_and_quantity_by_product_and_category type: visualizationObject @@ -323,6 +319,10 @@ interactions: type: fact - id: order_amount type: metric + - - id: quantity + type: fact + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject - - id: spend type: fact - id: campaign_channels @@ -349,7 +349,7 @@ interactions: type: attribute - - id: campaign_name type: label - - id: campaign_spend + - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject - - id: campaign_name type: label @@ -361,7 +361,7 @@ interactions: type: attribute - - id: campaign_name type: label - - id: revenue_per_usd_vs_spend_by_campaign + - id: campaign_spend type: visualizationObject - - id: customer_id type: label @@ -373,11 +373,11 @@ interactions: type: attribute - - id: customer_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - 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 @@ -417,16 +417,12 @@ interactions: type: attribute - - id: date.month type: label - - id: customers_trend - type: visualizationObject + - id: date.month + type: attribute - - id: date.month type: label - - id: revenue_by_category_trend + - id: customers_trend type: visualizationObject - - - id: date.month - type: label - - id: date.month - type: attribute - - id: date.month type: label - id: percentage_of_customers_by_region @@ -435,6 +431,10 @@ interactions: type: label - id: revenue_trend type: visualizationObject + - - id: date.month + type: label + - id: revenue_by_category_trend + type: visualizationObject - - id: date.monthOfYear type: label - id: date.monthOfYear @@ -471,6 +471,10 @@ interactions: type: label - id: order_line_id type: attribute + - - id: order_status + type: label + - id: order_status + type: attribute - - id: order_status type: label - id: amount_of_valid_orders @@ -479,66 +483,54 @@ interactions: type: label - id: revenue type: metric - - - id: order_status - type: label - - id: order_status - type: attribute - - id: product_id type: label - id: product_id type: attribute - - id: product_name type: label - - id: product_breakdown + - id: revenue_by_product type: visualizationObject - - id: product_name type: label - - id: top_10_products + - id: product_revenue_comparison-over_previous_period type: visualizationObject - - id: product_name type: label - - id: product_name - type: attribute + - id: product_breakdown + type: visualizationObject - - id: product_name type: label - - id: product_revenue_comparison-over_previous_period + - id: product_categories_pie_chart type: visualizationObject - - id: product_name type: label - - id: revenue_and_quantity_by_product_and_category + - id: top_10_products type: visualizationObject - - id: product_name type: label - - id: product_saleability + - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject - - id: product_name type: label - - id: product_categories_pie_chart + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - id: product_name type: label - - id: revenue_by_product - type: visualizationObject + - id: product_name + type: attribute - - id: product_name type: label - - id: percent_revenue_per_product_by_customer_and_category + - id: product_saleability type: visualizationObject - - id: products.category type: label - - id: revenue-clothing + - id: revenue-electronic type: metric - - id: products.category type: label - - id: product_breakdown - type: visualizationObject - - - id: products.category - type: label - - id: revenue_by_category_trend - type: visualizationObject - - - id: products.category - type: label - - id: top_10_products - type: visualizationObject + - id: revenue-clothing + type: metric - - id: products.category type: label - id: product_revenue_comparison-over_previous_period @@ -547,30 +539,38 @@ interactions: type: label - id: products.category type: attribute - - - id: products.category - type: label - - id: revenue-electronic - type: metric - - id: products.category type: label - id: revenue-outdoor type: metric - - id: products.category type: label - - id: revenue-home - type: metric + - id: product_breakdown + type: visualizationObject - - id: products.category type: label - - id: revenue_and_quantity_by_product_and_category + - id: revenue_by_category_trend type: visualizationObject - - id: products.category type: label - id: product_categories_pie_chart type: visualizationObject + - - id: products.category + type: label + - id: top_10_products + type: visualizationObject + - - id: products.category + type: label + - 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 + - id: revenue_and_quantity_by_product_and_category + type: visualizationObject - - id: region type: label - id: region @@ -603,14 +603,14 @@ interactions: type: metric - id: customers_trend type: visualizationObject - - - id: amount_of_active_customers - type: metric - - id: percentage_of_customers_by_region - type: visualizationObject - - id: amount_of_active_customers type: metric - id: amount_of_top_customers type: metric + - - id: amount_of_active_customers + type: metric + - id: percentage_of_customers_by_region + type: visualizationObject - - id: amount_of_orders type: metric - id: amount_of_valid_orders @@ -625,7 +625,7 @@ interactions: type: visualizationObject - - id: campaign_spend type: metric - - id: campaign_spend + - id: revenue_per_usd_vs_spend_by_campaign type: visualizationObject - - id: campaign_spend type: metric @@ -633,7 +633,7 @@ interactions: type: metric - - id: campaign_spend type: metric - - id: revenue_per_usd_vs_spend_by_campaign + - id: campaign_spend type: visualizationObject - - id: order_amount type: metric @@ -647,6 +647,10 @@ interactions: type: metric - id: percent_revenue_per_product_by_customer_and_category type: visualizationObject + - - id: revenue + type: metric + - id: revenue_by_product + type: visualizationObject - - id: revenue type: metric - id: revenue-clothing @@ -655,6 +659,14 @@ interactions: type: metric - id: percent_revenue_in_category type: metric + - - id: revenue + type: metric + - id: revenue_trend + type: visualizationObject + - - id: revenue + type: metric + - id: revenue_per_customer + type: metric - - id: revenue type: metric - id: product_breakdown @@ -665,7 +677,11 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: revenue_per_customer + - id: product_categories_pie_chart + type: visualizationObject + - - id: revenue + type: metric + - id: amount_of_top_customers type: metric - - id: revenue type: metric @@ -673,7 +689,11 @@ interactions: type: metric - - id: revenue type: metric - - id: revenue_and_quantity_by_product_and_category + - id: percent_revenue_per_product_by_customer_and_category + type: visualizationObject + - - id: revenue + type: metric + - id: product_saleability type: visualizationObject - - id: revenue type: metric @@ -681,11 +701,11 @@ interactions: type: metric - - id: revenue type: metric - - id: total_revenue + - id: revenue-electronic type: metric - - id: revenue type: metric - - id: percent_revenue + - id: total_revenue type: metric - - id: revenue type: metric @@ -693,23 +713,23 @@ interactions: type: visualizationObject - - id: revenue type: metric - - id: amount_of_top_customers + - id: percent_revenue_from_top_10_products type: metric - - id: revenue type: metric - - id: percent_revenue_from_top_10_percent_products + - id: revenue-outdoor type: metric - - id: revenue type: metric - - id: revenue-electronic + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue type: metric - - id: revenue-outdoor + - id: revenue_top_10_percent type: metric - - id: revenue type: metric - - id: revenue_top_10_percent + - id: percent_revenue type: metric - - id: revenue type: metric @@ -717,40 +737,20 @@ interactions: type: metric - - id: revenue type: metric - - id: product_saleability - type: visualizationObject - - - id: revenue - type: metric - - id: product_categories_pie_chart + - id: revenue_and_quantity_by_product_and_category type: visualizationObject - - - id: revenue - type: metric - - id: percent_revenue_from_top_10_products - type: metric - - - id: revenue - type: metric - - id: percent_revenue_from_top_10_customers - type: metric - - id: revenue type: metric - id: revenue_top_10 type: metric - - id: revenue type: metric - - id: revenue_by_product - type: visualizationObject - - - id: revenue + - id: percent_revenue_from_top_10_customers type: metric - - id: revenue_trend - type: visualizationObject - - id: revenue type: metric - id: revenue_per_dollar_spent type: metric - - - id: revenue - type: metric - - id: percent_revenue_per_product_by_customer_and_category - type: visualizationObject - - id: revenue_per_customer type: metric - id: customers_trend @@ -761,27 +761,27 @@ interactions: type: visualizationObject - - id: revenue_top_10 type: metric - - id: top_10_products - type: visualizationObject - - - id: revenue_top_10 + - id: percent_revenue_from_top_10_products type: metric - - id: top_10_customers - type: visualizationObject - - id: revenue_top_10 type: metric - - id: percent_revenue_from_top_10_products + - id: percent_revenue_from_top_10_customers type: metric - - id: revenue_top_10 type: metric - - id: percent_revenue_from_top_10_customers + - id: top_10_customers + type: visualizationObject + - - id: revenue_top_10 type: metric + - id: top_10_products + type: visualizationObject - - id: revenue_top_10_percent type: metric - - id: percent_revenue_from_top_10_percent_customers + - id: percent_revenue_from_top_10_percent_products type: metric - - id: revenue_top_10_percent type: metric - - id: percent_revenue_from_top_10_percent_products + - id: percent_revenue_from_top_10_percent_customers type: metric - - id: total_revenue type: metric 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 0a8b78c38..fdf893baa 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 48acf9f857dc4c11 + traceId: 60e939bfd41c0142 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -645,9 +645,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -1119,9 +1119,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo username: demouser enableCaching: false - name: demo-test-ds type: POSTGRESQL schema: demo + name: demo-test-ds links: self: http://localhost:3000/api/v1/entities/dataSources/demo-test-ds links: @@ -3277,10 +3277,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -3432,34 +3432,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 eb3061dc8..3894082ed 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6ad8ab1da1321047 + traceId: ec639fb82db42cbc - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2489,7 +2489,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -6632,10 +6632,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -6787,34 +6787,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 05e1127fe..ca55b997e 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: e4b1dd9968b038d3 + traceId: 593cd3d12b773a01 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -714,7 +714,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2817,10 +2817,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2972,34 +2972,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 51ec33dbc..719054358 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: edf8d3401c0d88b6 + traceId: 55d87a2638e999d4 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2563,10 +2563,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2718,34 +2718,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 442b388e8..2ac8208de 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: a38af9f2e3b1b3d2 + traceId: 1337641ffbe20462 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2715,10 +2715,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2870,34 +2870,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 603e6b26f..4f475a789 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 @@ -127,7 +127,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -166,7 +166,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -316,7 +316,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -327,7 +327,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -337,7 +337,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -386,7 +386,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -395,7 +395,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -405,7 +405,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -415,7 +415,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -425,7 +425,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -434,7 +434,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -443,7 +443,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -453,7 +453,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -463,7 +463,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -473,7 +473,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -483,7 +483,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -493,7 +493,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -503,7 +503,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -513,7 +513,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -524,7 +524,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -534,7 +534,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -544,7 +544,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -554,7 +554,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -563,7 +563,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -572,7 +572,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -581,7 +581,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -590,7 +590,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -599,7 +599,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -608,7 +608,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -673,7 +673,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -749,7 +749,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -828,7 +828,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -887,7 +887,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -944,7 +944,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -997,7 +997,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1072,7 +1072,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1129,7 +1129,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1228,7 +1228,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1284,7 +1284,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1323,7 +1323,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1379,7 +1379,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1447,7 +1447,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1504,7 +1504,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1561,7 +1561,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1716,7 +1716,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1844,7 +1844,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1883,7 +1883,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2033,7 +2033,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2044,7 +2044,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2054,7 +2054,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2103,7 +2103,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2112,7 +2112,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2122,7 +2122,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2132,7 +2132,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2142,7 +2142,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2151,7 +2151,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2160,7 +2160,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2170,7 +2170,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2180,7 +2180,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2190,7 +2190,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2200,7 +2200,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2210,7 +2210,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2220,7 +2220,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2230,7 +2230,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2241,7 +2241,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2251,7 +2251,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2261,7 +2261,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2271,7 +2271,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2280,7 +2280,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2289,7 +2289,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2298,7 +2298,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2307,7 +2307,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2316,7 +2316,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2325,7 +2325,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2390,7 +2390,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2466,7 +2466,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2545,7 +2545,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2604,7 +2604,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2661,7 +2661,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2714,7 +2714,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2789,7 +2789,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2846,7 +2846,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2945,7 +2945,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3001,7 +3001,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3040,7 +3040,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3096,7 +3096,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3164,7 +3164,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3221,7 +3221,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3278,7 +3278,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3433,6 +3433,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 ab527876c..63e278c12 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 @@ -549,7 +549,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1099,6 +1099,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 bf54d83f8..435d6c622 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 @@ -2078,39 +2078,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -2660,18 +2660,18 @@ interactions: relationships: attributes: data: - - id: campaign_channel_id - type: attribute - id: campaign_channels.category type: attribute - id: type type: attribute + - id: campaign_channel_id + type: attribute facts: data: - - id: budget - type: fact - id: spend type: fact + - id: budget + type: fact links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/campaign_channels meta: @@ -2697,10 +2697,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: @@ -2732,14 +2732,14 @@ interactions: relationships: attributes: data: + - id: region + type: attribute - id: customer_id type: attribute - id: state type: attribute - id: customer_name type: attribute - - id: region - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/customers meta: @@ -2758,39 +2758,39 @@ interactions: type: attribute referenceProperties: - identifier: - id: date + id: campaigns type: dataset multivalue: false sources: null sourceColumns: - - date + - campaign_id sourceColumnDataTypes: - - DATE + - INT - identifier: - id: customers + id: date type: dataset multivalue: false sources: null sourceColumns: - - customer_id + - date sourceColumnDataTypes: - - INT + - DATE - identifier: - id: campaigns + id: products type: dataset multivalue: false sources: null sourceColumns: - - campaign_id + - product_id sourceColumnDataTypes: - INT - identifier: - id: products + id: customers type: dataset multivalue: false sources: null sourceColumns: - - product_id + - customer_id sourceColumnDataTypes: - INT dataSourceTableId: demo-test-ds:order_lines @@ -2818,11 +2818,11 @@ interactions: relationships: attributes: data: - - id: order_id + - id: order_status type: attribute - id: order_line_id type: attribute - - id: order_status + - id: order_id type: attribute facts: data: @@ -2855,12 +2855,12 @@ interactions: relationships: attributes: data: + - id: product_name + type: attribute - id: products.category type: attribute - id: product_id type: attribute - - id: product_name - type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/products meta: @@ -2881,11 +2881,9 @@ interactions: data: - id: date.quarter type: attribute - - id: date.minute - type: attribute - - id: date.hourOfDay + - id: date.dayOfWeek type: attribute - - id: date.minuteOfHour + - id: date.quarterOfYear type: attribute - id: date.dayOfYear type: attribute @@ -2893,21 +2891,23 @@ interactions: type: attribute - id: date.weekOfYear type: attribute - - id: date.week - type: attribute - id: date.year type: attribute - - id: date.dayOfWeek - type: attribute - id: date.hour type: attribute - - id: date.dayOfMonth + - id: date.week + type: attribute + - id: date.hourOfDay + type: attribute + - id: date.day + type: attribute + - id: date.minuteOfHour type: attribute - id: date.month type: attribute - - id: date.quarterOfYear + - id: date.dayOfMonth type: attribute - - id: date.day + - id: date.minute type: attribute links: self: http://localhost:3000/api/v1/entities/workspaces/demo/datasets/date @@ -3357,7 +3357,7 @@ interactions: attributes: title: '# of Active Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) @@ -3372,7 +3372,7 @@ interactions: attributes: title: '# of Orders' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) @@ -3387,7 +3387,7 @@ interactions: attributes: title: '# of Top Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT @@ -3404,7 +3404,7 @@ interactions: title: '# of Valid Orders' description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} @@ -3420,7 +3420,7 @@ interactions: attributes: title: Campaign Spend areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/spend}) @@ -3435,7 +3435,7 @@ interactions: attributes: title: Order Amount areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) @@ -3450,7 +3450,7 @@ interactions: attributes: title: '% Revenue' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} @@ -3465,7 +3465,7 @@ interactions: attributes: title: '% Revenue from Top 10 Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3481,7 +3481,7 @@ interactions: attributes: title: '% Revenue from Top 10% Customers' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3497,7 +3497,7 @@ interactions: attributes: title: '% Revenue from Top 10% Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10_percent}\ @@ -3513,7 +3513,7 @@ interactions: attributes: title: '% Revenue from Top 10 Products' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: "SELECT\n (SELECT {metric/revenue} WHERE (SELECT {metric/revenue_top_10}\ @@ -3529,7 +3529,7 @@ interactions: attributes: title: '% Revenue in Category' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, @@ -3545,7 +3545,7 @@ interactions: attributes: title: '% Revenue per Product' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL @@ -3562,7 +3562,7 @@ interactions: title: Revenue description: '' areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} @@ -3578,7 +3578,7 @@ interactions: attributes: title: Revenue (Clothing) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3594,7 +3594,7 @@ interactions: attributes: title: Revenue (Electronic) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3610,7 +3610,7 @@ interactions: attributes: title: Revenue (Home) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3626,7 +3626,7 @@ interactions: attributes: title: Revenue (Outdoor) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN @@ -3642,7 +3642,7 @@ interactions: attributes: title: Revenue per Customer areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) @@ -3657,7 +3657,7 @@ interactions: attributes: title: Revenue per Dollar Spent areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} @@ -3672,7 +3672,7 @@ interactions: attributes: title: Revenue / Top 10 areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) @@ -3687,7 +3687,7 @@ interactions: attributes: title: Revenue / Top 10% areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) @@ -3702,7 +3702,7 @@ interactions: attributes: title: Total Revenue areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER @@ -3717,7 +3717,7 @@ interactions: attributes: title: Total Revenue (No Filters) areRelationsValid: true - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER @@ -5102,10 +5102,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -5257,34 +5257,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 c9201dc6b..a4728b2dc 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/create_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4ef7c2cd2bc30c03 + traceId: 88af87e0abcc5042 - 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 92a5c4784..ef313acd3 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/delete_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 383256b3b387afeb + traceId: c0842f68cde6645f - 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 ab8b09d87..4c81b6c9d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_clone_workspace.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c23b83f2edb4ed25 + traceId: 1405b8f8877b2d36 - request: method: POST uri: http://localhost:3000/api/v1/entities/dataSources @@ -173,9 +173,9 @@ interactions: url: jdbc:postgresql://localhost:5432/demo?autosave=false username: demouser enableCaching: false - name: Test2 type: POSTGRESQL schema: demo + name: Test2 links: self: http://localhost:3000/api/v1/entities/dataSources/demo-bigquery-ds - request: @@ -303,7 +303,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -342,7 +342,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -492,7 +492,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -503,7 +503,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -513,7 +513,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -562,7 +562,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -571,7 +571,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -581,7 +581,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -591,7 +591,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -601,7 +601,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -610,7 +610,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -619,7 +619,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -629,7 +629,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -639,7 +639,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -649,7 +649,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -659,7 +659,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -669,7 +669,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -679,7 +679,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -689,7 +689,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -700,7 +700,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -710,7 +710,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -720,7 +720,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -730,7 +730,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -739,7 +739,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -748,7 +748,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -757,7 +757,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -766,7 +766,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -775,7 +775,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -784,7 +784,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -849,7 +849,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -925,7 +925,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1004,7 +1004,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1063,7 +1063,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1120,7 +1120,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1173,7 +1173,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1248,7 +1248,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1305,7 +1305,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1404,7 +1404,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1460,7 +1460,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1499,7 +1499,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1555,7 +1555,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1623,7 +1623,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1680,7 +1680,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1737,7 +1737,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2223,7 +2223,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: f23b1d0bea09b2b1 + traceId: ce3603a34c5b76c3 - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_clone?include=workspaces @@ -2301,7 +2301,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 4526b9d4b0c8d2fb + traceId: 1d8535e72d807395 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -2977,7 +2977,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3015,7 +3015,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3166,7 +3166,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3178,7 +3178,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3188,7 +3188,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3236,7 +3236,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3245,7 +3245,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3255,7 +3255,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3266,7 +3266,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3275,7 +3275,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3284,7 +3284,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3293,7 +3293,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3303,7 +3303,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3313,7 +3313,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3323,7 +3323,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3333,7 +3333,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3343,7 +3343,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3352,7 +3352,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3363,7 +3363,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3372,7 +3372,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3382,7 +3382,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3391,7 +3391,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3400,7 +3400,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3409,7 +3409,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3418,7 +3418,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3427,7 +3427,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3436,7 +3436,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3445,7 +3445,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3454,7 +3454,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3519,7 +3519,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3595,7 +3595,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3674,7 +3674,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3733,7 +3733,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3790,7 +3790,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3843,7 +3843,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3918,7 +3918,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3975,7 +3975,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4074,7 +4074,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4130,7 +4130,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4169,7 +4169,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4225,7 +4225,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4293,7 +4293,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4350,7 +4350,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4407,7 +4407,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4861,7 +4861,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4900,7 +4900,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5050,7 +5050,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5061,7 +5061,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5071,7 +5071,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5120,7 +5120,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5129,7 +5129,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5139,7 +5139,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5149,7 +5149,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5159,7 +5159,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5168,7 +5168,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5177,7 +5177,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5187,7 +5187,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5197,7 +5197,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5207,7 +5207,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5217,7 +5217,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5227,7 +5227,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5237,7 +5237,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5247,7 +5247,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5258,7 +5258,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5268,7 +5268,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5278,7 +5278,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5288,7 +5288,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5297,7 +5297,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5306,7 +5306,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5315,7 +5315,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5324,7 +5324,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5333,7 +5333,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5342,7 +5342,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5407,7 +5407,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5483,7 +5483,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5562,7 +5562,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5621,7 +5621,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5678,7 +5678,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5731,7 +5731,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5806,7 +5806,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5863,7 +5863,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5962,7 +5962,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6018,7 +6018,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6057,7 +6057,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6113,7 +6113,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6181,7 +6181,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6238,7 +6238,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6295,7 +6295,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6749,7 +6749,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6788,7 +6788,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6938,7 +6938,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6949,7 +6949,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6959,7 +6959,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7008,7 +7008,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7017,7 +7017,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7027,7 +7027,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7037,7 +7037,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7047,7 +7047,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7056,7 +7056,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7065,7 +7065,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7075,7 +7075,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7085,7 +7085,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7095,7 +7095,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7105,7 +7105,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7115,7 +7115,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7125,7 +7125,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7135,7 +7135,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7146,7 +7146,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7156,7 +7156,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7166,7 +7166,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7176,7 +7176,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7185,7 +7185,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7194,7 +7194,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7203,7 +7203,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7212,7 +7212,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7221,7 +7221,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7230,7 +7230,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7295,7 +7295,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7371,7 +7371,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7450,7 +7450,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7509,7 +7509,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7566,7 +7566,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7619,7 +7619,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7694,7 +7694,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7751,7 +7751,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7850,7 +7850,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7906,7 +7906,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -7945,7 +7945,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -8001,7 +8001,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -8069,7 +8069,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -8126,7 +8126,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -8183,7 +8183,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -8669,7 +8669,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 6669a494fa06fe96 + traceId: 185a421cecd6904b - request: method: GET uri: http://localhost:3000/api/v1/entities/workspaces/demo_jacek?include=workspaces @@ -8747,7 +8747,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: c75fcd701bfd7a83 + traceId: 128b9b98855e256a - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -9437,7 +9437,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9475,7 +9475,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9626,7 +9626,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9638,7 +9638,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9648,7 +9648,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9696,7 +9696,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9705,7 +9705,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9715,7 +9715,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9726,7 +9726,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9735,7 +9735,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9744,7 +9744,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9753,7 +9753,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9763,7 +9763,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9773,7 +9773,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9783,7 +9783,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9793,7 +9793,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9803,7 +9803,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9812,7 +9812,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9823,7 +9823,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9832,7 +9832,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9842,7 +9842,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9851,7 +9851,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9860,7 +9860,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9869,7 +9869,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9878,7 +9878,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9887,7 +9887,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9896,7 +9896,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9905,7 +9905,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9914,7 +9914,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -9979,7 +9979,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10055,7 +10055,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10134,7 +10134,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10193,7 +10193,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10250,7 +10250,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10303,7 +10303,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10378,7 +10378,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10435,7 +10435,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10534,7 +10534,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10590,7 +10590,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10629,7 +10629,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10685,7 +10685,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10753,7 +10753,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10810,7 +10810,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -10867,7 +10867,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11507,7 +11507,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11546,7 +11546,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11696,7 +11696,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11707,7 +11707,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11717,7 +11717,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11766,7 +11766,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11775,7 +11775,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11785,7 +11785,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11795,7 +11795,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11805,7 +11805,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11814,7 +11814,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11823,7 +11823,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11833,7 +11833,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11843,7 +11843,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11853,7 +11853,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11863,7 +11863,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11873,7 +11873,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11883,7 +11883,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11893,7 +11893,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11904,7 +11904,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11914,7 +11914,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11924,7 +11924,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11934,7 +11934,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11943,7 +11943,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11952,7 +11952,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11961,7 +11961,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11970,7 +11970,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11979,7 +11979,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -11988,7 +11988,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12053,7 +12053,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12129,7 +12129,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12208,7 +12208,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12267,7 +12267,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12324,7 +12324,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12377,7 +12377,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12452,7 +12452,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12509,7 +12509,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12608,7 +12608,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12664,7 +12664,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12703,7 +12703,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12759,7 +12759,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12827,7 +12827,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12884,7 +12884,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -12941,7 +12941,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -13704,7 +13704,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3e4a3c1a971fa604 + traceId: 82df10c8562d23e7 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -14394,7 +14394,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14432,7 +14432,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14583,7 +14583,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14595,7 +14595,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14605,7 +14605,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14653,7 +14653,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14662,7 +14662,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14672,7 +14672,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14683,7 +14683,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14692,7 +14692,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14701,7 +14701,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14710,7 +14710,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14720,7 +14720,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14730,7 +14730,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14740,7 +14740,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14750,7 +14750,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14760,7 +14760,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14769,7 +14769,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14780,7 +14780,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14789,7 +14789,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14799,7 +14799,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14808,7 +14808,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14817,7 +14817,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14826,7 +14826,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14835,7 +14835,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14844,7 +14844,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14853,7 +14853,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14862,7 +14862,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14871,7 +14871,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -14936,7 +14936,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15012,7 +15012,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15091,7 +15091,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15150,7 +15150,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15207,7 +15207,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15260,7 +15260,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15335,7 +15335,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15392,7 +15392,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15491,7 +15491,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15547,7 +15547,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15586,7 +15586,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15642,7 +15642,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15710,7 +15710,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15767,7 +15767,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -15824,7 +15824,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -17445,10 +17445,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -17600,34 +17600,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 6189a3b5b..11b7246a5 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_create_workspace.yaml @@ -197,7 +197,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 01e6922c9d474477 + traceId: 90f0a62cafb41973 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -1883,10 +1883,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2038,34 +2038,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 207b430a0..04383959d 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_delete_workspace.yaml @@ -1778,10 +1778,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -1933,34 +1933,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 5fd78822a..5f0e12446 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 @@ -373,7 +373,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1894,10 +1894,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2049,34 +2049,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 9f232e093..a9f3e76f2 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 @@ -2017,7 +2017,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -6806,10 +6806,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -6961,34 +6961,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 4cda1313f..e2d406a01 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 @@ -401,7 +401,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -1978,10 +1978,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2133,34 +2133,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 698c5844e..c9c05f53b 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 @@ -299,7 +299,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -5301,10 +5301,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -5456,34 +5456,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 62986c0b4..6dc754e92 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 @@ -1532,10 +1532,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -1687,34 +1687,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 b932d955c..ab7afd3c8 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 @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: e87d6625532755a6 + traceId: 50f40dbd8fac90b1 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -6653,10 +6653,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -6808,34 +6808,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 6602bba35..b8221eb13 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 @@ -1826,10 +1826,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -1981,34 +1981,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 4c731e595..0b07aa884 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 @@ -6966,10 +6966,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -7121,34 +7121,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 82f3d38ae..d5de0b2ad 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 @@ -303,7 +303,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -455,6 +455,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 3cfc50251..215731399 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 @@ -1863,7 +1863,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -3727,6 +3727,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 9f003baa0..44bcc398f 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 @@ -359,7 +359,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -511,6 +511,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 9363209ec..39e43e482 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 @@ -169,7 +169,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -208,7 +208,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -359,7 +359,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -370,7 +370,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -380,7 +380,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -429,7 +429,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -438,7 +438,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -448,7 +448,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -458,7 +458,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -468,7 +468,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -477,7 +477,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -486,7 +486,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -496,7 +496,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -506,7 +506,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -516,7 +516,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -526,7 +526,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -536,7 +536,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -546,7 +546,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -556,7 +556,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -567,7 +567,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -577,7 +577,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -587,7 +587,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -597,7 +597,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -606,7 +606,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -615,7 +615,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -624,7 +624,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -633,7 +633,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -642,7 +642,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -651,7 +651,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -716,7 +716,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -792,7 +792,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -871,7 +871,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -930,7 +930,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -987,7 +987,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1040,7 +1040,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1115,7 +1115,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1172,7 +1172,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1271,7 +1271,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1327,7 +1327,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1366,7 +1366,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1422,7 +1422,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1490,7 +1490,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1547,7 +1547,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1604,7 +1604,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2162,7 +2162,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2201,7 +2201,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2352,7 +2352,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2363,7 +2363,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2373,7 +2373,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2422,7 +2422,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2431,7 +2431,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2441,7 +2441,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2451,7 +2451,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2461,7 +2461,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2470,7 +2470,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2479,7 +2479,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2489,7 +2489,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2499,7 +2499,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2509,7 +2509,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2519,7 +2519,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-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2529,7 +2529,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2539,7 +2539,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2549,7 +2549,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2560,7 +2560,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2570,7 +2570,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2580,7 +2580,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2590,7 +2590,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2599,7 +2599,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2608,7 +2608,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2617,7 +2617,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2626,7 +2626,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2635,7 +2635,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2644,7 +2644,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2709,7 +2709,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2785,7 +2785,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2864,7 +2864,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2923,7 +2923,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2980,7 +2980,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3033,7 +3033,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3108,7 +3108,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3165,7 +3165,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3264,7 +3264,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3320,7 +3320,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3359,7 +3359,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3415,7 +3415,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3483,7 +3483,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3540,7 +3540,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3597,7 +3597,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:17 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4137,7 +4137,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -4289,6 +4289,6 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 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 6679d9657..48550ca8b 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/demo_translate_workspace.yaml @@ -207,7 +207,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -246,7 +246,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -396,7 +396,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -407,7 +407,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -417,7 +417,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -466,7 +466,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -475,7 +475,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -485,7 +485,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -495,7 +495,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -505,7 +505,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -514,7 +514,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -523,7 +523,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -533,7 +533,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -543,7 +543,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -553,7 +553,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -563,7 +563,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -573,7 +573,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -583,7 +583,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -593,7 +593,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -604,7 +604,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -614,7 +614,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -624,7 +624,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -634,7 +634,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -643,7 +643,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -652,7 +652,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -661,7 +661,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -670,7 +670,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -679,7 +679,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -688,7 +688,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -753,7 +753,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -829,7 +829,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -908,7 +908,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -967,7 +967,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1024,7 +1024,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1077,7 +1077,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1152,7 +1152,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1209,7 +1209,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1308,7 +1308,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1364,7 +1364,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1403,7 +1403,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1459,7 +1459,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1527,7 +1527,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1584,7 +1584,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -1641,7 +1641,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2119,7 +2119,7 @@ interactions: name: Default Organization hostname: localhost allowedOrigins: [] - oauthClientId: a7ab866a-75fd-41b8-8d28-8b5ffc3bd1ac + oauthClientId: 34272031-2ff7-43fc-a8f8-803b9fa4cc88 links: self: http://localhost:3000/api/v1/entities/admin/organizations/default - request: @@ -2327,7 +2327,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2366,7 +2366,7 @@ interactions: type: dashboardPlugin version: '2' version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2516,7 +2516,7 @@ interactions: drills: [] properties: {} version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2527,7 +2527,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2537,7 +2537,7 @@ interactions: - content: url: https://www.example.com version: '2' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2586,7 +2586,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2595,7 +2595,7 @@ interactions: - content: format: '#,##0' maql: SELECT COUNT({attribute/order_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2605,7 +2605,7 @@ interactions: format: '#,##0' maql: 'SELECT {metric/amount_of_active_customers} WHERE (SELECT {metric/revenue} BY {attribute/customer_id}) > 10000 ' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2615,7 +2615,7 @@ interactions: format: '#,##0.00' maql: SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2625,7 +2625,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/spend}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2634,7 +2634,7 @@ interactions: - content: format: $#,##0 maql: SELECT SUM({fact/price}*{fact/quantity}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2643,7 +2643,7 @@ interactions: - content: format: '#,##0.0%' maql: SELECT {metric/revenue} / {metric/total_revenue} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2653,7 +2653,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2663,7 +2663,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2673,7 +2673,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2683,7 +2683,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2693,7 +2693,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY {attribute/products.category}, ALL OTHER) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2703,7 +2703,7 @@ interactions: format: '#,##0.0%' maql: SELECT {metric/revenue} / (SELECT {metric/revenue} BY ALL {attribute/product_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2713,7 +2713,7 @@ interactions: format: $#,##0 maql: SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN ("Returned", "Canceled")) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2724,7 +2724,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2734,7 +2734,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ( "Electronics") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2744,7 +2744,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2754,7 +2754,7 @@ interactions: format: $#,##0 maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2763,7 +2763,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2772,7 +2772,7 @@ interactions: - content: format: $#,##0.0 maql: SELECT {metric/revenue} / {metric/campaign_spend} - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2781,7 +2781,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2790,7 +2790,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2799,7 +2799,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/revenue} BY ALL OTHER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2808,7 +2808,7 @@ interactions: - content: format: $#,##0 maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2873,7 +2873,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -2949,7 +2949,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3028,7 +3028,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3087,7 +3087,7 @@ interactions: stackMeasuresToPercent: true version: '2' visualizationUrl: local:area - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3144,7 +3144,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:treemap - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3197,7 +3197,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:donut - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3272,7 +3272,7 @@ interactions: visible: false version: '2' visualizationUrl: local:column - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3329,7 +3329,7 @@ interactions: enabled: true version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3428,7 +3428,7 @@ interactions: direction: asc version: '2' visualizationUrl: local:table - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3484,7 +3484,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:line - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3523,7 +3523,7 @@ interactions: properties: {} version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3579,7 +3579,7 @@ interactions: min: '0' version: '2' visualizationUrl: local:scatter - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3647,7 +3647,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3704,7 +3704,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -3761,7 +3761,7 @@ interactions: position: bottom version: '2' visualizationUrl: local:bar - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4167,7 +4167,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: e62df2f6113250ca + traceId: 1a5b9edf00aac937 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces @@ -4843,7 +4843,7 @@ interactions: id: campaign title: Campaign description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -4881,7 +4881,7 @@ interactions: version: '2' id: dashboard_plugin title: Dashboard plugin - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5032,7 +5032,7 @@ interactions: id: product_and_category title: Product & Category description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5044,7 +5044,7 @@ interactions: id: dashboard_plugin_1 title: dashboard_plugin_1 description: Testing record dashboard_plugin_1 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5054,7 +5054,7 @@ interactions: id: dashboard_plugin_2 title: dashboard_plugin_2 description: Testing record dashboard_plugin_2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5102,7 +5102,7 @@ interactions: maql: SELECT COUNT({attribute/customer_id},{attribute/order_line_id}) id: amount_of_active_customers title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5111,7 +5111,7 @@ interactions: maql: SELECT COUNT({attribute/order_id}) id: amount_of_orders title: '# of Orders' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5121,7 +5121,7 @@ interactions: BY {attribute/customer_id}) > 10000 ' id: amount_of_top_customers title: '# of Top Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5132,7 +5132,7 @@ interactions: id: amount_of_valid_orders title: '# of Valid Orders' description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5141,7 +5141,7 @@ interactions: maql: SELECT SUM({fact/spend}) id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5150,7 +5150,7 @@ interactions: maql: SELECT SUM({fact/price}*{fact/quantity}) id: order_amount title: Order Amount - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5159,7 +5159,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/total_revenue} id: percent_revenue title: '% Revenue' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5169,7 +5169,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5179,7 +5179,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5189,7 +5189,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5199,7 +5199,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5209,7 +5209,7 @@ interactions: ALL OTHER) id: percent_revenue_in_category title: '% Revenue in Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5218,7 +5218,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-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5229,7 +5229,7 @@ interactions: id: revenue title: Revenue description: '' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5238,7 +5238,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Clothing") id: revenue-clothing title: Revenue (Clothing) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5248,7 +5248,7 @@ interactions: "Electronics") id: revenue-electronic title: Revenue (Electronic) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5257,7 +5257,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Home") id: revenue-home title: Revenue (Home) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5266,7 +5266,7 @@ interactions: maql: SELECT {metric/revenue} WHERE {label/products.category} IN ("Outdoor") id: revenue-outdoor title: Revenue (Outdoor) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5275,7 +5275,7 @@ interactions: maql: SELECT AVG(SELECT {metric/revenue} BY {attribute/customer_id}) id: revenue_per_customer title: Revenue per Customer - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5284,7 +5284,7 @@ interactions: maql: SELECT {metric/revenue} / {metric/campaign_spend} id: revenue_per_dollar_spent title: Revenue per Dollar Spent - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5293,7 +5293,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10) OF ({metric/revenue}) id: revenue_top_10 title: Revenue / Top 10 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5302,7 +5302,7 @@ interactions: maql: SELECT {metric/revenue} WHERE TOP(10%) OF ({metric/revenue}) id: revenue_top_10_percent title: Revenue / Top 10% - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5311,7 +5311,7 @@ interactions: maql: SELECT {metric/revenue} BY ALL OTHER id: total_revenue title: Total Revenue - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5320,7 +5320,7 @@ interactions: maql: SELECT {metric/total_revenue} WITHOUT PARENT FILTER id: total_revenue-no_filters title: Total Revenue (No Filters) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5385,7 +5385,7 @@ interactions: visualizationUrl: local:treemap id: campaign_spend title: Campaign Spend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5461,7 +5461,7 @@ interactions: visualizationUrl: local:combo2 id: customers_trend title: Customers Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5540,7 +5540,7 @@ interactions: visualizationUrl: local:table id: percent_revenue_per_product_by_customer_and_category title: '% Revenue per Product by Customer and Category' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5599,7 +5599,7 @@ interactions: visualizationUrl: local:area id: percentage_of_customers_by_region title: Percentage of Customers by Region - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5656,7 +5656,7 @@ interactions: visualizationUrl: local:treemap id: product_breakdown title: Product Breakdown - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5709,7 +5709,7 @@ interactions: visualizationUrl: local:donut id: product_categories_pie_chart title: Product Categories Pie Chart - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5784,7 +5784,7 @@ interactions: visualizationUrl: local:column id: product_revenue_comparison-over_previous_period title: Product Revenue Comparison (over previous period) - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5841,7 +5841,7 @@ interactions: visualizationUrl: local:scatter id: product_saleability title: Product Saleability - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5940,7 +5940,7 @@ interactions: visualizationUrl: local:table id: revenue_and_quantity_by_product_and_category title: Revenue and Quantity by Product and Category - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -5996,7 +5996,7 @@ interactions: visualizationUrl: local:line id: revenue_by_category_trend title: Revenue by Category Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6035,7 +6035,7 @@ interactions: visualizationUrl: local:bar id: revenue_by_product title: Revenue by Product - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6091,7 +6091,7 @@ interactions: visualizationUrl: local:scatter id: revenue_per_usd_vs_spend_by_campaign title: Revenue per $ vs Spend by Campaign - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6159,7 +6159,7 @@ interactions: visualizationUrl: local:combo2 id: revenue_trend title: Revenue Trend - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6216,7 +6216,7 @@ interactions: visualizationUrl: local:bar id: top_10_customers title: Top 10 Customers - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6273,7 +6273,7 @@ interactions: visualizationUrl: local:bar id: top_10_products title: Top 10 Products - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 createdBy: id: admin type: user @@ -6553,7 +6553,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 3e2a623784fb702e + traceId: c668753406eb3e62 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -6726,7 +6726,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 713f51e3cc81ff9d + traceId: 9e6e72b1423d06f2 - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo_cs/workspaceSettings @@ -8194,10 +8194,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -8349,34 +8349,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 f14bb9173..626dba441 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 @@ -1978,10 +1978,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2133,34 +2133,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id 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 10645eaf3..8c2840463 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/list_workspace_settings.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 1028fad5514b391c + traceId: 7ca0afba927809e6 - 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: 3f07b9b89b296ea7 + traceId: 4ecaae26db37e2fb - 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 458c618c0..e9dee8351 100644 --- a/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml +++ b/gooddata-sdk/tests/catalog/fixtures/workspaces/update_workspace_setting.yaml @@ -79,7 +79,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 99e79618e063ec1f + traceId: c874dd7d60f59faf - 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_life_cycle.yaml b/gooddata-sdk/tests/catalog/fixtures/workspaces/user_data_filters_life_cycle.yaml index 1bba39352..5eb712fd6 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 @@ -156,7 +156,7 @@ interactions: to access it. status: 404 title: Not Found - traceId: 2ac74a61282936d5 + traceId: cce0ac77207bd43c - request: method: POST uri: http://localhost:3000/api/v1/entities/workspaces/demo/userDataFilters @@ -367,7 +367,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo links: @@ -470,7 +470,7 @@ interactions: - id: demo type: user attributes: - authenticationId: CiQ3YmY3ZTAxNS0xOWNkLTQ3MDgtYTEyNi1kYzg0NzI4MTdjZDgSBWxvY2Fs + authenticationId: CiQxMjRjYzNlZi1lODU5LTQzM2ItODc0Mi1mOWJhMDRjYTRmMmISBWxvY2Fs links: self: http://localhost:3000/api/v1/entities/workspaces/demo/users/demo - id: order_status @@ -2004,10 +2004,10 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id title: Campaign channels attributes: - id: campaign_channel_id @@ -2159,34 +2159,34 @@ interactions: id: campaigns type: dataset multivalue: false - sourceColumns: - - campaign_id sourceColumnDataTypes: - INT + sourceColumns: + - campaign_id - identifier: id: customers type: dataset multivalue: false - sourceColumns: - - customer_id sourceColumnDataTypes: - INT + sourceColumns: + - customer_id - identifier: id: date type: dataset multivalue: false - sourceColumns: - - date sourceColumnDataTypes: - DATE + sourceColumns: + - date - identifier: id: products type: dataset multivalue: false - sourceColumns: - - product_id sourceColumnDataTypes: - INT + sourceColumns: + - product_id title: Order lines attributes: - id: order_id diff --git a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml index b3f91cf2b..f75828259 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_csv.yaml @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9cc4d5e5d01a8a6c15dd52a5a9113375507c1699 + executionResult: 456a6b6bfa45413bc17832446cb5dae5f97d8936 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 9cc4d5e5d01a8a6c15dd52a5a9113375507c1699 + executionResult: 456a6b6bfa45413bc17832446cb5dae5f97d8936 fileName: test_csv format: CSV customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 12d2a1a1eddd5ccabda84adfb333e1607d3c2f80 + exportResult: 321a18236166383c0e5d1b23ee648be756900c61 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/12d2a1a1eddd5ccabda84adfb333e1607d3c2f80 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/321a18236166383c0e5d1b23ee648be756900c61 body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/12d2a1a1eddd5ccabda84adfb333e1607d3c2f80 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/321a18236166383c0e5d1b23ee648be756900c61 body: null headers: Accept: @@ -352,7 +352,7 @@ interactions: Connection: - keep-alive Content-Disposition: - - attachment;filename*=utf-8''test_csv.csv + - attachment; filename*=UTF-8''test_csv.csv Content-Length: - '1830' Content-Security-Policy: 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 594137033..a25620eea 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 @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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: 6423dcf3a78558dfc3702a9d4a1231489f0a3ff2 + executionResult: 83d42c02b47ca0fd6842b6f59be222f8c530d432 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6423dcf3a78558dfc3702a9d4a1231489f0a3ff2?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/83d42c02b47ca0fd6842b6f59be222f8c530d432?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -536,7 +536,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 6423dcf3a78558dfc3702a9d4a1231489f0a3ff2 + executionResult: 83d42c02b47ca0fd6842b6f59be222f8c530d432 fileName: Customers Trend format: CSV customOverride: @@ -621,10 +621,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: aa2711f02d4f56bb8d637e9a470930ef30950fe9 + exportResult: ec2ba837da81f7f27fd63df9cb336cbec15de96c - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/aa2711f02d4f56bb8d637e9a470930ef30950fe9 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/ec2ba837da81f7f27fd63df9cb336cbec15de96c body: null headers: Accept: @@ -695,7 +695,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/aa2711f02d4f56bb8d637e9a470930ef30950fe9 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/ec2ba837da81f7f27fd63df9cb336cbec15de96c body: null headers: Accept: @@ -722,7 +722,7 @@ interactions: Connection: - keep-alive Content-Disposition: - - attachment;filename*=utf-8''Customers%20Trend.csv + - attachment; filename*=UTF-8''Customers%20Trend.csv Content-Length: - '422' Content-Security-Policy: diff --git a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml index 08d7911ae..f38f66c9b 100644 --- a/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml +++ b/gooddata-sdk/tests/export/fixtures/test_export_excel.yaml @@ -161,12 +161,12 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 9cc4d5e5d01a8a6c15dd52a5a9113375507c1699 + executionResult: 456a6b6bfa45413bc17832446cb5dae5f97d8936 - request: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 9cc4d5e5d01a8a6c15dd52a5a9113375507c1699 + executionResult: 456a6b6bfa45413bc17832446cb5dae5f97d8936 fileName: test_xlsx format: XLSX customOverride: @@ -251,10 +251,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: e3e74d1c8ec1333b94185b33b82567d7da66c867 + exportResult: 0116348a263e71f7dac54274adc3b73ffa941ed3 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/e3e74d1c8ec1333b94185b33b82567d7da66c867 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/0116348a263e71f7dac54274adc3b73ffa941ed3 body: null headers: Accept: @@ -325,7 +325,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/e3e74d1c8ec1333b94185b33b82567d7da66c867 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/0116348a263e71f7dac54274adc3b73ffa941ed3 body: null headers: Accept: @@ -352,9 +352,9 @@ interactions: Connection: - keep-alive Content-Disposition: - - attachment;filename*=utf-8''test_xlsx.xlsx + - attachment; filename*=UTF-8''test_xlsx.xlsx Content-Length: - - '7609' + - '7610' 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 @@ -508,29 +508,29 @@ interactions: BzREgkKnU5EgZF+Vdr6GmVPXn68zRmWfmasr0+J3SI4IG2TV28zst1A06yalI3Lc6aDZpuoahv3/ 8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b+1GbwuEDZV/QuKnw2WK+HfADiD6aT5QI EvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZZ4t7c2d7Bl97Z7vaXi5RWzvI5KulP574 - 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwC5WmGxJAEAAFACAAARAAAA - ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LcsOJQjbgbbk1EChLi29CWmTiFo/SGodv30V - J3ESyCnH1cx+O7uoWuxUl/yB89LoGpEsRwloboTUmxp9tMt0jhIfmBasMxpqNIBHi+ah4pZy4+DN - GQsuSPBJBGlPua3RNgRLMfZ8C4r5LDp0FNfGKRZi6TbYMv7DNoCLPH/ECgITLDC8B6Z2IqIjUvAJ - aX9dNwIEx9CBAh08JhnBZ28Ap/zNhlG5cCoZBgs3rSdxcu+8nIx932d9OVpjfoK/Vq/v46qp1PtT - cUBNJTjlDlgwrqnwZREP1zEfVvHEawniaYj6jbfjIoc+EEkMQA9xT8pn+fzSLlFT5EWZkjwtZi0h - lMzprPzej7zqPwPVccjdxBPgkPv6EzT/UEsDBBQAAAAIAAAAPwAEcUVjewEAABMDAAAQAAAAZG9j - UHJvcHMvYXBwLnhtbJ1SwU7jMBC98xWR79RptVqhyjFalV31sIhKLXBcGWfSWHVsyzNEKV+Pk6oh - hT3h05s3T8/PMxa3XWOzFiIa7wo2n+UsA6d9ady+YI+7P9c3LENSrlTWOyjYEZDdyiuxiT5AJAOY - JQeHBauJwpJz1DU0Cmep7VKn8rFRlMq4576qjIY7r18bcMQXef6TQ0fgSiivw2jITo7Llr5rWnrd - 58On3TEkPyl+hWCNVpQeKe+Njh59RdnvToMVfNoUyWgL+jUaOspc8GkptlpZWCVjWSmLIPgHIdag - +pltlIkoRUvLFjT5mKF5S1NbsOxFIfRxCtaqaJQjdpKdigHbgBTls48HrAEIBR/JAU61U2x+yPkg - SOBSyMcgCV9G3BmygA/VRkX6T+L5NPGQgU0yEiD96yx2XyKeL/tkv/JNUC7NkI/or3EHfAw7f6cI - zhO9JMW2VhHKtIRx4iMh1ilatL1+VSu3h/Ks+dro9/90+uNyvpjl6QxrP3OCf3xn+Q5QSwECFAMU - AAAACAAAAD8AYV1JOk8BAACPBAAAEwAAAAAAAAAAAAAAgIEAAAAAW0NvbnRlbnRfVHlwZXNdLnht - bFBLAQIUAxQAAAAIAAAAPwDyn0na6QAAAEsCAAALAAAAAAAAAAAAAACAgYABAABfcmVscy8ucmVs - c1BLAQIUAxQAAAAIAAAAPwBEdVvw6AAAALkCAAAaAAAAAAAAAAAAAACAgZICAAB4bC9fcmVscy93 - b3JrYm9vay54bWwucmVsc1BLAQIUAxQAAAAIAAAAPwCnMD5CWwcAAFAjAAAYAAAAAAAAAAAAAACA - gbIDAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQSwECFAMUAAAACAAAAD8ACOLM+UwBAAApAgAA - DwAAAAAAAAAAAAAAgIFDCwAAeGwvd29ya2Jvb2sueG1sUEsBAhQDFAAAAAgAAAA/AFuHc1QPAgAA - LAYAABQAAAAAAAAAAAAAAICBvAwAAHhsL3NoYXJlZFN0cmluZ3MueG1sUEsBAhQDFAAAAAgAAAA/ - AIKDdGQeAwAAhRMAAA0AAAAAAAAAAAAAAICB/Q4AAHhsL3N0eWxlcy54bWxQSwECFAMUAAAACAAA - AD8AGPpGVLAFAABSGwAAEwAAAAAAAAAAAAAAgIFGEgAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQIU - AxQAAAAIAAAAPwC5WmGxJAEAAFACAAARAAAAAAAAAAAAAACAgScYAABkb2NQcm9wcy9jb3JlLnht - bFBLAQIUAxQAAAAIAAAAPwAEcUVjewEAABMDAAAQAAAAAAAAAAAAAACAgXoZAABkb2NQcm9wcy9h - cHAueG1sUEsFBgAAAAAKAAoAgAIAACMbAAAAAA== + 8D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQAAAAIAAAAPwD7GNFHJQEAAFACAAARAAAA + ZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7LdluShG2A23JqYFCU1pyE9LGEbV+kNQ6efvK + TuIkkFOPq5n9dnZRNd+pLvkF56XRNcozghLQ3Aip2xp9rBbpI0p8YFqwzmio0R48mjd3FbeUGwdv + zlhwQYJPIkh7ym2NtiFYirHnW1DMZ9Gho7gxTrEQS9diy/g3awEXhDxgBYEJFhgegKmdiOiIFHxC + 2h/XjQDBMXSgQAeP8yzHZ28Ap/zNhlG5cCoZ9hZuWk/i5N55ORn7vs/6crTG/Dn+Wr6+j6umUg+n + 4oCaSnDKHbBgXFPhyyIermM+LOOJNxLE0z7qN96Oixz6QCQxAD3EPSmf5fPLaoGaghRlmpO0JKu8 + oDNC72frYeRV/xmojkP+TTwBDrmvP0HzB1BLAwQUAAAACAAAAD8ABHFFY3sBAAATAwAAEAAAAGRv + Y1Byb3BzL2FwcC54bWydUsFO4zAQvfMVke/UabVaocoxWpVd9bCISi1wXBln0lh1bMszRClfj5Oq + IYU94dObN0/PzzMWt11jsxYiGu8KNp/lLAOnfWncvmCPuz/XNyxDUq5U1jso2BGQ3corsYk+QCQD + mCUHhwWricKSc9Q1NApnqe1Sp/KxUZTKuOe+qoyGO69fG3DEF3n+k0NH4Eoor8NoyE6Oy5a+a1p6 + 3efDp90xJD8pfoVgjVaUHinvjY4efUXZ706DFXzaFMloC/o1GjrKXPBpKbZaWVglY1kpiyD4ByHW + oPqZbZSJKEVLyxY0+ZiheUtTW7DsRSH0cQrWqmiUI3aSnYoB24AU5bOPB6wBCAUfyQFOtVNsfsj5 + IEjgUsjHIAlfRtwZsoAP1UZF+k/i+TTxkIFNMhIg/essdl8ini/7ZL/yTVAuzZCP6K9xB3wMO3+n + CM4TvSTFtlYRyrSEceIjIdYpWrS9flUrt4fyrPna6Pf/dPrjcr6Y5ekMaz9zgn98Z/kOUEsBAhQD + FAAAAAgAAAA/AGFdSTpPAQAAjwQAABMAAAAAAAAAAAAAAICBAAAAAFtDb250ZW50X1R5cGVzXS54 + bWxQSwECFAMUAAAACAAAAD8A8p9J2ukAAABLAgAACwAAAAAAAAAAAAAAgIGAAQAAX3JlbHMvLnJl + bHNQSwECFAMUAAAACAAAAD8ARHVb8OgAAAC5AgAAGgAAAAAAAAAAAAAAgIGSAgAAeGwvX3JlbHMv + d29ya2Jvb2sueG1sLnJlbHNQSwECFAMUAAAACAAAAD8ApzA+QlsHAABQIwAAGAAAAAAAAAAAAAAA + gIGyAwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsBAhQDFAAAAAgAAAA/AAjizPlMAQAAKQIA + AA8AAAAAAAAAAAAAAICBQwsAAHhsL3dvcmtib29rLnhtbFBLAQIUAxQAAAAIAAAAPwBbh3NUDwIA + ACwGAAAUAAAAAAAAAAAAAACAgbwMAAB4bC9zaGFyZWRTdHJpbmdzLnhtbFBLAQIUAxQAAAAIAAAA + PwCCg3RkHgMAAIUTAAANAAAAAAAAAAAAAACAgf0OAAB4bC9zdHlsZXMueG1sUEsBAhQDFAAAAAgA + AAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICBRhIAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwEC + FAMUAAAACAAAAD8A+xjRRyUBAABQAgAAEQAAAAAAAAAAAAAAgIEnGAAAZG9jUHJvcHMvY29yZS54 + 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 da364b0ce..b237c4fc9 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 @@ -151,7 +151,7 @@ interactions: rotation: auto version: '2' visualizationUrl: local:combo2 - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 relationships: createdBy: data: @@ -195,7 +195,7 @@ interactions: type: metric attributes: title: '# of Active Customers' - createdAt: 2023-10-24 11:18 + createdAt: 2023-10-30 12:50 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-10-24 11:18 + createdAt: 2023-10-30 12:50 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: 6423dcf3a78558dfc3702a9d4a1231489f0a3ff2 + executionResult: 83d42c02b47ca0fd6842b6f59be222f8c530d432 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/6423dcf3a78558dfc3702a9d4a1231489f0a3ff2?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/83d42c02b47ca0fd6842b6f59be222f8c530d432?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -536,7 +536,7 @@ interactions: method: POST uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular body: - executionResult: 6423dcf3a78558dfc3702a9d4a1231489f0a3ff2 + executionResult: 83d42c02b47ca0fd6842b6f59be222f8c530d432 fileName: Customers Trend format: XLSX customOverride: @@ -621,10 +621,10 @@ interactions: - 1 ; mode=block body: string: - exportResult: 042970ef8de7afd71bbc95234948116e7610e769 + exportResult: bc1122dde13918e3c7dc7fd8f3ba800edabdb049 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/042970ef8de7afd71bbc95234948116e7610e769 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/bc1122dde13918e3c7dc7fd8f3ba800edabdb049 body: null headers: Accept: @@ -695,7 +695,7 @@ interactions: string: '' - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/042970ef8de7afd71bbc95234948116e7610e769 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/export/tabular/bc1122dde13918e3c7dc7fd8f3ba800edabdb049 body: null headers: Accept: @@ -722,7 +722,7 @@ interactions: Connection: - keep-alive Content-Disposition: - - attachment;filename*=utf-8''Customers%20Trend.xlsx + - attachment; filename*=UTF-8''Customers%20Trend.xlsx Content-Length: - '6155' Content-Security-Policy: @@ -853,12 +853,12 @@ interactions: G2TV28zst1A06yalI3Lc6aDZpuoahv3/8OTjrph8zh4PFoLc88wirtb0tUfBxtupcM5Hbd1scd1b +1GbwuEDZV/QuKnw2WK+HfADiD6aT5QIEvFSqyy/+eYQdG5pxmWs/tkxahGC1op4X+TwqTm7scLZ Z4t7c2d7Bl97Z7vaXi5RWzvI5KulP5748D7I3oGD0oQpWbxNegBHze7sLwPgYy9It/4GUEsDBBQA - AAAIAAAAPwAWga73JQEAAFACAAARAAAAZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7Lcsx - JQjbgbbk1EChKS29CWmTiFo/SGodv30VJ3ES8CnH1cx+O7uoWuxVm/yB89LoGpEsRwloboTU2xp9 - rJfpHCU+MC1YazTUqAePFs1DxS3lxsGbMxZckOCTCNKeclujXQiWYuz5DhTzWXToKG6MUyzE0m2x - ZfyHbQEXef6IFQQmWGD4AEztSEQnpOAj0v66dgAIjqEFBTp4TDKCL94ATvnJhkG5cioZeguT1rM4 - uvdejsau67JuNlhjfoK/Vq/vw6qp1IdTcUBNJTjlDlgwrqnwdREP1zIfVvHEGwniqY/6xNtpkWMf - iCQGoMe4Z+Vz9vyyXqKmyItZSvK0KNeEUDKnZfl9GHnTfwGq05C7iWfAMfftJ2j+AVBLAwQUAAAA + AAAIAAAAPwCduZGmJQEAAFACAAARAAAAZG9jUHJvcHMvY29yZS54bWydks1qwzAQhO99CqO7Ldlu + QxG2A23JqYFCU1pyE9ImEbV+kNQ6fvvKTuIkkFOPq5n9dnZRNd+rNvkF56XRNcozghLQ3AiptzX6 + WC3SR5T4wLRgrdFQox48mjd3FbeUGwdvzlhwQYJPIkh7ym2NdiFYirHnO1DMZ9Gho7gxTrEQS7fF + lvFvtgVcEDLDCgITLDA8AFM7EdERKfiEtD+uHQGCY2hBgQ4e51mOz94ATvmbDaNy4VQy9BZuWk/i + 5N57ORm7rsu6crTG/Dn+Wr6+j6umUg+n4oCaSnDKHbBgXFPhyyIermU+LOOJNxLEUx/1G2/HRQ59 + IJIYgB7inpTP8vlltUBNQYoyzUlaklVe0AdC72frYeRV/xmojkP+TTwBDrmvP0HzB1BLAwQUAAAA CAAAAD8AssAyR34BAAAZAwAAEAAAAGRvY1Byb3BzL2FwcC54bWydUsFO6zAQvPMVke/UaYXQU+UY oQLiwNOr1ABn42waC8e2vNuofV+Pk6ohBU7kNDs7Gk92V9zsW5t1ENF4V7D5LGcZOO0r47YFey4f Lv+wDEm5SlnvoGAHQHYjL8Q6+gCRDGCWHBwWrCEKS85RN9AqnKW2S53ax1ZRKuOW+7o2Gu683rXg @@ -875,6 +875,6 @@ interactions: LnhtbFBLAQIUAxQAAAAIAAAAPwCICTc14wAAAB0CAAAUAAAAAAAAAAAAAACAgVEIAAB4bC9zaGFy ZWRTdHJpbmdzLnhtbFBLAQIUAxQAAAAIAAAAPwAf9bHeAwMAAA8RAAANAAAAAAAAAAAAAACAgWYJ AAB4bC9zdHlsZXMueG1sUEsBAhQDFAAAAAgAAAA/ABj6RlSwBQAAUhsAABMAAAAAAAAAAAAAAICB - lAwAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwECFAMUAAAACAAAAD8AFoGu9yUBAABQAgAAEQAAAAAA + lAwAAHhsL3RoZW1lL3RoZW1lMS54bWxQSwECFAMUAAAACAAAAD8AnbmRpiUBAABQAgAAEQAAAAAA AAAAAAAAgIF1EgAAZG9jUHJvcHMvY29yZS54bWxQSwECFAMUAAAACAAAAD8AssAyR34BAAAZAwAA EAAAAAAAAAAAAAAAgIHJEwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAACgAKAIACAAB1FQAAAAA= 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 a68c2556c..ece65c464 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 @@ -130,10 +130,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: 23c0b20d992f606c72bd750badb057b482c778e3 + executionResult: eb70b0389323e5cca50ecacf0c53adc657e419d0 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/23c0b20d992f606c72bd750badb057b482c778e3?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/eb70b0389323e5cca50ecacf0c53adc657e419d0?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 a50e54916..f4e8d2cb7 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 @@ -137,10 +137,10 @@ interactions: name: Order Amount localIdentifier: dim_1 links: - executionResult: a3e8f46b7e5cc76950fdedd0d197428be2989a87 + executionResult: 45695fcd6864ded810528b52adaeabd8cbe6c957 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a3e8f46b7e5cc76950fdedd0d197428be2989a87?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/45695fcd6864ded810528b52adaeabd8cbe6c957?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 8924b35bd..0661bda82 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 @@ -132,10 +132,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 744ba03ada81e31c22f09cd8e6a41bbd9a94b688 + executionResult: b70f7621bcc4435809485de464f825a44b140cd3 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/744ba03ada81e31c22f09cd8e6a41bbd9a94b688?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b70f7621bcc4435809485de464f825a44b140cd3?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -570,10 +570,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: 4ac6567eb133d203aadb748dc3af6389ea90b1b3 + executionResult: 9e3ee55f6f7c2d3e9b5eaaf0c224cc1cefd71528 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/4ac6567eb133d203aadb748dc3af6389ea90b1b3?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/9e3ee55f6f7c2d3e9b5eaaf0c224cc1cefd71528?offset=0%2C0&limit=512%2C256 body: null headers: Accept: @@ -1004,10 +1004,10 @@ interactions: - localIdentifier: metric1 localIdentifier: dim_1 links: - executionResult: ebcc3526b0ed3405f656eb2a45183df03a7e2bcc + executionResult: e4557294cd1c4bd7a591a35d120c6f1ab80f5dd1 - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ebcc3526b0ed3405f656eb2a45183df03a7e2bcc?offset=0%2C0&limit=512%2C256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/e4557294cd1c4bd7a591a35d120c6f1ab80f5dd1?offset=0%2C0&limit=512%2C256 body: null headers: Accept: diff --git a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml index c9164bb79..8f86f4369 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_attribute.yaml @@ -112,10 +112,10 @@ interactions: type: label localIdentifier: dim_0 links: - executionResult: 79bb15d1d68bbd4be392d1031ed7c930215302e9 + executionResult: 2b0203319eaae6e5634f0a828395620736d92f9f - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/79bb15d1d68bbd4be392d1031ed7c930215302e9?offset=0&limit=512 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/2b0203319eaae6e5634f0a828395620736d92f9f?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 a5181aeb6..a043045c5 100644 --- a/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml +++ b/gooddata-sdk/tests/table/fixtures/table_with_just_metric.yaml @@ -106,10 +106,10 @@ interactions: name: Order Amount localIdentifier: dim_0 links: - executionResult: 478e6971b94d29ae201a82868cbafa70d2757c6a + executionResult: ea7068f7cd084bb7f1d9879bea1752a6d4a5a09c - request: method: GET - uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/478e6971b94d29ae201a82868cbafa70d2757c6a?offset=0&limit=256 + uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/ea7068f7cd084bb7f1d9879bea1752a6d4a5a09c?offset=0&limit=256 body: null headers: Accept: diff --git a/schemas/gooddata-afm-client.json b/schemas/gooddata-afm-client.json index 6a0f654f4..910842ca7 100644 --- a/schemas/gooddata-afm-client.json +++ b/schemas/gooddata-afm-client.json @@ -344,8 +344,7 @@ "enum": [ "facts", "attributes", - "measures", - "UNRECOGNIZED" + "measures" ], "example": "facts", "type": "string" diff --git a/schemas/gooddata-api-client.json b/schemas/gooddata-api-client.json index bc2cd070a..bcfa85496 100644 --- a/schemas/gooddata-api-client.json +++ b/schemas/gooddata-api-client.json @@ -389,8 +389,7 @@ "enum": [ "facts", "attributes", - "measures", - "UNRECOGNIZED" + "measures" ], "example": "facts", "type": "string" @@ -441,7 +440,8 @@ "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", - "WorkspaceCount" + "WorkspaceCount", + "UserTelemetryDisabled" ], "type": "string" }, @@ -2426,7 +2426,8 @@ "type": "boolean" }, "sourceColumnDataTypes": { - "description": "An array of source column data types for a given reference.", + "deprecated": true, + "description": "An array of source column data types for a given reference. Deprecated, use 'sources' instead.", "items": { "enum": [ "INT", @@ -2442,7 +2443,8 @@ "type": "array" }, "sourceColumns": { - "description": "An array of source column names for a given reference.", + "deprecated": true, + "description": "An array of source column names for a given reference. Deprecated, use 'sources' instead.", "example": [ "customer_id" ], @@ -2450,12 +2452,52 @@ "type": "string" }, "type": "array" + }, + "sources": { + "description": "An array of source columns for a given reference.", + "items": { + "$ref": "#/components/schemas/DeclarativeReferenceSource" + }, + "type": "array" } }, "required": [ "identifier", - "multivalue", - "sourceColumns" + "multivalue" + ], + "type": "object" + }, + "DeclarativeReferenceSource": { + "description": "A dataset reference source column description.", + "properties": { + "column": { + "description": "A name of the source column in the table.", + "example": "customer_id", + "maxLength": 255, + "type": "string" + }, + "dataType": { + "description": "A type of the source column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "example": "STRING", + "maxLength": 255, + "type": "string" + }, + "target": { + "$ref": "#/components/schemas/GrainIdentifier" + } + }, + "required": [ + "column", + "target" ], "type": "object" }, @@ -3628,7 +3670,8 @@ "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", - "WorkspaceCount" + "WorkspaceCount", + "UserTelemetryDisabled" ], "type": "string" }, @@ -4016,6 +4059,11 @@ }, "GrainIdentifier": { "description": "A grain identifier.", + "example": { + "id": "customer_id", + "type": "attribute" + }, + "maxLength": 255, "properties": { "id": { "description": "Grain ID.", @@ -4242,6 +4290,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -4260,6 +4311,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -4337,6 +4389,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -4509,6 +4564,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -4653,6 +4709,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -4703,6 +4760,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -4721,6 +4781,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -8069,6 +8130,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -8087,6 +8151,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -8156,6 +8221,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -8238,6 +8306,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -8367,6 +8436,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -8417,6 +8487,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -8435,6 +8508,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -11464,6 +11538,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -11482,6 +11559,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -11559,6 +11637,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -11685,6 +11766,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -11801,6 +11883,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -11851,6 +11934,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -11869,6 +11955,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -20022,59 +20109,6 @@ "entities", "user-model-controller" ] - }, - "put": { - "operationId": "updateEntity@ApiTokens", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "filter=bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" - } - } - }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Put new API token for the user", - "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] } }, "/api/v1/entities/users/{userId}/userSettings": { diff --git a/schemas/gooddata-metadata-client.json b/schemas/gooddata-metadata-client.json index e6e96b43c..22f121053 100644 --- a/schemas/gooddata-metadata-client.json +++ b/schemas/gooddata-metadata-client.json @@ -67,7 +67,8 @@ "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", - "WorkspaceCount" + "WorkspaceCount", + "UserTelemetryDisabled" ], "type": "string" }, @@ -1639,7 +1640,8 @@ "type": "boolean" }, "sourceColumnDataTypes": { - "description": "An array of source column data types for a given reference.", + "deprecated": true, + "description": "An array of source column data types for a given reference. Deprecated, use 'sources' instead.", "items": { "enum": [ "INT", @@ -1655,7 +1657,8 @@ "type": "array" }, "sourceColumns": { - "description": "An array of source column names for a given reference.", + "deprecated": true, + "description": "An array of source column names for a given reference. Deprecated, use 'sources' instead.", "example": [ "customer_id" ], @@ -1663,12 +1666,52 @@ "type": "string" }, "type": "array" + }, + "sources": { + "description": "An array of source columns for a given reference.", + "items": { + "$ref": "#/components/schemas/DeclarativeReferenceSource" + }, + "type": "array" } }, "required": [ "identifier", - "multivalue", - "sourceColumns" + "multivalue" + ], + "type": "object" + }, + "DeclarativeReferenceSource": { + "description": "A dataset reference source column description.", + "properties": { + "column": { + "description": "A name of the source column in the table.", + "example": "customer_id", + "maxLength": 255, + "type": "string" + }, + "dataType": { + "description": "A type of the source column.", + "enum": [ + "INT", + "STRING", + "DATE", + "NUMERIC", + "TIMESTAMP", + "TIMESTAMP_TZ", + "BOOLEAN" + ], + "example": "STRING", + "maxLength": 255, + "type": "string" + }, + "target": { + "$ref": "#/components/schemas/GrainIdentifier" + } + }, + "required": [ + "column", + "target" ], "type": "object" }, @@ -2672,7 +2715,8 @@ "UnlimitedUsers", "UnlimitedWorkspaces", "WhiteLabeling", - "WorkspaceCount" + "WorkspaceCount", + "UserTelemetryDisabled" ], "type": "string" }, @@ -2798,6 +2842,11 @@ }, "GrainIdentifier": { "description": "A grain identifier.", + "example": { + "id": "customer_id", + "type": "attribute" + }, + "maxLength": 255, "properties": { "id": { "description": "Grain ID.", @@ -2965,6 +3014,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -2983,6 +3035,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -3060,6 +3113,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -3232,6 +3288,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -3376,6 +3433,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -3426,6 +3484,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -3444,6 +3505,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -6792,6 +6854,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -6810,6 +6875,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -6879,6 +6945,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -6961,6 +7030,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -7090,6 +7160,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -7140,6 +7211,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -7158,6 +7232,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -10187,6 +10262,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -10205,6 +10283,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -10282,6 +10361,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -10408,6 +10490,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -10524,6 +10607,7 @@ } }, "required": [ + "attributes", "id", "type" ], @@ -10574,6 +10658,9 @@ "type": "string" } }, + "required": [ + "content" + ], "type": "object" }, "id": { @@ -10592,6 +10679,7 @@ } }, "required": [ + "attributes", "type" ], "type": "object" @@ -16482,59 +16570,6 @@ "entities", "user-model-controller" ] - }, - "put": { - "operationId": "updateEntity@ApiTokens", - "parameters": [ - { - "in": "path", - "name": "userId", - "required": true, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/idPathParameter" - }, - { - "description": "Filtering parameter in RSQL. See https://github.com/jirutka/rsql-parser. You can specify any object parameter and parameter of related entity (for example title=='Some Title';description=='desc'). Additionally, if the entity relationship represents a polymorphic entity type, it can be casted to its subtypes (for example relatedEntity::subtype.subtypeProperty=='Value 123').", - "example": "filter=bearerToken==someString", - "in": "query", - "name": "filter", - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenInDocument" - } - } - }, - "required": true - }, - "responses": { - "200": { - "content": { - "application/vnd.gooddata.api+json": { - "schema": { - "$ref": "#/components/schemas/JsonApiApiTokenOutDocument" - } - } - }, - "description": "Request successfully processed" - } - }, - "summary": "Put new API token for the user", - "tags": [ - "API tokens", - "entities", - "user-model-controller" - ] } }, "/api/v1/entities/users/{userId}/userSettings": {