@@ -2,10 +2,9 @@ import keyBy from "lodash/keyBy";
22
33import { WHITELISTED_DATA_SOURCES } from "../env" ;
44
5- export const LEGACY_PROD_DATA_SOURCE_URL = "https://lindas.admin.ch/query" ;
5+ export const UNCACHED_PROD_DATA_SOURCE_URL = "https://lindas.admin.ch/query" ;
66
7- export const PROD_DATA_SOURCE_URL =
8- "https://lindas-cached.cluster.ldbar.ch/query" ;
7+ export const PROD_DATA_SOURCE_URL = "https://cached.lindas.admin.ch/query" ;
98
109interface SourceOption {
1110 value : string ;
@@ -26,32 +25,13 @@ export const SOURCE_OPTIONS: SourceOption[] = [
2625 supportsCachingPerCubeIri : true ,
2726 } ,
2827 {
29- value : " sparql+https://lindas.admin.ch/query" ,
28+ value : ` sparql+${ UNCACHED_PROD_DATA_SOURCE_URL } ` ,
3029 key : "Prod-uncached" ,
3130 label : "LINDAS PROD (uncached)" ,
32- url : "https://lindas.admin.ch/query" ,
31+ url : UNCACHED_PROD_DATA_SOURCE_URL ,
3332 isTrusted : true ,
3433 supportsCachingPerCubeIri : true ,
3534 } ,
36-
37- // For LINDASnext
38- {
39- value : "sparql+https://cached.lindas.admin.ch/query" ,
40- key : "LINDASnext-Prod" ,
41- label : "LINDASnext PROD" ,
42- url : "https://cached.lindas.admin.ch/query" ,
43- isTrusted : true ,
44- supportsCachingPerCubeIri : true ,
45- } ,
46- {
47- value : "sparql+https://lindas.cz-aws.net/query" ,
48- key : "LINDASnext-Prod-uncached" ,
49- label : "LINDASnext PROD (uncached)" ,
50- url : "https://lindas.cz-aws.net/query" ,
51- isTrusted : false ,
52- supportsCachingPerCubeIri : true ,
53- } ,
54- // Migration done for the following data sources
5535 {
5636 value : "sparql+https://int.cached.lindas.admin.ch/query" ,
5737 key : "Int" ,
@@ -86,6 +66,22 @@ export const SOURCE_OPTIONS: SourceOption[] = [
8666 } ,
8767
8868 // For LINDASold
69+ {
70+ value : "sparql+https://lindas-cached.cluster.ldbar.ch/query" ,
71+ key : "LINDASold-Prod" ,
72+ label : "LINDASold PROD" ,
73+ url : "https://lindas-cached.cluster.ldbar.ch/query" ,
74+ isTrusted : false ,
75+ supportsCachingPerCubeIri : true ,
76+ } ,
77+ {
78+ value : "sparql+https://old.ld.ldbar.ch/query" ,
79+ key : "LINDASold-Prod-uncached" ,
80+ label : "LINDASold PROD (uncached)" ,
81+ url : "https://old.ld.ldbar.ch/query" ,
82+ isTrusted : false ,
83+ supportsCachingPerCubeIri : true ,
84+ } ,
8985 {
9086 value : "sparql+https://lindas-cached.int.cluster.ldbar.ch/query" ,
9187 key : "LINDASold-Int" ,
0 commit comments