Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ You can also check the

## Unreleased

- Maintenance
- Remove LINDASold endpoints

### 6.4.0 – 2026-03-13

- Maintenance
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/components/add-dataset-drawer.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const photovoltaikChartStateMock: ConfiguratorStateConfiguringChart = {
state: "CONFIGURING_CHART",
dataSource: {
type: "sparql",
url: "https://lindas-cached.int.cluster.ldbar.ch/query",
url: "https://int.cached.lindas.admin.ch/query",
},
layout: {
activeField: "y",
Expand Down
50 changes: 0 additions & 50 deletions app/domain/data-source/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,56 +64,6 @@ export const SOURCE_OPTIONS: SourceOption[] = [
isTrusted: false,
supportsCachingPerCubeIri: true,
},

// For LINDASold
{
value: "sparql+https://lindas-cached.cluster.ldbar.ch/query",
key: "LINDASold-Prod",
label: "LINDASold PROD",
url: "https://lindas-cached.cluster.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://old.ld.ldbar.ch/query",
key: "LINDASold-Prod-uncached",
label: "LINDASold PROD (uncached)",
url: "https://old.ld.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://lindas-cached.int.cluster.ldbar.ch/query",
key: "LINDASold-Int",
label: "LINDASold INT",
url: "https://lindas-cached.int.cluster.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://old.int.ld.ldbar.ch/query",
key: "LINDASold-Int-uncached",
label: "LINDASold INT (uncached)",
url: "https://old.int.ld.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://lindas-cached.test.cluster.ldbar.ch/query",
key: "LINDASold-Test",
label: "LINDASold TEST",
url: "https://lindas-cached.test.cluster.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://old.test.ld.ldbar.ch/query",
key: "LINDASold-Test-uncached",
label: "LINDASold TEST (uncached)",
url: "https://old.test.ld.ldbar.ch/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
].filter((d) => WHITELISTED_DATA_SOURCES.includes(d.key));

export const SOURCES_BY_KEY = keyBy(SOURCE_OPTIONS, (d) => d.key);
Expand Down
2 changes: 1 addition & 1 deletion app/pages/_pivot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Card = styled(MUICard)({
});

const intDatasource = {
sourceUrl: "https://lindas-cached.int.cluster.ldbar.ch/query",
sourceUrl: "https://int.cached.lindas.admin.ch/query",
sourceType: "sparql",
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dataSet": "https://environment.ld.admin.ch/foen/ubd0104/11",
"dataSource": {
"url": "https://lindas-cached.int.cluster.ldbar.ch/query",
"url": "https://int.cached.lindas.admin.ch/query",
"type": "sparql"
},
"chartConfig": {
Expand Down
2 changes: 1 addition & 1 deletion app/test/__fixtures/config/int/column-heavy-metals.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dataSet": "https://environment.ld.admin.ch/foen/ubd0066/15",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"chartConfig": {
"version": "1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion app/test/__fixtures/config/int/map-nfi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dataSet": "https://environment.ld.admin.ch/foen/nfi/nfi_C-98/cube/2023-1",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"meta": {
"title": {
Expand Down
30 changes: 24 additions & 6 deletions app/test/__fixtures/config/int/pie-red-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dataSet": "https://environment.ld.admin.ch/foen/UBD003002/5",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"meta": {
"title": {
Expand All @@ -13,7 +13,12 @@
"it": "",
"en": "Amphibians red list status"
},
"description": { "de": "", "fr": "", "it": "", "en": "" }
"description": {
"de": "",
"fr": "",
"it": "",
"en": ""
}
},
"chartConfig": {
"version": "1.2.1",
Expand All @@ -25,13 +30,23 @@
}
},
"interactiveFiltersConfig": {
"legend": { "active": false, "componentIri": "" },
"legend": {
"active": false,
"componentIri": ""
},
"timeRange": {
"active": false,
"componentIri": "",
"presets": { "type": "range", "from": "", "to": "" }
"presets": {
"type": "range",
"from": "",
"to": ""
}
},
"dataFilters": { "active": false, "componentIris": [] }
"dataFilters": {
"active": false,
"componentIris": []
}
},
"fields": {
"y": {
Expand All @@ -40,7 +55,10 @@
"segment": {
"componentIri": "https://environment.ld.admin.ch/foen/UBD003002/status",
"palette": "category10",
"sorting": { "sortingType": "byMeasure", "sortingOrder": "asc" },
"sorting": {
"sortingType": "byMeasure",
"sortingOrder": "asc"
},
"colorMapping": {
"https://environment.ld.admin.ch/foen/UBD003002/Status/DD": "#1f77b4",
"https://environment.ld.admin.ch/foen/UBD003002/Status/LC": "#ff7f0e",
Expand Down
25 changes: 20 additions & 5 deletions app/test/__fixtures/config/int/scatterplot-palmer-penguins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"dataSet": "https://environment.ld.admin.ch/foen/palmer-penguins/18",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"meta": {
"title": {
Expand All @@ -14,7 +14,12 @@
"it": "",
"en": "Mean bill depth vs mean bill depth for Adelie Penguins"
},
"description": { "de": "", "fr": "", "it": "", "en": "" }
"description": {
"de": "",
"fr": "",
"it": "",
"en": ""
}
},
"chartConfig": {
"version": "1.2.1",
Expand All @@ -35,13 +40,23 @@
},
"cubes": [],
"interactiveFiltersConfig": {
"legend": { "active": false, "componentIri": "" },
"legend": {
"active": false,
"componentIri": ""
},
"timeRange": {
"active": false,
"componentIri": "",
"presets": { "type": "range", "from": "", "to": "" }
"presets": {
"type": "range",
"from": "",
"to": ""
}
},
"dataFilters": { "active": false, "componentIris": [] }
"dataFilters": {
"active": false,
"componentIris": []
}
},
"fields": {
"x": {
Expand Down
36 changes: 29 additions & 7 deletions e2e/fixtures/hierarchy-test-13-municipality-population.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@
"dataSet": "https://environment.ld.admin.ch/foen/fab_hierarchy_test12_switzerland_canton_municipality/5",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"meta": {
"title": { "de": "", "fr": "", "it": "", "en": "" },
"description": { "de": "", "fr": "", "it": "", "en": "" }
"title": {
"de": "",
"fr": "",
"it": "",
"en": ""
},
"description": {
"de": "",
"fr": "",
"it": "",
"en": ""
}
},
"chartConfig": {
"version": "1.3.0",
Expand All @@ -26,14 +36,26 @@
}
},
"interactiveFiltersConfig": {
"legend": { "active": false, "componentIri": "" },
"legend": {
"active": false,
"componentIri": ""
},
"timeRange": {
"active": false,
"componentIri": "",
"presets": { "type": "range", "from": "", "to": "" }
"presets": {
"type": "range",
"from": "",
"to": ""
}
},
"timeSlider": {
"componentIri": ""
},
"timeSlider": { "componentIri": "" },
"dataFilters": { "active": false, "componentIris": [] }
"dataFilters": {
"active": false,
"componentIris": []
}
},
"fields": {
"x": {
Expand Down
42 changes: 34 additions & 8 deletions e2e/fixtures/offentliche-ausgaben-chart-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@
"dataSet": "https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/7",
"dataSource": {
"type": "sparql",
"url": "https://lindas-cached.int.cluster.ldbar.ch/query"
"url": "https://int.cached.lindas.admin.ch/query"
},
"meta": {
"title": { "de": "", "fr": "", "it": "", "en": "" },
"description": { "de": "", "fr": "", "it": "", "en": "" }
"title": {
"de": "",
"fr": "",
"it": "",
"en": ""
},
"description": {
"de": "",
"fr": "",
"it": "",
"en": ""
}
},
"chartConfig": {
"version": "1.2.1",
Expand All @@ -27,18 +37,31 @@
}
},
"interactiveFiltersConfig": {
"legend": { "active": false, "componentIri": "" },
"legend": {
"active": false,
"componentIri": ""
},
"timeRange": {
"active": false,
"componentIri": "",
"presets": { "type": "range", "from": "", "to": "" }
"presets": {
"type": "range",
"from": "",
"to": ""
}
},
"dataFilters": { "active": false, "componentIris": [] }
"dataFilters": {
"active": false,
"componentIris": []
}
},
"fields": {
"x": {
"componentIri": "https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/jahr",
"sorting": { "sortingType": "byDimensionLabel", "sortingOrder": "asc" }
"sorting": {
"sortingType": "byDimensionLabel",
"sortingOrder": "asc"
}
},
"y": {
"componentIri": "https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/in-pct"
Expand All @@ -47,7 +70,10 @@
"componentIri": "https://environment.ld.admin.ch/foen/fab_Offentliche_Ausgaben_test3/code",
"palette": "category10",
"type": "stacked",
"sorting": { "sortingType": "byDimensionLabel", "sortingOrder": "asc" },
"sorting": {
"sortingType": "byDimensionLabel",
"sortingOrder": "asc"
},
"colorMapping": {
"https://ld.admin.ch/cube/dimension/cofog/gf01": "#1f77b4",
"https://ld.admin.ch/cube/dimension/cofog/gf0101": "#ff7f0e",
Expand Down
2 changes: 1 addition & 1 deletion e2e/limits.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const CONFIGURATOR_STATE = {
state: "CONFIGURING_CHART",
dataSource: {
type: "sparql",
url: "https://lindas-cached.int.cluster.ldbar.ch/query",
url: "https://int.cached.lindas.admin.ch/query",
},
layout: {
type: "tab",
Expand Down
2 changes: 1 addition & 1 deletion e2e/query-hierarchies.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const runTest = async ({
const res = await client
.query(DimensionHierarchyDocument, {
cubeIri: cubeIri,
sourceUrl: "https://lindas-cached.int.cluster.ldbar.ch/query",
sourceUrl: "https://int.cached.lindas.admin.ch/query",
sourceType: "sparql",
dimensionIri: "https://environment.ld.admin.ch/foen/nfi/unitOfReference",
locale,
Expand Down
Loading