/[projects]/dao/DaoAdresseService/src/main/java/dk/daoas/daoadresseservice/admin/ServiceConfig.java
ViewVC logotype

Annotation of /dao/DaoAdresseService/src/main/java/dk/daoas/daoadresseservice/admin/ServiceConfig.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2768 - (hide annotations) (download)
Wed Nov 4 22:10:59 2015 UTC (8 years, 6 months ago) by torben
File size: 775 byte(s)
WIP: status mail after data (re)load
1 torben 2346 package dk.daoas.daoadresseservice.admin;
2    
3 torben 2352 import dk.thoerup.circuitbreaker.config.BreakerConfig;
4 torben 2346 import dk.thoerup.webconfig.ConfigVariable;
5    
6    
7    
8 torben 2352 public class ServiceConfig implements BreakerConfig {
9 torben 2346
10     @ConfigVariable
11     public boolean useGoogle;
12    
13     @ConfigVariable
14     public boolean useOpenStreetMaps;
15    
16 torben 2367 @ConfigVariable
17     public int osmTimeout;
18    
19 torben 2349 @ConfigVariable(mandatory=false, readonly=true)
20     public String googleApiUser;
21    
22     @ConfigVariable(mandatory=false, hideValue=true)
23     public String googleApiKey;
24 torben 2368
25     @ConfigVariable
26     public String nominatimBase;
27 torben 2768
28     @ConfigVariable(mandatory=false)
29     public String notifyEmail;
30 torben 2352
31     @Override
32     public int getTimeout() {
33     return 60000;
34     }
35    
36     @Override
37     public int getTreshold() {
38     return 5;
39     }
40 torben 2349
41 torben 2346 }

  ViewVC Help
Powered by ViewVC 1.1.20