Skip to content

Commit

Permalink
Rename Keys.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalig committed Dec 16, 2020
1 parent f705d79 commit b7b0536
Showing 1 changed file with 30 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,47 +88,47 @@ public class GaenConfigController {
private static final Version APP_VERSION_1_0_9 = new Version("ios-1.0.9");
private static final Version IOS_APP_VERSION_1_1_2 = new Version("ios-1.1.2");

private static final Set<String> ALL_CANTONS_AND_LIECHTENSTEIN = Set.of("Graubünden", "Zürich", "Bern", "Luzern",
"Uri", "Schwyz", "Obwalden", "Nidwalden", "Glarus", "Zug", "Freiburg", "Solothurn", "Basel_Stadt",
"Basel_Landschaft", "Schafhausen", "Appenzell_Ausserrhoden", "Appenzell_Innerrhoden", "St_Gallen", "Aargau",
"Thurgau", "Tessin", "Waadt", "Wallis", "Neuenburg", "Genf", "Jura", "Fürstentum_Liechtenstein");
private static final Set<String> ALL_CANTONS_AND_LIECHTENSTEIN = Set.of("canton_graubuenden", "canton_zurich", "canton_berne", "canton_lucerne",
"canton_uri", "canton_schwyz", "canton_obwalden", "canton_nidwalden", "canton_glarus", "canton_zug", "canton_fribourg", "canton_solothurn", "canton_basel_city",
"canton_basel_country", "canton_schaffhausen", "canton_appenzell_ausserrhoden", "canton_appenzell_innerrhoden", "canton_st_gallen", "canton_aargau",
"canton_thurgovia", "canton_ticino", "Waadt", "canton_vaud", "canton_neuchatel", "canton_geneva", "canton_jura", "country_liechtenstein");

private static final Map<String, String> TEST_LOCATIONS = Map.ofEntries(
Map.entry("Graubünden",
Map.entry("canton_graubuenden",
"https://www.gr.ch/DE/institutionen/verwaltung/djsg/ga/coronavirus/info/Seiten/Start.aspx"),
Map.entry("Zürich", "https://www.zh.ch/de/gesundheit/coronavirus.html"),
Map.entry("Bern", "http://www.be.ch/corona"),
Map.entry("Luzern", "https://gesundheit.lu.ch/themen/Humanmedizin/Infektionskrankheiten/Coronavirus"),
Map.entry("Uri", "https://www.ur.ch/themen/2962"),
Map.entry("Schwyz",
Map.entry("canton_zurich", "https://www.zh.ch/de/gesundheit/coronavirus.html"),
Map.entry("canton_berne", "http://www.be.ch/corona"),
Map.entry("canton_lucerne", "https://gesundheit.lu.ch/themen/Humanmedizin/Infektionskrankheiten/Coronavirus"),
Map.entry("canton_uri", "https://www.ur.ch/themen/2962"),
Map.entry("canton_schwyz",
"https://www.sz.ch/behoerden/information-medien/medienmitteilungen/coronavirus.html/72-416-412-1379-6948"),
Map.entry("Obwalden", "https://www.ow.ch/de/verwaltung/dienstleistungen/?dienst_id=5962"),
Map.entry("Nidwalden", "https://www.nw.ch/gesundheitsamtdienste/6044"),
Map.entry("Glarus",
Map.entry("canton_obwalden", "https://www.ow.ch/de/verwaltung/dienstleistungen/?dienst_id=5962"),
Map.entry("canton_nidwalden", "https://www.nw.ch/gesundheitsamtdienste/6044"),
Map.entry("canton_glarus",
"https://www.gl.ch/verwaltung/finanzen-und-gesundheit/gesundheit/coronavirus.html/4817"),
Map.entry("Zug", "https://www.zg.ch/behoerden/gesundheitsdirektion/amt-fuer-gesundheit/corona"),
Map.entry("Freiburg", "https://www.fr.ch/de/gesundheit/covid-19/coronavirus-aktuelle-informationen"),
Map.entry("Solothurn", "https://corona.so.ch/"), Map.entry("Basel_Stadt", "https://www.coronavirus.bs.ch/"),
Map.entry("Basel_Landschaft",
Map.entry("canton_zug", "https://www.zg.ch/behoerden/gesundheitsdirektion/amt-fuer-gesundheit/corona"),
Map.entry("canton_fribourg", "https://www.fr.ch/de/gesundheit/covid-19/coronavirus-aktuelle-informationen"),
Map.entry("canton_solothurn", "https://corona.so.ch/"), Map.entry("canton_basel_city", "https://www.coronavirus.bs.ch/"),
Map.entry("canton_basel_country",
"https://www.baselland.ch/politik-und-behorden/direktionen/volkswirtschafts-und-gesundheitsdirektion/amt-fur-gesundheit/medizinische-dienste/kantonsarztlicher-dienst/aktuelles"),
Map.entry("Schafhausen",
Map.entry("canton_schaffhausen",
"https://sh.ch/CMS/Webseite/Kanton-Schaffhausen/Beh-rde/Verwaltung/Departement-des-Innern/Gesundheitsamt-2954701-DE.html"),
Map.entry("Appenzell_Ausserrhoden",
Map.entry("canton_appenzell_ausserrhoden",
"https://www.ar.ch/verwaltung/departement-gesundheit-und-soziales/amt-fuer-gesundheit/informationsseite-coronavirus/"),
Map.entry("Appenzell_Innerrhoden",
Map.entry("canton_appenzell_innerrhoden",
"https://www.ai.ch/themen/gesundheit-alter-und-soziales/gesundheitsfoerderung-und-praevention/uebertragbare-krankheiten/coronavirus"),
Map.entry("St_Gallen", "https://www.sg.ch/tools/informationen-coronavirus.html"),
Map.entry("Aargau", "https://www.ag.ch/de/themen_1/coronavirus_2/coronavirus.jsp"),
Map.entry("Thurgau", "https://www.tg.ch/news/fachdossier-coronavirus.html/10552"),
Map.entry("Tessin", "https://www4.ti.ch/dss/dsp/covid19/home/"),
Map.entry("Waadt", "https://www.vd.ch/toutes-les-actualites/hotline-et-informations-sur-le-coronavirus/"),
Map.entry("Wallis", "https://www.vs.ch/de/web/coronavirus"),
Map.entry("Neuenburg",
Map.entry("canton_st_gallen", "https://www.sg.ch/tools/informationen-coronavirus.html"),
Map.entry("canton_aargau", "https://www.ag.ch/de/themen_1/coronavirus_2/coronavirus.jsp"),
Map.entry("canton_thurgovia", "https://www.tg.ch/news/fachdossier-coronavirus.html/10552"),
Map.entry("canton_ticino", "https://www4.ti.ch/dss/dsp/covid19/home/"),
Map.entry("canton_vaud", "https://www.vd.ch/toutes-les-actualites/hotline-et-informations-sur-le-coronavirus/"),
Map.entry("canton_valais", "https://www.vs.ch/de/web/coronavirus"),
Map.entry("canton_neuchatel",
"https://www.ne.ch/autorites/DFS/SCSP/medecin-cantonal/maladies-vaccinations/Pages/Coronavirus.aspx"),
Map.entry("Genf", "https://www.ge.ch/covid-19-se-proteger-prevenir-nouvelle-vague"),
Map.entry("Jura",
Map.entry("canton_geneva", "https://www.ge.ch/covid-19-se-proteger-prevenir-nouvelle-vague"),
Map.entry("canton_jura",
"https://www.jura.ch/fr/Autorites/Coronavirus/Accueil/Coronavirus-Informations-officielles-a-la-population-jurassienne.html"),
Map.entry("Fürstentum_Liechtenstein", "https://www.llv.li/inhalt/118724/amtsstellen/coronavirus"));
Map.entry("country_liechtenstein", "https://www.llv.li/inhalt/118724/amtsstellen/coronavirus"));

private static final Logger logger = LoggerFactory.getLogger(GaenConfigController.class);

Expand Down

0 comments on commit b7b0536

Please sign in to comment.