Skip to content

Commit

Permalink
add url_app_cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Apr 23, 2024
1 parent e376154 commit 4d086c8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/at/rtr/rmbt/constant/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +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 SYSTEM_UUID_KEY = "system_UUID";
String GEO_PROVIDER_MANUAL = "manual";
String GEO_PROVIDER_GEOCODER = "geocoder";
Expand Down Expand Up @@ -82,7 +83,8 @@ public interface Config {
"url_map_server",
"host_map_server",
"ssl_map_server",
"port_map_server"
"port_map_server",
"url_app_cloud"
);
List<ServerType> SERVER_TEST_SERVER_TYPES = List.of(ServerType.RMBT);
List<ServerType> SERVER_HTTP_TEST_SERVER_TYPES = List.of(ServerType.RMBT, ServerType.RMBThttp);
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/at/rtr/rmbt/response/UrlsResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ public class UrlsResponse {

@JsonProperty(value = "statistics")
private final String statistics;

@JsonProperty(value = "url_app_cloud")
private final String urlAppCloud;
}
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ private UrlsResponse getUrlsResponse(Map<String, String> 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))
.build();
}

Expand Down

0 comments on commit 4d086c8

Please sign in to comment.