From 0bf24a84e6b6635235a6f9bec06a7e389b12ecda Mon Sep 17 00:00:00 2001 From: Bartosz Prusinowski Date: Thu, 14 Dec 2023 14:21:12 +0100 Subject: [PATCH] feat: Only point to LINDAS prod --- k6/performance-tests/graphql/DataCubeComponents.js | 2 +- k6/performance-tests/graphql/DataCubeMetadata.js | 2 +- k6/performance-tests/graphql/DataCubePreview.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/k6/performance-tests/graphql/DataCubeComponents.js b/k6/performance-tests/graphql/DataCubeComponents.js index 5396d989a..2809d1fc9 100644 --- a/k6/performance-tests/graphql/DataCubeComponents.js +++ b/k6/performance-tests/graphql/DataCubeComponents.js @@ -22,7 +22,7 @@ const cubeLabel = __ENV.CUBE_LABEL; const variables = { locale: "en", sourceType: "sparql", - sourceUrl: `https://${env === "prod" ? "" : `${env}.`}lindas.admin.ch/query`, + sourceUrl: "https://lindas.admin.ch/query", cubeFilter: { iri: cubeIri, }, diff --git a/k6/performance-tests/graphql/DataCubeMetadata.js b/k6/performance-tests/graphql/DataCubeMetadata.js index 1c7391ba1..1552b7bf3 100644 --- a/k6/performance-tests/graphql/DataCubeMetadata.js +++ b/k6/performance-tests/graphql/DataCubeMetadata.js @@ -22,7 +22,7 @@ const cubeLabel = __ENV.CUBE_LABEL; const variables = { locale: "en", sourceType: "sparql", - sourceUrl: `https://${env === "prod" ? "" : `${env}.`}lindas.admin.ch/query`, + sourceUrl: "https://lindas.admin.ch/query", cubeFilter: { iri: cubeIri, }, diff --git a/k6/performance-tests/graphql/DataCubePreview.js b/k6/performance-tests/graphql/DataCubePreview.js index 994c65d7c..8f8c64e44 100644 --- a/k6/performance-tests/graphql/DataCubePreview.js +++ b/k6/performance-tests/graphql/DataCubePreview.js @@ -40,7 +40,7 @@ const cubeLabel = __ENV.CUBE_LABEL; const variables = { iri: cubeIri, sourceType: "sparql", - sourceUrl: `https://${env === "prod" ? "" : `${env}.`}lindas.admin.ch/query`, + sourceUrl: "https://lindas.admin.ch/query", locale: "en", latest: false, };