From 50aebeca2b5a5f580db6e4b9fdbe0daa267c9796 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Aug 2024 15:55:20 +0200 Subject: [PATCH 1/6] made sure that `JSONArgsRecommended` is followed Resolves https://docs.docker.com/reference/build-checks/json-args-recommended/ for the webclient --- webclient/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webclient/Dockerfile b/webclient/Dockerfile index 8cd946e83..0fab4e8f9 100644 --- a/webclient/Dockerfile +++ b/webclient/Dockerfile @@ -42,4 +42,4 @@ ENV NITRO_SHUTDOWN=true ENV NITRO_PRESET=node-cluster HEALTHCHECK CMD curl --fail localhost:3000/health || exit 1 -CMD node /app/.output/server/index.mjs +CMD ["node", "/app/.output/server/index.mjs"] From fdc2ad8a4c9500a8c2b933f6e6a95ddf9da33f3b Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Aug 2024 17:22:51 +0200 Subject: [PATCH 2/6] made sure that changes for `estimatedTotalHits` don't mean a test-failure --- server/src/search/search_executor/mod.rs | 6 ++++-- ...search__search_executor__test__bad_queries-10.snap | 4 ++-- ...search__search_executor__test__bad_queries-11.snap | 4 ++-- ...search__search_executor__test__bad_queries-12.snap | 4 ++-- ...search__search_executor__test__bad_queries-13.snap | 4 ++-- ...search__search_executor__test__bad_queries-14.snap | 4 ++-- ...search__search_executor__test__bad_queries-15.snap | 4 ++-- ...search__search_executor__test__bad_queries-16.snap | 4 ++-- ...search__search_executor__test__bad_queries-17.snap | 4 ++-- ...search__search_executor__test__bad_queries-18.snap | 4 ++-- ...search__search_executor__test__bad_queries-19.snap | 4 ++-- ..._search__search_executor__test__bad_queries-2.snap | 4 ++-- ...search__search_executor__test__bad_queries-20.snap | 4 ++-- ...search__search_executor__test__bad_queries-21.snap | 4 ++-- ...search__search_executor__test__bad_queries-22.snap | 4 ++-- ..._search__search_executor__test__bad_queries-3.snap | 4 ++-- ..._search__search_executor__test__bad_queries-4.snap | 4 ++-- ..._search__search_executor__test__bad_queries-5.snap | 4 ++-- ..._search__search_executor__test__bad_queries-6.snap | 4 ++-- ..._search__search_executor__test__bad_queries-7.snap | 4 ++-- ..._search__search_executor__test__bad_queries-8.snap | 4 ++-- ..._search__search_executor__test__bad_queries-9.snap | 4 ++-- ...r__search__search_executor__test__bad_queries.snap | 4 ++-- ...earch__search_executor__test__good_queries-10.snap | 4 ++-- ...earch__search_executor__test__good_queries-11.snap | 4 ++-- ...earch__search_executor__test__good_queries-12.snap | 4 ++-- ...earch__search_executor__test__good_queries-13.snap | 4 ++-- ...earch__search_executor__test__good_queries-14.snap | 4 ++-- ...earch__search_executor__test__good_queries-15.snap | 4 ++-- ...earch__search_executor__test__good_queries-16.snap | 4 ++-- ...earch__search_executor__test__good_queries-17.snap | 4 ++-- ...earch__search_executor__test__good_queries-18.snap | 4 ++-- ...earch__search_executor__test__good_queries-19.snap | 4 ++-- ...search__search_executor__test__good_queries-2.snap | 4 ++-- ...earch__search_executor__test__good_queries-20.snap | 4 ++-- ...earch__search_executor__test__good_queries-21.snap | 4 ++-- ...earch__search_executor__test__good_queries-22.snap | 4 ++-- ...earch__search_executor__test__good_queries-23.snap | 4 ++-- ...earch__search_executor__test__good_queries-24.snap | 11 ++++++++--- ...earch__search_executor__test__good_queries-25.snap | 4 ++-- ...earch__search_executor__test__good_queries-26.snap | 4 ++-- ...earch__search_executor__test__good_queries-27.snap | 4 ++-- ...earch__search_executor__test__good_queries-28.snap | 4 ++-- ...earch__search_executor__test__good_queries-29.snap | 4 ++-- ...search__search_executor__test__good_queries-3.snap | 4 ++-- ...earch__search_executor__test__good_queries-30.snap | 4 ++-- ...earch__search_executor__test__good_queries-31.snap | 4 ++-- ...earch__search_executor__test__good_queries-32.snap | 4 ++-- ...earch__search_executor__test__good_queries-33.snap | 4 ++-- ...earch__search_executor__test__good_queries-34.snap | 4 ++-- ...earch__search_executor__test__good_queries-35.snap | 4 ++-- ...earch__search_executor__test__good_queries-36.snap | 4 ++-- ...search__search_executor__test__good_queries-4.snap | 4 ++-- ...search__search_executor__test__good_queries-5.snap | 4 ++-- ...search__search_executor__test__good_queries-6.snap | 4 ++-- ...search__search_executor__test__good_queries-7.snap | 4 ++-- ...search__search_executor__test__good_queries-8.snap | 4 ++-- ...search__search_executor__test__good_queries-9.snap | 4 ++-- ...__search__search_executor__test__good_queries.snap | 4 ++-- 59 files changed, 126 insertions(+), 119 deletions(-) diff --git a/server/src/search/search_executor/mod.rs b/server/src/search/search_executor/mod.rs index 021b9d74a..c6b5689e6 100644 --- a/server/src/search/search_executor/mod.rs +++ b/server/src/search/search_executor/mod.rs @@ -142,11 +142,12 @@ mod test { Since it can't, please move it to .bad list" ); + // redacting estimatedTotalHits is because this can change quite easily and without a good reason insta::with_settings!({ info => &format!("{query}"), description => query.comment.unwrap_or_default(), }, { - insta::assert_yaml_snapshot!(actual); + insta::assert_yaml_snapshot!(actual, { ".**.estimatedTotalHits" => "[estimatedTotalHits]"}); }); } } @@ -166,11 +167,12 @@ mod test { Since it can, please move it to .good list" ); + // redacting estimatedTotalHits is because this can change quite easily and without a good reason insta::with_settings!({ info => &format!("{query}"), description => query.comment.unwrap_or_default(), }, { - insta::assert_yaml_snapshot!(actual); + insta::assert_yaml_snapshot!(actual, { ".**.estimatedTotalHits" => "[estimatedTotalHits]"}); }); } } diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-10.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-10.snap index 0963a8286..39453f0b4 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-10.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-10.snap @@ -47,7 +47,7 @@ info: "'f abuer' should get '5602.EG.001' in 1 results # typo with short word an subtext: "garching, Chemie" subtext_bold: 16515@5407 n_visible: 8 - estimatedTotalHits: 130 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "2913" @@ -59,4 +59,4 @@ info: "'f abuer' should get '5602.EG.001' in 1 results # typo with short word an name: "Fahrzeughalle (BL. \u0019F\u0017)" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 2 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-11.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-11.snap index 3ac2af70f..bcfc5c6b2 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-11.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-11.snap @@ -57,8 +57,8 @@ info: "'ssz' should get '0501.EG.144' in 1 results # main room called 'service d subtext: "stammgelände, Wirtschaftswissenschaften (Z5)" subtext_bold: 0561@0505 n_visible: 10 - estimatedTotalHits: 11 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-12.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-12.snap index 693fdcc23..08692b78d 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-12.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-12.snap @@ -22,8 +22,8 @@ info: "'Immathalle' should get '0501.EG.136' in 1 results" subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 0140@0501 n_visible: 3 - estimatedTotalHits: 3 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-13.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-13.snap index e8e4c7ec0..2ce7f93ef 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-13.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-13.snap @@ -7,8 +7,8 @@ info: "'Augustenstraße 44; Raum 209; 2.OG' should get '2903.02.209' in 1 result - facet: rooms entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-14.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-14.snap index d6f2a1f00..895f50cbc 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-14.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-14.snap @@ -57,8 +57,8 @@ info: "'praktikumsraum mi' should get '5604.EG.038' in 2 results # there are two subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.08.020@5608 n_visible: 10 - estimatedTotalHits: 209 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-15.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-15.snap index 586e2b7ce..0acd54913 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-15.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-15.snap @@ -57,8 +57,8 @@ info: "'physik labor mi' should get '5604.EG.036' in 3 results # '5604.02.033' i subtext: "weihenstephan, ZIEL II – Molekulare Biowissenschaften" subtext_bold: E/3.20@4124 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 31 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-16.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-16.snap index 24b05a7bf..1cfb1b356 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-16.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-16.snap @@ -57,8 +57,8 @@ info: "'n1403' should get '0104.U1.403' in 2 results # This is 'N-1403@0104', bu subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1032ZG@0101 n_visible: 10 - estimatedTotalHits: 558 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-17.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-17.snap index e78e0955d..538204828 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-17.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-17.snap @@ -57,8 +57,8 @@ info: "'fachschaft pyhsik' should get '5101.EG.257' in 1 results # typo + it's ' subtext: "stammgelände, Landwirtschaftsbau (Z4)" subtext_bold: 0424@0504 n_visible: 10 - estimatedTotalHits: 37 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-18.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-18.snap index 7910f8411..8defcffde 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-18.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-18.snap @@ -11,7 +11,7 @@ info: "'H.0003' should get '2910.EG.003' in 1 results # H.003 is the correct roo name: "Richard-Wagner-Str. 1 / Haus B + Haus \u0019H\u0017, Hochschule für Politik (HfP)/ Department of Governance (GOV)" subtext: Gebäude n_visible: 1 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 2910.01.101 @@ -60,4 +60,4 @@ info: "'H.0003' should get '2910.EG.003' in 1 results # H.003 is the correct roo subtext: "garching, RCM Radiochemie München" subtext_bold: H.1.028@5212 n_visible: 9 - estimatedTotalHits: 412 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-19.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-19.snap index 4ccafa6b0..ffd5909af 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-19.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-19.snap @@ -59,8 +59,8 @@ info: "'H.03' should get '2910.EG.003' in 1 results # H.003 is the correct room, subtext: "stammgelände, Hauptgebäude (Z1)" subtext_bold: 3153A@0501 n_visible: 10 - estimatedTotalHits: 412 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-2.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-2.snap index ab60770e3..1a2dbfe2b 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-2.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-2.snap @@ -15,7 +15,7 @@ info: "'tb innenstadt' should get 'tb-arcisstraße' in 1 results # target is hal name: "\u0019Teilbibliothek\u0017 Chemie, Hörsaal (CH1, dunkelgrün)" subtext: Gebäudeteil n_visible: 2 - estimatedTotalHits: 2 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5401.01.101K @@ -59,4 +59,4 @@ info: "'tb innenstadt' should get 'tb-arcisstraße' in 1 results # target is hal subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 07@4220 n_visible: 8 - estimatedTotalHits: 392 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-20.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-20.snap index 94efe378d..a98a58fa6 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-20.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-20.snap @@ -59,8 +59,8 @@ info: "'H.3' should get '2910.EG.003' in 1 results # H.003 is the correct room, subtext_bold: H.302@2910 parsed_id: "\u0019H.3\u001702 RiWa 1 (HfP/GOV)" n_visible: 10 - estimatedTotalHits: 413 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-21.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-21.snap index 3bc6a3423..938eba986 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-21.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-21.snap @@ -19,8 +19,8 @@ info: "'2119' should get '0101.02.119' in 4 results # The architects name is a N subtext_bold: 2119@5413 parsed_id: "\u00192119\u0017 BNMRZ B…MR-Zentrum" n_visible: 2 - estimatedTotalHits: 2 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-22.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-22.snap index 60fc37687..cfeaeb208 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-22.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-22.snap @@ -27,7 +27,7 @@ info: "'MI HS3' should get '5606.EG.011' in 1 results # This should match this L name: Finger 09 (BT09) subtext: Gebäudeteil n_visible: 5 - estimatedTotalHits: 14 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5606.EG.011 @@ -56,4 +56,4 @@ info: "'MI HS3' should get '5606.EG.011' in 1 results # This should match this L subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.001@5602" n_visible: 5 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-3.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-3.snap index c89e8ccc0..968f71a82 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-3.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-3.snap @@ -23,7 +23,7 @@ info: "'interims I' should get '5620' in 1 results" name: "\u0019Interims\u0017-Tentomax MW" subtext: Gebäude n_visible: 4 - estimatedTotalHits: 4 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5620.01.101 @@ -57,4 +57,4 @@ info: "'interims I' should get '5620' in 1 results" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 6 - estimatedTotalHits: 47 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-4.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-4.snap index b1655f41e..d2e2597b9 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-4.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-4.snap @@ -19,7 +19,7 @@ info: "'Studitum Arcisstr' should get '0201' in 1 results # Note: It is not real name: "\u0019StudiTUM\u0017 Weihenstephan" subtext: Gebäude n_visible: 3 - estimatedTotalHits: 3 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 4113.01.105 @@ -58,4 +58,4 @@ info: "'Studitum Arcisstr' should get '0201' in 1 results # Note: It is not real subtext: "stammgelände, StudiTUM" subtext_bold: 2.01@0201 n_visible: 7 - estimatedTotalHits: 229 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-5.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-5.snap index 09f1b660b..67b5fbc15 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-5.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-5.snap @@ -57,8 +57,8 @@ info: "'Karlsstr. 47' should get '2906' in 1 results # uses 'str.' instead of 's subtext: Karlstraße 45/47 subtext_bold: 1004@2906 n_visible: 10 - estimatedTotalHits: 204 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-6.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-6.snap index ac406d602..492824d93 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-6.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-6.snap @@ -23,7 +23,7 @@ info: "'mi hs 1' should get '5602.EG.001' in 1 results" name: Finger 06 (BT06) subtext: Gebäudeteil n_visible: 1 - estimatedTotalHits: 14 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5602.EG.001 @@ -72,4 +72,4 @@ info: "'mi hs 1' should get '5602.EG.001' in 1 results" subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.031B@5603 n_visible: 9 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-7.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-7.snap index 14753ddc8..c54a2c153 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-7.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-7.snap @@ -7,8 +7,8 @@ info: "'niemann' should get '5510.EG.001' in 1 results # old name before the NS - facet: rooms entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-8.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-8.snap index df5f846e3..ef3d5272e 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-8.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-8.snap @@ -27,7 +27,7 @@ info: "'mw g niemann' should get '5510.EG.001' in 1 results # old name before th name: "Gebäudeteil 4, Institut für Verfahrenstechnik" subtext: Gebäudeteil n_visible: 5 - estimatedTotalHits: 19 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5510.02.001 @@ -56,4 +56,4 @@ info: "'mw g niemann' should get '5510.EG.001' in 1 results # old name before th subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0608M@5506 n_visible: 5 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-9.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-9.snap index 267848818..dabbfd69d 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-9.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries-9.snap @@ -7,8 +7,8 @@ info: "'CH22209' should get '5402.01.220J' in 1 results" - facet: rooms entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries.snap index 9df64cc2f..4b8d8a0bf 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__bad_queries.snap @@ -57,8 +57,8 @@ info: "'mathe bib' should get 'mi-bib' in 1 results # target is hallucinated as subtext: "garching, Mathe/Info (MI)" subtext_bold: 01.03.037B@5603 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-10.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-10.snap index bfa4fb85e..4711cc697 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-10.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-10.snap @@ -23,7 +23,7 @@ info: "'ZIEL' should get 'wzw-ziel' in 1 results" name: "\u0019ZIEL\u0017 I – Zentralinstitut für Ernährungs- und Lebensmittelforschung, Geschäftsstelle und Akademie" subtext: Gebäude n_visible: 4 - estimatedTotalHits: 3 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 4124.U1.104 @@ -57,4 +57,4 @@ info: "'ZIEL' should get 'wzw-ziel' in 1 results" subtext: "weihenstephan, ZIEL IV - Biowissenschaften" subtext_bold: 2.98@4224 n_visible: 6 - estimatedTotalHits: 707 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-11.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-11.snap index 8955d46aa..469731a4d 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-11.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-11.snap @@ -57,8 +57,8 @@ info: "'5604.00.011' should get '5604.EG.011' in 1 results" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.04.018@5604 n_visible: 10 - estimatedTotalHits: 150 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-12.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-12.snap index 9b9a11d2b..8c8589bfa 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-12.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-12.snap @@ -57,8 +57,8 @@ info: "'5601.EG.001' should get '5601.EG.001' in 1 results # MI Magistrale" subtext: "garching, Mathe/Info (MI)" subtext_bold: 00.01.012@5601 n_visible: 10 - estimatedTotalHits: 57 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-13.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-13.snap index cb4b999f5..50e7b277a 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-13.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-13.snap @@ -58,8 +58,8 @@ info: "'00.01.001' should get '5601.EG.001' in 1 results # A search for the Arch subtext: "garching, Laboratory for Extreme Photonics (LEX), LMU" subtext_bold: 0001@5125 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-14.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-14.snap index 41beddae5..5c2b5acb0 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-14.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-14.snap @@ -59,8 +59,8 @@ info: "'03.08.011' should get '5608.03.011' in 1 results" subtext: "garching, Mathe/Info (MI)" subtext_bold: 03.08.022@5608 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-15.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-15.snap index d7561705d..0fb026c1a 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-15.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-15.snap @@ -32,7 +32,7 @@ info: "'MW 1801' should get '5508.02.801' in 1 results" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0250@5502 n_visible: 5 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: mw @@ -56,4 +56,4 @@ info: "'MW 1801' should get '5508.02.801' in 1 results" name: "Gebäudeteil 4, Institut für Verfahrenstechnik" subtext: Gebäudeteil n_visible: 0 - estimatedTotalHits: 19 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-16.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-16.snap index a5e9822c8..2592a001c 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-16.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-16.snap @@ -57,8 +57,8 @@ info: "'MW1801' should get '5508.02.801' in 1 results # splitting necessary" subtext: "garching, Interims III" subtext_bold: 0.002@5539 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-17.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-17.snap index 434a13be1..9d36949da 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-17.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-17.snap @@ -57,8 +57,8 @@ info: "'MW0001' should get '5510.EG.001' in 1 results # splitting necessary" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-18.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-18.snap index 0f9e1b86c..a9a8043bc 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-18.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-18.snap @@ -57,8 +57,8 @@ info: "'MW2001' should get '5510.02.001' in 1 results # splitting necessary" subtext: "garching, Interims III" subtext_bold: 0.002@5539 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-19.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-19.snap index d496a3f80..34c8bf790 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-19.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-19.snap @@ -59,8 +59,8 @@ info: "'1801 maschinen' should get '5508.02.801' in 1 results" subtext: "garching, RCM Radiochemie München" subtext_bold: L.1.801@5212 n_visible: 10 - estimatedTotalHits: 12 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-2.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-2.snap index b369a1a78..98a61795c 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-2.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-2.snap @@ -27,7 +27,7 @@ info: "'wzw' should get 'wzw' in 1 results" name: Gebiet 4300 Nord / Hochfeld subtext: Gebiet / Gruppe von Gebäuden n_visible: 5 - estimatedTotalHits: 170 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 4101.01.129 @@ -56,4 +56,4 @@ info: "'wzw' should get 'wzw' in 1 results" subtext: "weihenstephan, BLQ Lebensmittelsicherheit" subtext_bold: 106@4108 n_visible: 5 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-20.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-20.snap index b1dae1de7..c6a760125 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-20.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-20.snap @@ -52,7 +52,7 @@ info: "'Raum 0337 mw' should get '5503.EG.337' in 1 results" subtext: "stammgelände, U-Trakt (N1)" subtext_bold: N1190@0101 n_visible: 9 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "0109" @@ -60,4 +60,4 @@ info: "'Raum 0337 mw' should get '5503.EG.337' in 1 results" name: "Reflexionsarmer \u0019Raum\u0017 (N9)" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-21.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-21.snap index 95e1d3a05..8ca8a8848 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-21.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-21.snap @@ -57,8 +57,8 @@ info: "'pyhsik hs 2' should get '5101.EG.502' in 1 results" subtext: "garching, LMU Physik Werkstattgebäude" subtext_bold: 019@5123 n_visible: 10 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 31 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-22.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-22.snap index 61ab17d4d..affa25e8d 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-22.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-22.snap @@ -12,8 +12,8 @@ info: "'mössbauer' should get '5101.EG.501' in 1 results" subtext: "garching, Physik I" subtext_bold: 2501@5101 n_visible: 1 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-23.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-23.snap index 323ae2455..2f8d45346 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-23.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-23.snap @@ -57,8 +57,8 @@ info: "'342 Physik' should get '5101.EG.342' in 1 results" subtext: "campus-im-olympiapark-sz, CiO/SG Institute West, Bibliothek" subtext_bold: 01.2334.342@2334 n_visible: 10 - estimatedTotalHits: 21 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-24.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-24.snap index 989aa5f8b..131059734 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-24.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-24.snap @@ -53,9 +53,14 @@ info: "'2503' should get '5101.EG.503' in 1 results # lecture hall, should be pr name: 5115.02.503 (Elt.) subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 2.503@5115 - n_visible: 8 - estimatedTotalHits: 8 + - id: 5117.EG.503 + type: room + name: 5117.EG.503 (Fluchttreppe N-W) + subtext: "garching, Paula-Hahn-Weinheimerstr. 1" + subtext_bold: 2.503@5117 + n_visible: 9 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-25.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-25.snap index 652278b2f..7afe71444 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-25.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-25.snap @@ -52,8 +52,8 @@ info: "'1116' should get '5111.01.116' in 1 results # seminar room, should be pr subtext: "garching, MIBE" subtext_bold: 1.116@5701 n_visible: 8 - estimatedTotalHits: 8 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-26.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-26.snap index 4ea61984d..cc95be535 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-26.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-26.snap @@ -33,7 +33,7 @@ info: "'C.3202' should get '5140.01.202' in 1 results" subtext: "garching, Physik I Container" subtext_bold: C.3201@5140 n_visible: 5 - estimatedTotalHits: 297 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "2940" @@ -57,4 +57,4 @@ info: "'C.3202' should get '5140.01.202' in 1 results" name: "Airbus Standort 76.\u0019C\u0017" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 5 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-27.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-27.snap index 1777f5026..8df52a981 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-27.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-27.snap @@ -63,8 +63,8 @@ info: "'1010 znn' should get '5115.01.010' in 1 results # Not sure about target subtext_bold: 1010@5414 parsed_id: "\u00191010\u0017 Zentrum…tion (ZEI)" n_visible: 10 - estimatedTotalHits: 18 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-28.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-28.snap index e459ea146..6a45269d9 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-28.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-28.snap @@ -23,8 +23,8 @@ info: "'0092@5433' should get '5433.EG.092' in 1 results" subtext: "garching, StudiTUM" subtext_bold: 0.092@5532 n_visible: 3 - estimatedTotalHits: 3 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-29.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-29.snap index b1b11cd13..e76290fe0 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-29.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-29.snap @@ -57,8 +57,8 @@ info: "'0026m@5510' should get '5510.EG.026M' in 1 results" subtext: "garching, Maschinenwesen (MW)" subtext_bold: 0126M@5501 n_visible: 10 - estimatedTotalHits: 15 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-3.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-3.snap index 1041c0ab5..f8116a5a2 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-3.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-3.snap @@ -11,7 +11,7 @@ info: "'5301' should get '5301' in 1 results" name: Institute for Advanced Study (IAS) subtext: Gebäude n_visible: 1 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5301.EG.001 @@ -60,4 +60,4 @@ info: "'5301' should get '5301' in 1 results" subtext: "garching, Institute for Advanced Study (IAS)" subtext_bold: 1.006@5301 n_visible: 9 - estimatedTotalHits: 147 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-30.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-30.snap index cdab9439e..e064a5b4b 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-30.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-30.snap @@ -57,8 +57,8 @@ info: "'019 lmu' should get '5123.EG.019' in 1 results" subtext: "weihenstephan, Teilbibliothek Weihenstephan, Pressestelle Datenverarbeitung" subtext_bold: OG R 19@4220 n_visible: 10 - estimatedTotalHits: 209 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-31.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-31.snap index a04219d21..bf508e275 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-31.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-31.snap @@ -52,7 +52,7 @@ info: "'audimax' should get '0509.EG.980' in 1 results" subtext: "stammgelände, Wienandsbau (Z9)" subtext_bold: 1919@0509 n_visible: 9 - estimatedTotalHits: 492 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "0509" @@ -60,4 +60,4 @@ info: "'audimax' should get '0509.EG.980' in 1 results" name: "Wienandsbau, E-Technik / \u0019Audimax\u0017 (Z9)" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 2 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-32.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-32.snap index 105e9029c..eb1d0b350 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-32.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-32.snap @@ -40,8 +40,8 @@ info: "'1229 seminarraum' should get '0502.01.229' in 1 results" subtext: "campus-im-olympiapark-sz, CiO/SG Institute West, Bibliothek" subtext_bold: 01.2334.224@2334 n_visible: 6 - estimatedTotalHits: 6 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-33.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-33.snap index e0f189f9a..c3158e46d 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-33.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-33.snap @@ -53,7 +53,7 @@ info: "'H.003' should get '2910.EG.003' in 1 results # H.003 is the correct room subtext: "stammgelände, RiWa 1 (HfP/GOV)" subtext_bold: H.001@2910 n_visible: 9 - estimatedTotalHits: 412 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "2910" @@ -61,4 +61,4 @@ info: "'H.003' should get '2910.EG.003' in 1 results # H.003 is the correct room name: "Richard-Wagner-Str. 1 / Haus B + Haus \u0019H\u0017, Hochschule für Politik (HfP)/ Department of Governance (GOV)" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-34.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-34.snap index ff6ad46a9..9cb4ed697 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-34.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-34.snap @@ -37,7 +37,7 @@ info: "'MI HS 3' should get '5606.EG.011' in 1 results" subtext: "garching, Mathe/Info (MI)" subtext_bold: "-1.02.004@5602" n_visible: 6 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "5602" @@ -57,4 +57,4 @@ info: "'MI HS 3' should get '5606.EG.011' in 1 results" name: Finger 06 (BT06) subtext: Gebäudeteil n_visible: 0 - estimatedTotalHits: 14 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-35.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-35.snap index a9b230743..fb47cc5c1 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-35.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-35.snap @@ -57,8 +57,8 @@ info: "'N1406' should get '0104.01.406' in 1 results # Architects names should b subtext: "stammgelände, E-Technik El. Maschinen / Geräte (N3)" subtext_bold: N1306@0103 n_visible: 10 - estimatedTotalHits: 558 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: [] n_visible: 0 - estimatedTotalHits: 0 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-36.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-36.snap index c0c39798c..5791054ba 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-36.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-36.snap @@ -53,7 +53,7 @@ info: "'N-1406' should get '0104.U1.406' in 1 results # Architects names should subtext: TUM FZ Friedrich N. Schwarz Berchtesgaden subtext_bold: EG-06@9201 n_visible: 9 - estimatedTotalHits: 558 + estimatedTotalHits: "[estimatedTotalHits]" - facet: sites_buildings entries: - id: "9201" @@ -61,4 +61,4 @@ info: "'N-1406' should get '0104.U1.406' in 1 results # Architects names should name: "TUM FZ Friedrich \u0019N\u0017. Schwarz Berchtesgaden" subtext: Gebäude n_visible: 0 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-4.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-4.snap index bbc1c6eab..ba9757274 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-4.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-4.snap @@ -23,7 +23,7 @@ info: "'interims' should get 'garching-interims' in 1 results" name: "\u0019Interimshörsäle\u0017 I" subtext: Gebäude n_visible: 4 - estimatedTotalHits: 4 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5416.01.003 @@ -57,4 +57,4 @@ info: "'interims' should get 'garching-interims' in 1 results" subtext: "garching, Interims III" subtext_bold: 0.001B@5539 n_visible: 6 - estimatedTotalHits: 47 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-5.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-5.snap index 9977d3ab2..a75733089 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-5.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-5.snap @@ -11,7 +11,7 @@ info: "'Interims 2' should get '5416' in 1 results" name: "\u0019Interimshörsäle\u0017 \u0019II\u0017, Jürgen Manchot-Hörsaalgebäude" subtext: Gebäude n_visible: 1 - estimatedTotalHits: 4 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5416.01.003 @@ -60,4 +60,4 @@ info: "'Interims 2' should get '5416' in 1 results" subtext: "garching, Interims II" subtext_bold: 008@5416 n_visible: 9 - estimatedTotalHits: 47 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-6.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-6.snap index 8f0428fec..0589d1f27 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-6.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-6.snap @@ -11,7 +11,7 @@ info: "'Mensa Garching' should get '5304' in 1 results # Should give the 'new' m name: "\u0019Mensa\u0017 \u0019Garching\u0017" subtext: Gebäude n_visible: 1 - estimatedTotalHits: 4 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5304.01.101 @@ -60,4 +60,4 @@ info: "'Mensa Garching' should get '5304' in 1 results # Should give the 'new' m subtext: "garching, Mensa Garching" subtext_bold: 1.307@5304 n_visible: 9 - estimatedTotalHits: 674 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-7.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-7.snap index bd24af86e..dbe9062cb 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-7.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-7.snap @@ -11,7 +11,7 @@ info: "'neue Mensa' should get '5304' in 1 results" name: "\u0019Mensa\u0017 \u0019Garching\u0017" subtext: Gebäude n_visible: 1 - estimatedTotalHits: 1 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5304.01.101 @@ -60,4 +60,4 @@ info: "'neue Mensa' should get '5304' in 1 results" subtext: "garching, Mensa Garching" subtext_bold: 1.307@5304 n_visible: 9 - estimatedTotalHits: 263 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-8.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-8.snap index d71bdb209..1a449f8d4 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-8.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-8.snap @@ -19,7 +19,7 @@ info: "'Physik Container' should get '5140' in 1 results" name: "UCN-Testanlage (\u0019Container\u0017)" subtext: Gebäude n_visible: 3 - estimatedTotalHits: 31 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5140.01.201 @@ -58,4 +58,4 @@ info: "'Physik Container' should get '5140' in 1 results" subtext: "garching, Physik I Container" subtext_bold: C.3207@5140 n_visible: 7 - estimatedTotalHits: 1000 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-9.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-9.snap index 77272c33d..78dd381ca 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-9.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries-9.snap @@ -15,7 +15,7 @@ info: "'znn' should get '5115' in 1 results" name: "Trafostation des \u0019ZNN\u0017" subtext: Gebäude n_visible: 2 - estimatedTotalHits: 2 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 5115.EG.001 @@ -59,4 +59,4 @@ info: "'znn' should get '5115' in 1 results" subtext: "garching, Zentrum für Nanotechnologie & -materialien (ZNN)" subtext_bold: 1.022@5115 n_visible: 8 - estimatedTotalHits: 141 + estimatedTotalHits: "[estimatedTotalHits]" diff --git a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries.snap b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries.snap index ed5de1182..a2a8308bf 100644 --- a/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries.snap +++ b/server/src/search/search_executor/snapshots/navigatum_server__search__search_executor__test__good_queries.snap @@ -11,7 +11,7 @@ info: "'hochbrück' should get 'garching-hochbrueck' in 1 results" name: "Garching \u0019Hochbrück\u0017" subtext: Standort n_visible: 1 - estimatedTotalHits: 4 + estimatedTotalHits: "[estimatedTotalHits]" - facet: rooms entries: - id: 8101.02.136 @@ -60,4 +60,4 @@ info: "'hochbrück' should get 'garching-hochbrueck' in 1 results" subtext: "garching-hochbrück, Business Campus 2" subtext_bold: 3.5.02@8102 n_visible: 9 - estimatedTotalHits: 383 + estimatedTotalHits: "[estimatedTotalHits]" From 860d8e351e2ef619de361c2eb907da501cad5d7c Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Aug 2024 17:23:35 +0200 Subject: [PATCH 3/6] made sure that the testcases which require geodata access are behind a `test-with-geodata` feature flag --- server/Cargo.toml | 3 +++ server/src/calendar/mod.rs | 4 ++-- server/src/setup/tests.rs | 27 +++++++++++++-------------- 3 files changed, 18 insertions(+), 16 deletions(-) diff --git a/server/Cargo.toml b/server/Cargo.toml index 41cbda33d..e53a169fb 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -111,3 +111,6 @@ similar.opt-level = 3 ignored = [ "rustls", # we need to configure between ring and aws crypto library ] + +[features] +test-with-geodata = [] \ No newline at end of file diff --git a/server/src/calendar/mod.rs b/server/src/calendar/mod.rs index ee9e5515a..c94b7ecc0 100644 --- a/server/src/calendar/mod.rs +++ b/server/src/calendar/mod.rs @@ -131,8 +131,8 @@ async fn get_from_db( Ok(LimitedHashMap(located_events)) } -#[cfg(test)] -mod tests { +#[cfg(all(feature = "test-with-geodata", test))] +mod db_tests { use std::sync::Arc; use actix_web::http::header::ContentType; diff --git a/server/src/setup/tests.rs b/server/src/setup/tests.rs index 4dd4c5370..7c52c7adf 100644 --- a/server/src/setup/tests.rs +++ b/server/src/setup/tests.rs @@ -1,15 +1,13 @@ use meilisearch_sdk::client::Client; -use sqlx::postgres::PgPoolOptions; -use sqlx::{Pool, Postgres}; -use std::time::Duration; use testcontainers_modules::testcontainers::{ContainerAsync, ImageExt}; -use testcontainers_modules::{meilisearch, postgres, testcontainers::runners::AsyncRunner}; -use tracing::{error, info}; +use testcontainers_modules::{meilisearch, testcontainers::runners::AsyncRunner}; +#[cfg(feature = "test-with-geodata")] pub struct PostgresTestContainer { - _container: ContainerAsync, - pub pool: Pool, + _container: ContainerAsync, + pub pool: sqlx::Pool, } +#[cfg(feature = "test-with-geodata")] impl PostgresTestContainer { /// Create a postgres instance for testing against @@ -25,10 +23,8 @@ impl PostgresTestContainer { host = container.get_host().await.unwrap(), port = container.get_host_port_ipv4(5432).await.unwrap(), ); - let pool = PgPoolOptions::new() - .connect(&connection_string) - .await - .unwrap(); + let pool = sqlx::postgres::PgPoolOptions; + ::new().connect(&connection_string).await.unwrap(); crate::setup::database::setup(&pool).await.unwrap(); Self { _container: container, @@ -65,22 +61,25 @@ impl MeiliSearchTestContainer { } } +#[cfg(feature = "test-with-geodata")] #[tokio::test] +#[ignore] #[tracing_test::traced_test] async fn test_db_setup() { let pg = PostgresTestContainer::new().await; for i in 0..20 { let res = crate::setup::database::load_data(&pg.pool).await; if let Err(e) = res { - error!("failed to load db because {e:?}. Retrying for 20s"); - tokio::time::sleep(Duration::from_secs(1)).await; + tracing::error!("failed to load db because {e:?}. Retrying for 20s"); + tokio::time::sleep(std::time::Duration::from_secs(1)).await; } else { - info!("successfully initalised the db in try {i}"); + tracing::info!("successfully initalised the db in try {i}"); break; } } } +#[cfg(feature = "test-with-geodata")] #[tokio::test] #[tracing_test::traced_test] async fn test_meilisearch_setup() { From e86e9a79d9ff702eb612cf5b0b4600b4d0adf811 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Wed, 14 Aug 2024 17:25:31 +0200 Subject: [PATCH 4/6] made sure that the server has to wait before the osm initalisation is done (or in prod at least started) --- docker-compose.local.yml | 10 ++++++---- docker-compose.yml | 2 ++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 71734ed7d..8ab1c815f 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -8,11 +8,11 @@ services: TZ: Europe/Berlin NUXT_PUBLIC_MAPS_URL: https://nav.tum.de/maps NUXT_PUBLIC_CDN_URL: http://data:3002 - NUXT_PUBLIC_API_URL: http://api:3003 + NUXT_PUBLIC_API_URL: http://server:3003 depends_on: data: condition: service_healthy - api: + server: condition: service_healthy # cdn data: @@ -22,7 +22,7 @@ services: TZ: Europe/Berlin ports: - "3002:3002" - api: + server: restart: unless-stopped build: args: @@ -50,7 +50,9 @@ services: JWT_KEY: ${JWT_KEY} depends_on: meilisearch: - condition: service_started + condition: service_healthy + osm2pgsql-init: + condition: service_completed_successfully db: condition: service_healthy meilisearch: diff --git a/docker-compose.yml b/docker-compose.yml index ba9cba080..cbcad14eb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -150,6 +150,8 @@ services: depends_on: meilisearch: condition: service_healthy + osm2pgsql-init: + condition: service_started db: condition: service_healthy meilisearch: From 175ee90b4b9e7d6f303c57054151f81d24da99a6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:38:13 +0200 Subject: [PATCH 5/6] chore(formatting): Fixed formatting mistakes (#1443) fixed formatting mistakes have sneaked into prod Co-authored-by: CommanderStorm <26258709+CommanderStorm@users.noreply.github.com> --- server/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Cargo.toml b/server/Cargo.toml index e53a169fb..07c68125c 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -113,4 +113,4 @@ ignored = [ ] [features] -test-with-geodata = [] \ No newline at end of file +test-with-geodata = [] From 7999a6b717c570e71b3894d404e9c9d3aae419ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:38:27 +0200 Subject: [PATCH 6/6] fix(deps): update dependency maplibre-gl-indoor to v0.0.9 (#1444) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- webclient/package.json | 2 +- webclient/pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webclient/package.json b/webclient/package.json index bf907990a..2cfe5ebc8 100644 --- a/webclient/package.json +++ b/webclient/package.json @@ -28,7 +28,7 @@ "@vueuse/router": "10.11.1", "geojson": "0.5.0", "maplibre-gl": "4.5.2", - "maplibre-gl-indoor": "0.0.8", + "maplibre-gl-indoor": "0.0.9", "nightwind": "1.1.13", "nuxt": "3.12.4", "sharp": "0.33.4", diff --git a/webclient/pnpm-lock.yaml b/webclient/pnpm-lock.yaml index 574a29801..2a4e0228d 100644 --- a/webclient/pnpm-lock.yaml +++ b/webclient/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: 4.5.2 version: 4.5.2 maplibre-gl-indoor: - specifier: 0.0.8 - version: 0.0.8 + specifier: 0.0.9 + version: 0.0.9 nightwind: specifier: 1.1.13 version: 1.1.13(tailwindcss@3.4.10) @@ -4080,8 +4080,8 @@ packages: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} - maplibre-gl-indoor@0.0.8: - resolution: {integrity: sha512-Otlq510xy36laEIiWG0eK9/LIveeUf4Whl5LyqcQcg0yDgoTlSQg+h2fsdY2PZAWHdm0MORdbDUJkl8ROW1CEQ==} + maplibre-gl-indoor@0.0.9: + resolution: {integrity: sha512-7Hk9rQZA7Jyc6dbZkoFYje0grqr9KAbparOzjF8LofDuq8IitkixzmWeYBV62Nd9vcSqKqX9/dgX81NOkQshhg==} maplibre-gl@4.5.2: resolution: {integrity: sha512-vlWL9EY2bSGg5FAt0mKPfYqlfX15uLW5D3kKv4Xjn54nIVn01MKdfUJMAVIr+8fXVqfSX6c095Iy5XnV+T76kQ==} @@ -11322,7 +11322,7 @@ snapshots: dependencies: semver: 6.3.1 - maplibre-gl-indoor@0.0.8: + maplibre-gl-indoor@0.0.9: dependencies: '@turf/bbox': 7.1.0 '@turf/destination': 7.1.0