9
9
public class Configuration {
10
10
private static final String DEFAULT_SERVER_URL = "https://collector.exceptionless.io" ;
11
11
private static final String DEFAULT_HEARTBEAT_SERVER_URL = "https://heartbeat.exceptionless.io" ;
12
+ private static final String DEFAULT_CONFIG_SERVER_URL = "https://config.exceptionless.io" ;
12
13
private static final Long DEFAULT_UPDATE_SETTINGS_WHEN_IDLE_INTERVAL = 12000L ;
13
14
private static final Integer DEFAULT_SUBMISSION_BATCH_SIZE = 50 ;
14
15
private static final Integer DEFAULT_SUBMISSION_CLIENT_TIMEOUT_IN_MILLIS = 500 ;
@@ -29,6 +30,7 @@ public static class Property {
29
30
@ Getter private String apiKey ;
30
31
@ Getter private String serverUrl ;
31
32
@ Getter private String heartbeatServerUrl ;
33
+ @ Getter private String configServerUrl ;
32
34
@ Getter private Long updateSettingsWhenIdleInterval ;
33
35
@ Getter private Integer submissionBatchSize ;
34
36
@ Getter private Integer submissionClientTimeoutInMillis ;
@@ -51,6 +53,10 @@ public Configuration(
51
53
heartbeatServerUrl == null
52
54
? (serverUrl == null ? DEFAULT_HEARTBEAT_SERVER_URL : serverUrl )
53
55
: heartbeatServerUrl ;
56
+ this .configServerUrl =
57
+ configServerUrl == null
58
+ ? (serverUrl == null ? DEFAULT_CONFIG_SERVER_URL : serverUrl )
59
+ : configServerUrl ;
54
60
this .updateSettingsWhenIdleInterval =
55
61
updateSettingsWhenIdleInterval == null
56
62
? DEFAULT_UPDATE_SETTINGS_WHEN_IDLE_INTERVAL
0 commit comments