From 11e55e69e48c7261f90d2eb8c0b4ea4a6d809605 Mon Sep 17 00:00:00 2001 From: Thomas Schreiber Date: Tue, 23 Apr 2024 10:17:51 +0200 Subject: [PATCH] change variable name --- src/main/java/at/rtr/rmbt/constant/Config.java | 4 ++-- src/main/java/at/rtr/rmbt/response/UrlsResponse.java | 4 ++-- .../java/at/rtr/rmbt/service/impl/RtrSettingsServiceImpl.java | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/at/rtr/rmbt/constant/Config.java b/src/main/java/at/rtr/rmbt/constant/Config.java index 168f273..5b767e5 100644 --- a/src/main/java/at/rtr/rmbt/constant/Config.java +++ b/src/main/java/at/rtr/rmbt/constant/Config.java @@ -30,7 +30,7 @@ public interface Config { String URL_IPV4_CHECK_KEY = "url_ipv4_check"; String URL_IPV6_CHECK_KEY = "url_ipv6_check"; String URL_MAP_SERVER_KEY = "url_map_server"; - String URL_APP_CLOUD_KEY = "url_app_cloud"; + String URL_STATISTIC_SERVER_KEY = "url_statistic_server"; String SYSTEM_UUID_KEY = "system_UUID"; String GEO_PROVIDER_MANUAL = "manual"; String GEO_PROVIDER_GEOCODER = "geocoder"; @@ -84,7 +84,7 @@ public interface Config { "host_map_server", "ssl_map_server", "port_map_server", - "url_app_cloud" + "url_statistic_server" ); List SERVER_TEST_SERVER_TYPES = List.of(ServerType.RMBT); List SERVER_HTTP_TEST_SERVER_TYPES = List.of(ServerType.RMBT, ServerType.RMBThttp); diff --git a/src/main/java/at/rtr/rmbt/response/UrlsResponse.java b/src/main/java/at/rtr/rmbt/response/UrlsResponse.java index 8cba43d..77624a9 100644 --- a/src/main/java/at/rtr/rmbt/response/UrlsResponse.java +++ b/src/main/java/at/rtr/rmbt/response/UrlsResponse.java @@ -34,6 +34,6 @@ public class UrlsResponse { @JsonProperty(value = "statistics") private final String statistics; - @JsonProperty(value = "url_app_cloud") - private final String urlAppCloud; + @JsonProperty(value = "url_statistic_server") + private final String urlStatisticServer; } diff --git a/src/main/java/at/rtr/rmbt/service/impl/RtrSettingsServiceImpl.java b/src/main/java/at/rtr/rmbt/service/impl/RtrSettingsServiceImpl.java index 53923ab..87eaef9 100644 --- a/src/main/java/at/rtr/rmbt/service/impl/RtrSettingsServiceImpl.java +++ b/src/main/java/at/rtr/rmbt/service/impl/RtrSettingsServiceImpl.java @@ -352,7 +352,7 @@ private UrlsResponse getUrlsResponse(Map settings) { .urlIPV4Check(settings.get(Config.URL_IPV4_CHECK_KEY)) .urlIPV6Check(settings.get(Config.URL_IPV6_CHECK_KEY)) .urlMapServer(settings.get(Config.URL_MAP_SERVER_KEY)) - .urlAppCloud(settings.get(Config.URL_APP_CLOUD_KEY)) + .urlStatisticServer(settings.get(Config.URL_STATISTIC_SERVER_KEY)) .build(); }