-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig-example.yml
More file actions
63 lines (54 loc) · 1.76 KB
/
config-example.yml
File metadata and controls
63 lines (54 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
server:
applicationConnectors:
- type: http
port: 9090
adminConnectors:
- type: http
port: 9091
requestLog:
appenders:
- type: console
- type: file
# The file to which current statements will be logged.
currentLogFilename: ./logs/api_requests.log
# When the log file rotates, the archived log will be renamed to this and gzipped. The
# %d is replaced with the previous day (yyyy-MM-dd). Custom rolling windows can be created
# by passing a SimpleDateFormat-compatible format as an argument: "%d{yyyy-MM-dd-hh}".
archivedLogFilenamePattern: ./logs/api_requests-%d.log.gz
# The number of archived files to keep.
archivedFileCount: 5
# The timezone used to format dates. HINT: USE THE DEFAULT, UTC.
timeZone: UTC
logging:
level: INFO
loggers:
io.dropwizard: DEBUG
appenders:
- type: console
- type: file
currentLogFilename: ./logs/api_internal.log
archivedLogFilenamePattern: ./logs/api_internal-%d.log.gz
archivedFileCount: 5
timeZone: UTC
core:
similarityThreshold: 0.7
nameSimilarityWeight: 0.9
pathSimilarityWeight: 0.1
termSuggestionsListSize: 5
# the only required property is resourcePackage (more info at https://github.com/smoketurner/dropwizard-swagger)
swagger:
resourcePackage: org.metadatacenter.fairware
cedar:
apiKey: '<your CEDAR api key>'
baseUrl: 'https://resource.metadatacenter.org/'
bioportal:
apiKey: '<your BioPortal api key>'
searchUrl: 'https://data.bioontology.org/search/'
connectTimeout: 3000
socketTimeout: 30000
pageSize: 20
citationServices:
dataCite:
doisUrl: 'https://api.datacite.org/dois/'
ncbi:
rootUrl: 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi'