Skip to content
Merged
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
2 changes: 1 addition & 1 deletion app/browse/lib/use-redirect-to-latest-cube.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("use redirect to versioned cube", () => {
datasetIri,
dataSource: {
type: "sparql",
url: "https://int.lindas.admin.ch/query",
url: "https://lindas.int.cz-aws.net/query",
},
})
);
Expand Down
4 changes: 2 additions & 2 deletions app/components/debug-search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ const Search = ({
export const DebugSearch = () => {
const [includeDrafts, setIncludeDrafts] = useState(false);
const [sourceUrl, setSourceUrl] = useState(
"https://int.lindas.admin.ch/query"
"https://lindas.int.cz-aws.net/query"
);

const [customSearch, setCustomSearch] = useState("");
Expand Down Expand Up @@ -225,7 +225,7 @@ export const DebugSearch = () => {
onChange={(ev) => setSourceUrl(ev.target.value)}
value={sourceUrl}
>
<MenuItem value="https://int.lindas.admin.ch/query">int</MenuItem>
<MenuItem value="https://lindas.int.cz-aws.net/query">int</MenuItem>
<MenuItem value="https://lindas.admin.ch/query">prod</MenuItem>
</Select>
<TextField
Expand Down
6 changes: 3 additions & 3 deletions app/components/graphql-joinby.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const combinations: {
{
id: 1,
name: "Photovoltaik + Hydropowerplants",
sourceUrl: "https://int.lindas.admin.ch/query",
sourceUrl: "https://lindas.int.cz-aws.net/query",
cubes: [
{
iri: "https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/14",
Expand Down Expand Up @@ -70,7 +70,7 @@ const combinations: {
{
id: 2,
name: "Photovoltaik + Photovoltaik GEB",
sourceUrl: "https://int.lindas.admin.ch/query",
sourceUrl: "https://lindas.int.cz-aws.net/query",
cubes: [
{
iri: "https://energy.ld.admin.ch/sfoe/bfe_ogd84_einmalverguetung_fuer_photovoltaikanlagen/14",
Expand Down Expand Up @@ -100,7 +100,7 @@ const combinations: {
{
id: 3,
name: "NFI Cube + Electrical consumption",
sourceUrl: "https://int.lindas.admin.ch/query",
sourceUrl: "https://lindas.int.cz-aws.net/query",
cubes: [
{
iri: "https://environment.ld.admin.ch/foen/nfi/nfi_T-changes/cube/2024-1",
Expand Down
2 changes: 1 addition & 1 deletion app/components/graphql-search.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const Search = () => {
variables: {
locale: "en",
sourceType: "sparql",
sourceUrl: "https://int.lindas.admin.ch/query",
sourceUrl: "https://lindas.int.cz-aws.net/query",
filters: [
sharedComponents
? {
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://lindas-cached.int.cz-aws.net/query",
},
layout: {
activeField: "y",
Expand Down
2 changes: 1 addition & 1 deletion app/configurator/configurator-state/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const configStateMock = {
state: "CONFIGURING_CHART",
dataSource: {
type: "sparql",
url: "https://test.lindas.admin.ch/query",
url: "https://lindas.test.cz-aws.net/query",
},
layout: {
type: "tab",
Expand Down
16 changes: 8 additions & 8 deletions app/domain/data-source/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ export const SOURCE_OPTIONS = [
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://lindas-cached.int.cluster.ldbar.ch/query",
value: "sparql+https://lindas-cached.int.cz-aws.net/query",
label: "Int",
url: "https://lindas-cached.int.cluster.ldbar.ch/query",
url: "https://lindas-cached.int.cz-aws.net/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://int.lindas.admin.ch/query",
value: "sparql+https://lindas.int.cz-aws.net/query",
label: "Int-uncached",
url: "https://int.lindas.admin.ch/query",
url: "https://lindas.int.cz-aws.net/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://lindas-cached.test.cluster.ldbar.ch/query",
value: "sparql+https://lindas-cached.test.cz-aws.net/query",
label: "Test",
url: "https://lindas-cached.test.cluster.ldbar.ch/query",
url: "https://lindas-cached.test.cz-aws.net/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
{
value: "sparql+https://test.lindas.admin.ch/query",
value: "sparql+https://lindas.test.cz-aws.net/query",
label: "Test-uncached",
url: "https://test.lindas.admin.ch/query",
url: "https://lindas.test.cz-aws.net/query",
isTrusted: false,
supportsCachingPerCubeIri: true,
},
Expand Down
4 changes: 2 additions & 2 deletions app/domain/data-source/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe("datasource state hook", () => {

expect(getState()).toEqual({
type: "sparql",
url: "https://lindas-cached.test.cluster.ldbar.ch/query",
url: "https://lindas-cached.test.cz-aws.net/query",
});
expect(setURLParam).toHaveBeenCalledWith("dataSource", "Test");
});
Expand All @@ -113,7 +113,7 @@ describe("datasource state hook", () => {

expect(getState()).toEqual({
type: "sparql",
url: "https://lindas-cached.test.cluster.ldbar.ch/query",
url: "https://lindas-cached.test.cz-aws.net/query",
});
});

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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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://lindas-cached.int.cz-aws.net/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
Loading
Loading