Skip to content

Commit 09f2917

Browse files
committed
fix(docker): add missing api-gw env vars and regenerate cassettes
The latest gateway-api-gw image requires GRPC_MDSINK_HOST/PORT and GEN_AI_HTTP_HOST/PORT environment variables. Without these, api-gw crashes on startup, blocking the bootstrap sequence. Also regenerates VCR cassettes to match current API responses.
1 parent afa26b2 commit 09f2917

File tree

124 files changed

+2421
-2411
lines changed

Some content is hidden

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

124 files changed

+2421
-2411
lines changed

docker-compose.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,8 @@ services:
478478
environment:
479479
AFM_EXEC_SERVICE_HOST: afm-exec-api
480480
AFM_EXEC_SERVICE_PORT: 9000
481+
GEN_AI_HTTP_HOST: localhost
482+
GEN_AI_HTTP_PORT: 8989
481483
AUTH_SERVICE_HOST: auth-service
482484
AUTH_SERVICE_PORT: 9050
483485
AUTOMATION_HOST: automation
@@ -500,6 +502,8 @@ services:
500502
MCP_SERVER_PORT: 9200
501503
GRPC_METADATA_HOST: metadata-api
502504
GRPC_METADATA_PORT: 6572
505+
GRPC_MDSINK_HOST: gateway-md-sink
506+
GRPC_MDSINK_PORT: 6574
503507
GATEWAY_ORGANIZATION_RESOLVER_TYPE: GRPC_WITH_DB_VALIDATION
504508
GATEWAY_R2DBC_URL: 'r2dbc:postgresql://postgres:5432/gw?reWriteBatchedInserts=true'
505509
GATEWAY_DB_USERNAME: postgres

packages/gooddata-fdw/tests/execute/fixtures/execute_compute_table_all_columns.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ interactions:
103103
X-Content-Type-Options:
104104
- nosniff
105105
X-Gdc-Cancel-Token:
106-
- 75ebf79c-8b57-413e-8905-8f87c275d7c7
106+
- d9864393-ac2a-4c0a-b3ea-aa9e5abb9b70
107107
X-GDC-TRACE-ID: *id001
108108
X-Xss-Protection:
109109
- '0'
@@ -155,10 +155,10 @@ interactions:
155155
name: Revenue
156156
localIdentifier: dim_1
157157
links:
158-
executionResult: d60b337013fca31600abb3d636b0552824481d3d:3b1a7fd80969c75386d4191687e7aac6411e48e74da9eaa0c44699c8b65e5771
158+
executionResult: a25bd79d690d6196246e00dcba57712fc434bd1e:20b1683c82bd7eab9a6110480cce897ed8639125e12564ab7a9b199c38f5b081
159159
- request:
160160
method: GET
161-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/d60b337013fca31600abb3d636b0552824481d3d%3A3b1a7fd80969c75386d4191687e7aac6411e48e74da9eaa0c44699c8b65e5771?offset=0%2C0&limit=512%2C256
161+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a25bd79d690d6196246e00dcba57712fc434bd1e%3A20b1683c82bd7eab9a6110480cce897ed8639125e12564ab7a9b199c38f5b081?offset=0%2C0&limit=512%2C256
162162
body: null
163163
headers:
164164
Accept:

packages/gooddata-fdw/tests/execute/fixtures/execute_compute_table_metrics_only.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ interactions:
8989
X-Content-Type-Options:
9090
- nosniff
9191
X-Gdc-Cancel-Token:
92-
- 89bdbce1-989f-4d02-a05b-c4651acb16f1
92+
- c734cef7-e489-4753-b34e-d4b6d19d5e35
9393
X-GDC-TRACE-ID: *id001
9494
X-Xss-Protection:
9595
- '0'
@@ -109,10 +109,10 @@ interactions:
109109
name: Revenue
110110
localIdentifier: dim_0
111111
links:
112-
executionResult: 0f6e8c819d2076d126957770f4de7c7cfdbe94f2:b9fb86afba4a0826554e9283de0216a56182a625b327e2f2086007c84261356b
112+
executionResult: a6c97ee6a244521dfb7c5bd6ffb34e93baecdcc5:eda7cc427233858f3b2b46329904531410365a20487e2ebe8361446ec734ff3f
113113
- request:
114114
method: GET
115-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/0f6e8c819d2076d126957770f4de7c7cfdbe94f2%3Ab9fb86afba4a0826554e9283de0216a56182a625b327e2f2086007c84261356b?offset=0&limit=256
115+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/a6c97ee6a244521dfb7c5bd6ffb34e93baecdcc5%3Aeda7cc427233858f3b2b46329904531410365a20487e2ebe8361446ec734ff3f?offset=0&limit=256
116116
body: null
117117
headers:
118118
Accept:

packages/gooddata-fdw/tests/execute/fixtures/execute_compute_table_with_reduced_granularity.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ interactions:
7878
X-Content-Type-Options:
7979
- nosniff
8080
X-Gdc-Cancel-Token:
81-
- 3faa3be7-abe9-4ea1-970b-9e4ea6761c55
81+
- 48a7f8d7-8e1d-48f0-b4e9-1843f4a32f70
8282
X-GDC-TRACE-ID: *id001
8383
X-Xss-Protection:
8484
- '0'
@@ -111,10 +111,10 @@ interactions:
111111
name: Revenue
112112
localIdentifier: dim_1
113113
links:
114-
executionResult: 8fc634415680e148db8133f5bcd7246f5e0a3c66:660c43f4d90efd070912c98150124c6fdf8549fed14b6eb512a830ff17d7f8b3
114+
executionResult: 1c8a8d0eb53912d784b65063c26f913b0b18d952:54c72a97fc224a9abadc15b2ff2f416c182af9b5d412663bc0ee0978da974be6
115115
- request:
116116
method: GET
117-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8fc634415680e148db8133f5bcd7246f5e0a3c66%3A660c43f4d90efd070912c98150124c6fdf8549fed14b6eb512a830ff17d7f8b3?offset=0%2C0&limit=512%2C256
117+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/1c8a8d0eb53912d784b65063c26f913b0b18d952%3A54c72a97fc224a9abadc15b2ff2f416c182af9b5d412663bc0ee0978da974be6?offset=0%2C0&limit=512%2C256
118118
body: null
119119
headers:
120120
Accept:

packages/gooddata-fdw/tests/execute/fixtures/execute_insight_all_columns.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ interactions:
375375
X-Content-Type-Options:
376376
- nosniff
377377
X-Gdc-Cancel-Token:
378-
- 9773d1f6-996c-41d2-bf00-605307ab0284
378+
- 466d13f5-b17e-4fe2-ae20-ab164bb51af4
379379
X-GDC-TRACE-ID: *id001
380380
X-Xss-Protection:
381381
- '0'
@@ -427,10 +427,10 @@ interactions:
427427
name: Revenue
428428
localIdentifier: dim_1
429429
links:
430-
executionResult: b83f490bb62cdbf7c4775031d6be518ec4b6c922:87b0990eecc60e2913654ddb0e0bab5a51cfc352ae558cbc0e55a0f98fdb2e37
430+
executionResult: 8784b17f2b3dfe33a3f74f622cda4a7d45fa5698:0ccc9db8bf509fced9443d1cca405bc48fb287d977ab4effd1cc95e6f372b03e
431431
- request:
432432
method: GET
433-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b83f490bb62cdbf7c4775031d6be518ec4b6c922%3A87b0990eecc60e2913654ddb0e0bab5a51cfc352ae558cbc0e55a0f98fdb2e37?offset=0%2C0&limit=512%2C256
433+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8784b17f2b3dfe33a3f74f622cda4a7d45fa5698%3A0ccc9db8bf509fced9443d1cca405bc48fb287d977ab4effd1cc95e6f372b03e?offset=0%2C0&limit=512%2C256
434434
body: null
435435
headers:
436436
Accept:

packages/gooddata-fdw/tests/execute/fixtures/execute_insight_some_columns.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ interactions:
375375
X-Content-Type-Options:
376376
- nosniff
377377
X-Gdc-Cancel-Token:
378-
- 66d702d3-4533-4a10-91db-ea0e4c97625c
378+
- 9f593c36-2447-440c-894e-14e8be58a021
379379
X-GDC-TRACE-ID: *id001
380380
X-Xss-Protection:
381381
- '0'
@@ -427,10 +427,10 @@ interactions:
427427
name: Revenue
428428
localIdentifier: dim_1
429429
links:
430-
executionResult: b83f490bb62cdbf7c4775031d6be518ec4b6c922:87b0990eecc60e2913654ddb0e0bab5a51cfc352ae558cbc0e55a0f98fdb2e37
430+
executionResult: 8784b17f2b3dfe33a3f74f622cda4a7d45fa5698:0ccc9db8bf509fced9443d1cca405bc48fb287d977ab4effd1cc95e6f372b03e
431431
- request:
432432
method: GET
433-
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/b83f490bb62cdbf7c4775031d6be518ec4b6c922%3A87b0990eecc60e2913654ddb0e0bab5a51cfc352ae558cbc0e55a0f98fdb2e37?offset=0%2C0&limit=512%2C256
433+
uri: http://localhost:3000/api/v1/actions/workspaces/demo/execution/afm/execute/result/8784b17f2b3dfe33a3f74f622cda4a7d45fa5698%3A0ccc9db8bf509fced9443d1cca405bc48fb287d977ab4effd1cc95e6f372b03e?offset=0%2C0&limit=512%2C256
434434
body: null
435435
headers:
436436
Accept:

packages/gooddata-fdw/tests/import_foreign_schema/fixtures/import_compute_without_restrictions.yaml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,10 @@ interactions:
530530
type: dataset
531531
labels:
532532
data:
533-
- id: state
534-
type: label
535533
- id: geo__state__location
536534
type: label
535+
- id: state
536+
type: label
537537
type: attribute
538538
- attributes:
539539
title: Type
@@ -614,43 +614,43 @@ interactions:
614614
sourceColumns: null
615615
sourceColumnDataTypes: null
616616
- identifier:
617-
id: products
617+
id: customers
618618
type: dataset
619619
multivalue: false
620620
sources:
621-
- column: product_id
621+
- column: customer_id
622622
dataType: INT
623623
target:
624-
id: product_id
624+
id: customer_id
625625
type: attribute
626626
isNullable: null
627627
nullValue: null
628628
sourceColumns: null
629629
sourceColumnDataTypes: null
630630
- identifier:
631-
id: customers
631+
id: date
632632
type: dataset
633633
multivalue: false
634634
sources:
635-
- column: customer_id
636-
dataType: INT
635+
- column: date
636+
dataType: DATE
637637
target:
638-
id: customer_id
639-
type: attribute
638+
id: date
639+
type: date
640640
isNullable: null
641641
nullValue: null
642642
sourceColumns: null
643643
sourceColumnDataTypes: null
644644
- identifier:
645-
id: date
645+
id: products
646646
type: dataset
647647
multivalue: false
648648
sources:
649-
- column: date
650-
dataType: DATE
649+
- column: product_id
650+
dataType: INT
651651
target:
652-
id: date
653-
type: date
652+
id: product_id
653+
type: attribute
654654
isNullable: null
655655
nullValue: null
656656
sourceColumns: null
@@ -660,10 +660,10 @@ interactions:
660660
- demo
661661
- order_lines
662662
workspaceDataFilterColumns:
663-
- name: wdf__region
664-
dataType: STRING
665663
- name: wdf__state
666664
dataType: STRING
665+
- name: wdf__region
666+
dataType: STRING
667667
workspaceDataFilterReferences:
668668
- filterId:
669669
id: wdf__state
@@ -1276,43 +1276,43 @@ interactions:
12761276
sourceColumns: null
12771277
sourceColumnDataTypes: null
12781278
- identifier:
1279-
id: products
1279+
id: customers
12801280
type: dataset
12811281
multivalue: false
12821282
sources:
1283-
- column: product_id
1283+
- column: customer_id
12841284
dataType: INT
12851285
target:
1286-
id: product_id
1286+
id: customer_id
12871287
type: attribute
12881288
isNullable: null
12891289
nullValue: null
12901290
sourceColumns: null
12911291
sourceColumnDataTypes: null
12921292
- identifier:
1293-
id: customers
1293+
id: date
12941294
type: dataset
12951295
multivalue: false
12961296
sources:
1297-
- column: customer_id
1298-
dataType: INT
1297+
- column: date
1298+
dataType: DATE
12991299
target:
1300-
id: customer_id
1301-
type: attribute
1300+
id: date
1301+
type: date
13021302
isNullable: null
13031303
nullValue: null
13041304
sourceColumns: null
13051305
sourceColumnDataTypes: null
13061306
- identifier:
1307-
id: date
1307+
id: products
13081308
type: dataset
13091309
multivalue: false
13101310
sources:
1311-
- column: date
1312-
dataType: DATE
1311+
- column: product_id
1312+
dataType: INT
13131313
target:
1314-
id: date
1315-
type: date
1314+
id: product_id
1315+
type: attribute
13161316
isNullable: null
13171317
nullValue: null
13181318
sourceColumns: null
@@ -1323,10 +1323,10 @@ interactions:
13231323
- order_lines
13241324
areRelationsValid: true
13251325
workspaceDataFilterColumns:
1326-
- name: wdf__region
1327-
dataType: STRING
13281326
- name: wdf__state
13291327
dataType: STRING
1328+
- name: wdf__region
1329+
dataType: STRING
13301330
workspaceDataFilterReferences:
13311331
- filterId:
13321332
id: wdf__state

0 commit comments

Comments
 (0)