Skip to content

Commit 4c02215

Browse files
committed
chore: regenerate test fixtures from latest staging
Update load YAML files, expected JSON files, and refresh data to match the current staging API which now returns isNullable on LDM entities and parameters on DeclarativeAnalyticsLayer. risk: low
1 parent 68c50b4 commit 4c02215

171 files changed

Lines changed: 4763 additions & 2366 deletions

File tree

Some content is hidden

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

packages/gooddata-sdk/tests/catalog/expected/declarative_analytics_model.json

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@
6969
},
7070
"version": "2"
7171
},
72+
"id": "campaign",
73+
"title": "Campaign",
74+
"description": "",
7275
"permissions": [
7376
{
77+
"name": "VIEW",
7478
"assigneeRule": {
7579
"type": "allWorkspaceUsers"
76-
},
77-
"name": "VIEW"
80+
}
7881
}
79-
],
80-
"description": "",
81-
"id": "campaign",
82-
"title": "Campaign"
82+
]
8383
},
8484
{
8585
"content": {
@@ -353,9 +353,9 @@
353353
},
354354
"version": "2"
355355
},
356-
"description": "",
357356
"id": "product_and_category",
358-
"title": "Product & Category"
357+
"title": "Product & Category",
358+
"description": ""
359359
}
360360
],
361361
"analyticalDashboardExtensions": [],
@@ -366,18 +366,18 @@
366366
"url": "https://www.example.com",
367367
"version": "2"
368368
},
369-
"description": "Testing record dashboard_plugin_1",
370369
"id": "dashboard_plugin_1",
371-
"title": "dashboard_plugin_1"
370+
"title": "dashboard_plugin_1",
371+
"description": "Testing record dashboard_plugin_1"
372372
},
373373
{
374374
"content": {
375375
"url": "https://www.example.com",
376376
"version": "2"
377377
},
378-
"description": "Testing record dashboard_plugin_2",
379378
"id": "dashboard_plugin_2",
380-
"title": "dashboard_plugin_2"
379+
"title": "dashboard_plugin_2",
380+
"description": "Testing record dashboard_plugin_2"
381381
}
382382
],
383383
"filterContexts": [
@@ -411,9 +411,9 @@
411411
],
412412
"version": "2"
413413
},
414-
"description": "",
415414
"id": "campaign_name_filter",
416-
"title": "filterContext"
415+
"title": "filterContext",
416+
"description": ""
417417
},
418418
{
419419
"content": {
@@ -437,12 +437,11 @@
437437
],
438438
"version": "2"
439439
},
440-
"description": "",
441440
"id": "region_filter",
442-
"title": "filterContext"
441+
"title": "filterContext",
442+
"description": ""
443443
}
444444
],
445-
"memoryItems": [],
446445
"metrics": [
447446
{
448447
"content": {
@@ -473,9 +472,9 @@
473472
"format": "#,##0.00",
474473
"maql": "SELECT {metric/amount_of_orders} WHERE NOT ({label/order_status} IN (\"Returned\", \"Canceled\"))"
475474
},
476-
"description": "",
477475
"id": "amount_of_valid_orders",
478-
"title": "# of Valid Orders"
476+
"title": "# of Valid Orders",
477+
"description": ""
479478
},
480479
{
481480
"content": {
@@ -554,9 +553,9 @@
554553
"format": "$#,##0",
555554
"maql": "SELECT {metric/order_amount} WHERE NOT ({label/order_status} IN (\"Returned\", \"Canceled\"))"
556555
},
557-
"description": "",
558556
"id": "revenue",
559-
"title": "Revenue"
557+
"title": "Revenue",
558+
"description": ""
560559
},
561560
{
562561
"content": {
@@ -827,9 +826,9 @@
827826
"type": "dataset"
828827
}
829828
},
830-
"from": -11,
829+
"from": -12,
831830
"granularity": "GDC.time.month",
832-
"to": 0
831+
"to": -1
833832
}
834833
}
835834
],
@@ -2251,6 +2250,8 @@
22512250
"title": "Top 10 Products"
22522251
}
22532252
],
2254-
"exportDefinitions": []
2253+
"exportDefinitions": [],
2254+
"memoryItems": [],
2255+
"parameters": []
22552256
}
22562257
}

packages/gooddata-sdk/tests/catalog/expected/declarative_analytics_model_child.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,21 @@
66
"id": "campaign",
77
"permissions": [
88
{
9+
"name": "VIEW",
910
"assigneeRule": {
1011
"type": "allWorkspaceUsers"
11-
},
12-
"name": "VIEW"
12+
}
1313
}
1414
]
1515
}
1616
],
1717
"attributeHierarchies": [],
1818
"dashboardPlugins": [],
1919
"filterContexts": [],
20-
"memoryItems": [],
2120
"metrics": [],
2221
"visualizationObjects": [],
23-
"exportDefinitions": []
22+
"exportDefinitions": [],
23+
"memoryItems": [],
24+
"parameters": []
2425
}
2526
}

0 commit comments

Comments
 (0)