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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2778 - (show annotations) (download)
Fri Nov 20 16:31:01 2015 UTC (8 years, 5 months ago) by torben
File size: 828 byte(s)
Implementer en (double)metaphone hjælper
1 package dk.daoas.daoadresseservice.admin;
2
3 import dk.thoerup.circuitbreaker.config.BreakerConfig;
4 import dk.thoerup.webconfig.ConfigVariable;
5
6
7
8 public class ServiceConfig implements BreakerConfig {
9
10 @ConfigVariable
11 public boolean useGoogle;
12
13 @ConfigVariable
14 public boolean useOpenStreetMaps;
15
16 @ConfigVariable
17 public boolean useMetaphone;
18
19 @ConfigVariable
20 public int osmTimeout;
21
22 @ConfigVariable(mandatory=false, readonly=true)
23 public String googleApiUser;
24
25 @ConfigVariable(mandatory=false, hideValue=true)
26 public String googleApiKey;
27
28 @ConfigVariable
29 public String nominatimBase;
30
31 @ConfigVariable(mandatory=false)
32 public String notifyEmail;
33
34 @Override
35 public int getTimeout() {
36 return 60000;
37 }
38
39 @Override
40 public int getTreshold() {
41 return 5;
42 }
43
44 }

  ViewVC Help
Powered by ViewVC 1.1.20