gooddata-fdw 1.63.1.dev1__tar.gz → 1.63.1.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/PKG-INFO +3 -3
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/pyproject.toml +3 -3
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/executor.py +5 -2
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/conftest.py +2 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/fixtures/execute_compute_table_all_columns.yaml +62 -87
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/fixtures/execute_compute_table_metrics_only.yaml +52 -77
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml +50 -75
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/fixtures/execute_insight_all_columns.yaml +111 -148
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/fixtures/execute_insight_some_columns.yaml +111 -148
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml +533 -569
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/import_foreign_schema/fixtures/import_insights_without_restrictions.yaml +719 -767
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/.gitignore +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/.readthedocs.yaml +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/Dockerfile +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/LICENSE.txt +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/MANIFEST.in +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/Makefile +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/README.md +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/_static/empty_file +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/_templates/class-template.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/_templates/module-template.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/api.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/conf.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/connecting_to_postgresql.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/foreign_tables.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/index.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/installation.rst +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/docs/requirements.txt +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/rebuild.sh +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/sql/create_extensions.sql +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/sql/import_gooddata.sql +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/__init__.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/_version.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/column_utils.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/column_validation.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/environment.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/fdw.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/filter.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/import_workspace.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/naming.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/options.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/pg_logging.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/src/gooddata_fdw/result_reader.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/__init__.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/__init__.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/test_execute_compute_table.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/execute/test_execute_insight.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/gd_test_config.yaml +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/import_foreign_schema/__init__.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/import_foreign_schema/test_import_compute.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/import_foreign_schema/test_import_insights.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/overview.md +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/unit_test/test_column_validation.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/unit_test/test_executor.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/unit_test/test_filter.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/unit_test/test_options.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tests/unit_test/test_result_reader.py +0 -0
- {gooddata_fdw-1.63.1.dev1 → gooddata_fdw-1.63.1.dev3}/tox.ini +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gooddata-fdw
|
|
3
|
-
Version: 1.63.1.
|
|
3
|
+
Version: 1.63.1.dev3
|
|
4
4
|
Summary: GoodData Cloud Foreign Data Wrapper For PostgreSQL
|
|
5
|
-
Project-URL: Documentation, https://gooddata-fdw.readthedocs.io/en/v1.63.1.
|
|
5
|
+
Project-URL: Documentation, https://gooddata-fdw.readthedocs.io/en/v1.63.1.dev3
|
|
6
6
|
Project-URL: Source, https://github.com/gooddata/gooddata-python-sdk
|
|
7
7
|
Author-email: GoodData <support@gooddata.com>
|
|
8
8
|
License-Expression: MIT
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Scientific/Engineering
|
|
|
20
20
|
Classifier: Topic :: Software Development
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
22
|
Requires-Python: >=3.10
|
|
23
|
-
Requires-Dist: gooddata-sdk~=1.63.1.
|
|
23
|
+
Requires-Dist: gooddata-sdk~=1.63.1.dev3
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
26
26
|
# GoodData Foreign Data Wrapper
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# (C) 2025 GoodData Corporation
|
|
2
2
|
[project]
|
|
3
3
|
name = "gooddata-fdw"
|
|
4
|
-
version = "1.63.1.
|
|
4
|
+
version = "1.63.1.dev3"
|
|
5
5
|
description = "GoodData Cloud Foreign Data Wrapper For PostgreSQL"
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
license = "MIT"
|
|
@@ -26,7 +26,7 @@ keywords = [
|
|
|
26
26
|
]
|
|
27
27
|
requires-python = ">=3.10"
|
|
28
28
|
dependencies = [
|
|
29
|
-
"gooddata-sdk~=1.63.1.
|
|
29
|
+
"gooddata-sdk~=1.63.1.dev3",
|
|
30
30
|
# "multicorn>=1.4.0", # Uncommented as it was in original setup.py
|
|
31
31
|
]
|
|
32
32
|
classifiers = [
|
|
@@ -44,7 +44,7 @@ classifiers = [
|
|
|
44
44
|
]
|
|
45
45
|
|
|
46
46
|
[project.urls]
|
|
47
|
-
Documentation = "https://gooddata-fdw.readthedocs.io/en/v1.63.1.
|
|
47
|
+
Documentation = "https://gooddata-fdw.readthedocs.io/en/v1.63.1.dev3"
|
|
48
48
|
Source = "https://github.com/gooddata/gooddata-python-sdk"
|
|
49
49
|
|
|
50
50
|
[dependency-groups]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
from __future__ import annotations
|
|
3
3
|
|
|
4
4
|
from collections.abc import Generator
|
|
5
|
-
from typing import Any, NamedTuple
|
|
5
|
+
from typing import Any, ClassVar, NamedTuple
|
|
6
6
|
|
|
7
7
|
from gooddata_sdk import GoodDataSdk
|
|
8
8
|
|
|
@@ -43,7 +43,10 @@ class Executor:
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
class InsightExecutor(Executor):
|
|
46
|
-
_COLUMN_VALIDATORS
|
|
46
|
+
_COLUMN_VALIDATORS: ClassVar[list[col_val.ColumnValidator]] = [
|
|
47
|
+
col_val.LocalIdOptionValidator(),
|
|
48
|
+
col_val.IdOptionValidator(mandatory=False),
|
|
49
|
+
]
|
|
47
50
|
|
|
48
51
|
def __init__(self, inputs: InitData) -> None:
|
|
49
52
|
super().__init__(inputs, self._COLUMN_VALIDATORS)
|
|
@@ -5,6 +5,7 @@ from pathlib import Path
|
|
|
5
5
|
import pytest
|
|
6
6
|
import yaml
|
|
7
7
|
from gooddata_fdw.environment import ColumnDefinition
|
|
8
|
+
from tests_support.vcrpy_utils import configure_normalization
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
def pytest_addoption(parser):
|
|
@@ -23,6 +24,7 @@ def test_config(request):
|
|
|
23
24
|
with open(config_path) as f:
|
|
24
25
|
config = yaml.safe_load(f)
|
|
25
26
|
|
|
27
|
+
configure_normalization(config)
|
|
26
28
|
return config
|
|
27
29
|
|
|
28
30
|
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
# (C) 2026 GoodData Corporation
|
|
2
|
-
version: 1
|
|
3
2
|
interactions:
|
|
4
3
|
- request:
|
|
5
|
-
method: POST
|
|
6
|
-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
|
|
7
4
|
body:
|
|
8
5
|
execution:
|
|
9
6
|
attributes:
|
|
@@ -21,41 +18,41 @@ interactions:
|
|
|
21
18
|
measures:
|
|
22
19
|
- definition:
|
|
23
20
|
measure:
|
|
21
|
+
aggregation: SUM
|
|
22
|
+
computeRatio: false
|
|
23
|
+
filters: []
|
|
24
24
|
item:
|
|
25
25
|
identifier:
|
|
26
26
|
id: quantity
|
|
27
27
|
type: fact
|
|
28
|
-
aggregation: SUM
|
|
29
|
-
computeRatio: false
|
|
30
|
-
filters: []
|
|
31
28
|
localIdentifier: quantity
|
|
32
29
|
- definition:
|
|
33
30
|
measure:
|
|
31
|
+
aggregation: SUM
|
|
32
|
+
computeRatio: false
|
|
33
|
+
filters: []
|
|
34
34
|
item:
|
|
35
35
|
identifier:
|
|
36
36
|
id: price
|
|
37
37
|
type: fact
|
|
38
|
-
aggregation: SUM
|
|
39
|
-
computeRatio: false
|
|
40
|
-
filters: []
|
|
41
38
|
localIdentifier: price
|
|
42
39
|
- definition:
|
|
43
40
|
measure:
|
|
41
|
+
computeRatio: false
|
|
42
|
+
filters: []
|
|
44
43
|
item:
|
|
45
44
|
identifier:
|
|
46
45
|
id: percent_revenue_in_category
|
|
47
46
|
type: metric
|
|
48
|
-
computeRatio: false
|
|
49
|
-
filters: []
|
|
50
47
|
localIdentifier: percent_revenue_in_category
|
|
51
48
|
- definition:
|
|
52
49
|
measure:
|
|
50
|
+
computeRatio: false
|
|
51
|
+
filters: []
|
|
53
52
|
item:
|
|
54
53
|
identifier:
|
|
55
54
|
id: revenue
|
|
56
55
|
type: metric
|
|
57
|
-
computeRatio: false
|
|
58
|
-
filters: []
|
|
59
56
|
localIdentifier: revenue
|
|
60
57
|
resultSpec:
|
|
61
58
|
dimensions:
|
|
@@ -77,67 +74,40 @@ interactions:
|
|
|
77
74
|
- 'true'
|
|
78
75
|
X-Requested-With:
|
|
79
76
|
- XMLHttpRequest
|
|
77
|
+
method: POST
|
|
78
|
+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
|
|
80
79
|
response:
|
|
81
|
-
status:
|
|
82
|
-
code: 200
|
|
83
|
-
message: OK
|
|
84
|
-
headers:
|
|
85
|
-
Cache-Control:
|
|
86
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
|
87
|
-
Content-Length:
|
|
88
|
-
- '1128'
|
|
89
|
-
Content-Type:
|
|
90
|
-
- application/json
|
|
91
|
-
DATE: &id001
|
|
92
|
-
- PLACEHOLDER
|
|
93
|
-
Expires:
|
|
94
|
-
- '0'
|
|
95
|
-
Pragma:
|
|
96
|
-
- no-cache
|
|
97
|
-
Referrer-Policy:
|
|
98
|
-
- no-referrer
|
|
99
|
-
Vary:
|
|
100
|
-
- Origin
|
|
101
|
-
- Access-Control-Request-Method
|
|
102
|
-
- Access-Control-Request-Headers
|
|
103
|
-
X-Content-Type-Options:
|
|
104
|
-
- nosniff
|
|
105
|
-
X-Gdc-Cancel-Token:
|
|
106
|
-
- 4b12a06a-487e-46d5-9d60-488e15b57c40
|
|
107
|
-
X-GDC-TRACE-ID: *id001
|
|
108
|
-
X-Xss-Protection:
|
|
109
|
-
- '0'
|
|
110
80
|
body:
|
|
111
81
|
string:
|
|
112
82
|
executionResponse:
|
|
113
83
|
dimensions:
|
|
114
84
|
- headers:
|
|
115
85
|
- attributeHeader:
|
|
116
|
-
localIdentifier: products_category
|
|
117
|
-
label:
|
|
118
|
-
id: products.category
|
|
119
|
-
type: label
|
|
120
|
-
labelName: Category
|
|
121
86
|
attribute:
|
|
122
87
|
id: products.category
|
|
123
88
|
type: attribute
|
|
124
89
|
attributeName: Category
|
|
125
90
|
granularity: null
|
|
91
|
+
label:
|
|
92
|
+
id: products.category
|
|
93
|
+
type: label
|
|
94
|
+
labelName: Category
|
|
95
|
+
localIdentifier: products_category
|
|
126
96
|
primaryLabel:
|
|
127
97
|
id: products.category
|
|
128
98
|
type: label
|
|
129
99
|
valueType: TEXT
|
|
130
100
|
- attributeHeader:
|
|
131
|
-
localIdentifier: products_product_name
|
|
132
|
-
label:
|
|
133
|
-
id: product_name
|
|
134
|
-
type: label
|
|
135
|
-
labelName: Product name
|
|
136
101
|
attribute:
|
|
137
102
|
id: product_name
|
|
138
103
|
type: attribute
|
|
139
104
|
attributeName: Product name
|
|
140
105
|
granularity: null
|
|
106
|
+
label:
|
|
107
|
+
id: product_name
|
|
108
|
+
type: label
|
|
109
|
+
labelName: Product name
|
|
110
|
+
localIdentifier: products_product_name
|
|
141
111
|
primaryLabel:
|
|
142
112
|
id: product_name
|
|
143
113
|
type: label
|
|
@@ -147,18 +117,32 @@ interactions:
|
|
|
147
117
|
- measureGroupHeaders:
|
|
148
118
|
- localIdentifier: quantity
|
|
149
119
|
- localIdentifier: price
|
|
150
|
-
-
|
|
151
|
-
|
|
120
|
+
- format: '#,##0.0%'
|
|
121
|
+
localIdentifier: percent_revenue_in_category
|
|
152
122
|
name: '% Revenue in Category'
|
|
153
|
-
-
|
|
154
|
-
|
|
123
|
+
- format: $#,##0
|
|
124
|
+
localIdentifier: revenue
|
|
155
125
|
name: Revenue
|
|
156
126
|
localIdentifier: dim_1
|
|
157
127
|
links:
|
|
158
|
-
executionResult:
|
|
128
|
+
executionResult: EXECUTION_RESULT_0
|
|
129
|
+
headers:
|
|
130
|
+
Content-Type:
|
|
131
|
+
- application/json
|
|
132
|
+
DATE: &id001
|
|
133
|
+
- PLACEHOLDER
|
|
134
|
+
Expires:
|
|
135
|
+
- '0'
|
|
136
|
+
Pragma:
|
|
137
|
+
- no-cache
|
|
138
|
+
X-Content-Type-Options:
|
|
139
|
+
- nosniff
|
|
140
|
+
X-GDC-CANCEL-TOKEN: *id001
|
|
141
|
+
X-GDC-TRACE-ID: *id001
|
|
142
|
+
status:
|
|
143
|
+
code: 200
|
|
144
|
+
message: OK
|
|
159
145
|
- request:
|
|
160
|
-
method: GET
|
|
161
|
-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/f6a00a91124ea1040b01c1b8831adb92ba7f5ba4%3Ae6b88a13de23c82db3678aa8f42c5d60a1b645f5fa3d308fbe393dd69ac4e41f?offset=0%2C0&limit=512%2C256
|
|
162
146
|
body: null
|
|
163
147
|
headers:
|
|
164
148
|
Accept:
|
|
@@ -169,33 +153,9 @@ interactions:
|
|
|
169
153
|
- 'true'
|
|
170
154
|
X-Requested-With:
|
|
171
155
|
- XMLHttpRequest
|
|
156
|
+
method: GET
|
|
157
|
+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/EXECUTION_RESULT_0?offset=0%2C0&limit=512%2C256
|
|
172
158
|
response:
|
|
173
|
-
status:
|
|
174
|
-
code: 200
|
|
175
|
-
message: OK
|
|
176
|
-
headers:
|
|
177
|
-
Cache-Control:
|
|
178
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
|
179
|
-
Content-Length:
|
|
180
|
-
- '3913'
|
|
181
|
-
Content-Type:
|
|
182
|
-
- application/json
|
|
183
|
-
DATE: *id001
|
|
184
|
-
Expires:
|
|
185
|
-
- '0'
|
|
186
|
-
Pragma:
|
|
187
|
-
- no-cache
|
|
188
|
-
Referrer-Policy:
|
|
189
|
-
- no-referrer
|
|
190
|
-
Vary:
|
|
191
|
-
- Origin
|
|
192
|
-
- Access-Control-Request-Method
|
|
193
|
-
- Access-Control-Request-Headers
|
|
194
|
-
X-Content-Type-Options:
|
|
195
|
-
- nosniff
|
|
196
|
-
X-GDC-TRACE-ID: *id001
|
|
197
|
-
X-Xss-Protection:
|
|
198
|
-
- '0'
|
|
199
159
|
body:
|
|
200
160
|
string:
|
|
201
161
|
data:
|
|
@@ -394,6 +354,8 @@ interactions:
|
|
|
394
354
|
- measureHeader:
|
|
395
355
|
measureIndex: 3
|
|
396
356
|
grandTotals: []
|
|
357
|
+
metadata:
|
|
358
|
+
dataSourceMessages: []
|
|
397
359
|
paging:
|
|
398
360
|
count:
|
|
399
361
|
- 18
|
|
@@ -404,5 +366,18 @@ interactions:
|
|
|
404
366
|
total:
|
|
405
367
|
- 18
|
|
406
368
|
- 4
|
|
407
|
-
|
|
408
|
-
|
|
369
|
+
headers:
|
|
370
|
+
Content-Type:
|
|
371
|
+
- application/json
|
|
372
|
+
DATE: *id001
|
|
373
|
+
Expires:
|
|
374
|
+
- '0'
|
|
375
|
+
Pragma:
|
|
376
|
+
- no-cache
|
|
377
|
+
X-Content-Type-Options:
|
|
378
|
+
- nosniff
|
|
379
|
+
X-GDC-TRACE-ID: *id001
|
|
380
|
+
status:
|
|
381
|
+
code: 200
|
|
382
|
+
message: OK
|
|
383
|
+
version: 1
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
# (C) 2026 GoodData Corporation
|
|
2
|
-
version: 1
|
|
3
2
|
interactions:
|
|
4
3
|
- request:
|
|
5
|
-
method: POST
|
|
6
|
-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
|
|
7
4
|
body:
|
|
8
5
|
execution:
|
|
9
6
|
attributes: []
|
|
@@ -11,41 +8,41 @@ interactions:
|
|
|
11
8
|
measures:
|
|
12
9
|
- definition:
|
|
13
10
|
measure:
|
|
11
|
+
aggregation: SUM
|
|
12
|
+
computeRatio: false
|
|
13
|
+
filters: []
|
|
14
14
|
item:
|
|
15
15
|
identifier:
|
|
16
16
|
id: quantity
|
|
17
17
|
type: fact
|
|
18
|
-
aggregation: SUM
|
|
19
|
-
computeRatio: false
|
|
20
|
-
filters: []
|
|
21
18
|
localIdentifier: quantity
|
|
22
19
|
- definition:
|
|
23
20
|
measure:
|
|
21
|
+
aggregation: SUM
|
|
22
|
+
computeRatio: false
|
|
23
|
+
filters: []
|
|
24
24
|
item:
|
|
25
25
|
identifier:
|
|
26
26
|
id: price
|
|
27
27
|
type: fact
|
|
28
|
-
aggregation: SUM
|
|
29
|
-
computeRatio: false
|
|
30
|
-
filters: []
|
|
31
28
|
localIdentifier: price
|
|
32
29
|
- definition:
|
|
33
30
|
measure:
|
|
31
|
+
computeRatio: false
|
|
32
|
+
filters: []
|
|
34
33
|
item:
|
|
35
34
|
identifier:
|
|
36
35
|
id: percent_revenue_in_category
|
|
37
36
|
type: metric
|
|
38
|
-
computeRatio: false
|
|
39
|
-
filters: []
|
|
40
37
|
localIdentifier: percent_revenue_in_category
|
|
41
38
|
- definition:
|
|
42
39
|
measure:
|
|
40
|
+
computeRatio: false
|
|
41
|
+
filters: []
|
|
43
42
|
item:
|
|
44
43
|
identifier:
|
|
45
44
|
id: revenue
|
|
46
45
|
type: metric
|
|
47
|
-
computeRatio: false
|
|
48
|
-
filters: []
|
|
49
46
|
localIdentifier: revenue
|
|
50
47
|
resultSpec:
|
|
51
48
|
dimensions:
|
|
@@ -63,36 +60,9 @@ interactions:
|
|
|
63
60
|
- 'true'
|
|
64
61
|
X-Requested-With:
|
|
65
62
|
- XMLHttpRequest
|
|
63
|
+
method: POST
|
|
64
|
+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute
|
|
66
65
|
response:
|
|
67
|
-
status:
|
|
68
|
-
code: 200
|
|
69
|
-
message: OK
|
|
70
|
-
headers:
|
|
71
|
-
Cache-Control:
|
|
72
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
|
73
|
-
Content-Length:
|
|
74
|
-
- '465'
|
|
75
|
-
Content-Type:
|
|
76
|
-
- application/json
|
|
77
|
-
DATE: &id001
|
|
78
|
-
- PLACEHOLDER
|
|
79
|
-
Expires:
|
|
80
|
-
- '0'
|
|
81
|
-
Pragma:
|
|
82
|
-
- no-cache
|
|
83
|
-
Referrer-Policy:
|
|
84
|
-
- no-referrer
|
|
85
|
-
Vary:
|
|
86
|
-
- Origin
|
|
87
|
-
- Access-Control-Request-Method
|
|
88
|
-
- Access-Control-Request-Headers
|
|
89
|
-
X-Content-Type-Options:
|
|
90
|
-
- nosniff
|
|
91
|
-
X-Gdc-Cancel-Token:
|
|
92
|
-
- 79955fb8-cc71-4521-9c15-675b013d1c74
|
|
93
|
-
X-GDC-TRACE-ID: *id001
|
|
94
|
-
X-Xss-Protection:
|
|
95
|
-
- '0'
|
|
96
66
|
body:
|
|
97
67
|
string:
|
|
98
68
|
executionResponse:
|
|
@@ -101,18 +71,32 @@ interactions:
|
|
|
101
71
|
- measureGroupHeaders:
|
|
102
72
|
- localIdentifier: quantity
|
|
103
73
|
- localIdentifier: price
|
|
104
|
-
-
|
|
105
|
-
|
|
74
|
+
- format: '#,##0.0%'
|
|
75
|
+
localIdentifier: percent_revenue_in_category
|
|
106
76
|
name: '% Revenue in Category'
|
|
107
|
-
-
|
|
108
|
-
|
|
77
|
+
- format: $#,##0
|
|
78
|
+
localIdentifier: revenue
|
|
109
79
|
name: Revenue
|
|
110
80
|
localIdentifier: dim_0
|
|
111
81
|
links:
|
|
112
|
-
executionResult:
|
|
82
|
+
executionResult: EXECUTION_RESULT_1
|
|
83
|
+
headers:
|
|
84
|
+
Content-Type:
|
|
85
|
+
- application/json
|
|
86
|
+
DATE: &id001
|
|
87
|
+
- PLACEHOLDER
|
|
88
|
+
Expires:
|
|
89
|
+
- '0'
|
|
90
|
+
Pragma:
|
|
91
|
+
- no-cache
|
|
92
|
+
X-Content-Type-Options:
|
|
93
|
+
- nosniff
|
|
94
|
+
X-GDC-CANCEL-TOKEN: *id001
|
|
95
|
+
X-GDC-TRACE-ID: *id001
|
|
96
|
+
status:
|
|
97
|
+
code: 200
|
|
98
|
+
message: OK
|
|
113
99
|
- request:
|
|
114
|
-
method: GET
|
|
115
|
-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/56975cbe08024d150757b5a5de1b64c3e3948ff1%3A8e1cadd7ffa3122dec261230119d721fb0982535710e64bc682a98d4b800bd8a?offset=0&limit=256
|
|
116
100
|
body: null
|
|
117
101
|
headers:
|
|
118
102
|
Accept:
|
|
@@ -123,33 +107,9 @@ interactions:
|
|
|
123
107
|
- 'true'
|
|
124
108
|
X-Requested-With:
|
|
125
109
|
- XMLHttpRequest
|
|
110
|
+
method: GET
|
|
111
|
+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/EXECUTION_RESULT_1?offset=0&limit=256
|
|
126
112
|
response:
|
|
127
|
-
status:
|
|
128
|
-
code: 200
|
|
129
|
-
message: OK
|
|
130
|
-
headers:
|
|
131
|
-
Cache-Control:
|
|
132
|
-
- no-cache, no-store, max-age=0, must-revalidate
|
|
133
|
-
Content-Length:
|
|
134
|
-
- '345'
|
|
135
|
-
Content-Type:
|
|
136
|
-
- application/json
|
|
137
|
-
DATE: *id001
|
|
138
|
-
Expires:
|
|
139
|
-
- '0'
|
|
140
|
-
Pragma:
|
|
141
|
-
- no-cache
|
|
142
|
-
Referrer-Policy:
|
|
143
|
-
- no-referrer
|
|
144
|
-
Vary:
|
|
145
|
-
- Origin
|
|
146
|
-
- Access-Control-Request-Method
|
|
147
|
-
- Access-Control-Request-Headers
|
|
148
|
-
X-Content-Type-Options:
|
|
149
|
-
- nosniff
|
|
150
|
-
X-GDC-TRACE-ID: *id001
|
|
151
|
-
X-Xss-Protection:
|
|
152
|
-
- '0'
|
|
153
113
|
body:
|
|
154
114
|
string:
|
|
155
115
|
data:
|
|
@@ -169,6 +129,8 @@ interactions:
|
|
|
169
129
|
- measureHeader:
|
|
170
130
|
measureIndex: 3
|
|
171
131
|
grandTotals: []
|
|
132
|
+
metadata:
|
|
133
|
+
dataSourceMessages: []
|
|
172
134
|
paging:
|
|
173
135
|
count:
|
|
174
136
|
- 4
|
|
@@ -176,5 +138,18 @@ interactions:
|
|
|
176
138
|
- 0
|
|
177
139
|
total:
|
|
178
140
|
- 4
|
|
179
|
-
|
|
180
|
-
|
|
141
|
+
headers:
|
|
142
|
+
Content-Type:
|
|
143
|
+
- application/json
|
|
144
|
+
DATE: *id001
|
|
145
|
+
Expires:
|
|
146
|
+
- '0'
|
|
147
|
+
Pragma:
|
|
148
|
+
- no-cache
|
|
149
|
+
X-Content-Type-Options:
|
|
150
|
+
- nosniff
|
|
151
|
+
X-GDC-TRACE-ID: *id001
|
|
152
|
+
status:
|
|
153
|
+
code: 200
|
|
154
|
+
message: OK
|
|
155
|
+
version: 1
|