-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
391 lines (381 loc) · 11.2 KB
/
config.yml
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
jerseyClient:
connectionTimeout: 1m
timeout: 30s
tls:
verifyHostname: false
trustSelfSignedCertificates: true
server:
applicationConnectors:
- type: http
port: ${BR_SERVER_PORT:-8080}
logging:
level: INFO
appenders:
- type: console
logFormat: "%-5p [%d{ISO8601,UTC}] %c: %m %kvp%n%dwREx"
discardingThreshold: 0
target: stderr
- type: file
currentLogFilename: ./query.log
threshold: ALL
queueSize: 512
discardingThreshold: 0
archive: true
archivedLogFilenamePattern: ./query-log-%d.gz
archivedFileCount: 5
timeZone: UTC
logFormat: "%d{ISO8601,UTC}|%m|%kvp%n"
bufferSize: 256KiB
immediateFlush: true
filterFactories:
- type: marker
markers:
- QRY
loggers:
nl.knaw.huc: DEBUG
org: WARN
org.glassfish: ERROR
com.jayway: ERROR
externalBaseUrl: ${BR_EXTERNAL_BASE_URL:-http://localhost:8080}
projects:
- name: 'globalise'
textType: LogicalText
annoRepo:
containerName: globalise-2024-03-18
uri: https://annorepo.globalise.huygens.knaw.nl
brinta:
uri: http://localhost:9200
deleteKey: 00b9a2d3-0176-46ae-be0c-4909b1df0cfe
joinSeparator: " "
indices:
- name: docs
bodyTypes: [ "px:Page" ]
fields:
- name: bodyType
path: "$.body.type"
- name: invNr
path: "$.body.metadata.inventoryNumber"
- name: document
path: "$.body.metadata.document"
textRepo:
uri: https://globalise.tt.di.huc.knaw.nl
- name: 'mondriaan'
views:
- name: textOrig
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: original
- name: textTrans
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: translation
- name: notesEN
conf:
anno:
- path: body.type
value: tei:Note
- path: body.metadata.lang
value: en
- name: title
conf:
anno:
- path: body.type
value: tei:Title
- name: postalData
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: postalData
brinta:
uri: http://localhost:9200
deleteKey: "mondriaan-dev-mag-weg"
indices:
- name: divs
bodyTypes: [ tf:Letter, tei:Div, tei:Rs ]
fields:
- name: bodyType
path: "$.body.type"
- name: lang
path: "$.body.metadata.lang"
- name: type
path: "$.body.metadata.type"
- name: anno
path: "$.body.metadata.anno"
- name: country
path: "$.body.metadata.country"
- name: institution
path: "$.body.metadata.institution"
- name: msid
path: "$.body.metadata.msid"
- name: period
path: "$.body.metadata.period"
- name: periodLong
path: "$.body.metadata.periodlong"
- name: letterId
path: "$.body.metadata.letterid"
- name: correspondent
path: "$.body.metadata.correspondent"
- name: location
path: "$.body.metadata.location"
annoRepo:
containerName: 'mondriaan-0.9.0'
uri: https://mondriaan.annorepo.dev.clariah.nl
textRepo:
uri: https://mondriaan.tt.di.huc.knaw.nl
- name: 'republic'
topTierBodyType: Volume
textType: LogicalText
brinta:
uri: http://localhost:9200
deleteKey: 'republic-dev-mag-weg'
joinSeparator: " "
indices:
- name: 'rep-2024.11.18'
bodyTypes: [ Resolution ]
fields:
- name: attendantId
logical:
scope: attendants
path: ".id"
- name: attendantName
logical:
scope: attendants
path: ".name"
- name: locationName
logical:
scope: entities
path: ".name"
fixed:
path: ".category"
value: LOC
- name: locationLabels
logical:
scope: entities
path: ".labels"
fixed:
path: ".category"
value: LOC
- name: organisationName
logical:
scope: entities
path: ".name"
fixed:
path: ".category"
value: ORG
- name: organisationLabels
logical:
scope: entities
path: ".labels"
fixed:
path: ".category"
value: ORG
- name: personName
logical:
scope: entities
path: ".name"
fixed:
path: ".category"
value: PERS
- name: personLabels
logical:
scope: entities
path: ".labels"
fixed:
path: ".category"
value: PERS
- name: roleName
logical:
scope: entities
path: ".name"
fixed:
path: ".category"
value: HOE
- name: roleLabels
logical:
scope: entities
path: ".labels"
fixed:
path: ".category"
value: HOE
- name: bodyType
path: "$.body.type"
- name: propositionType
path: "$.body.metadata.propositionType"
- name: resolutionType
path: "$.body.metadata.resolutionType"
- name: textType
path: "$.body.metadata.textType"
- name: sessionDate
path: "$.body.metadata.sessionDate"
type: date
- name: sessionDay
path: "$.body.metadata.sessionDay"
type: byte
- name: sessionMonth
path: "$.body.metadata.sessionMonth"
type: byte
- name: sessionYear
path: "$.body.metadata.sessionYear"
type: short
- name: attendants
type: nested
nested:
from: [ Attendant ]
fields:
- name: id
path: "$.body.metadata.delegateId"
- name: name
path: "$.body.metadata.delegateName"
with:
- equal: "$.body.metadata.sessionID"
- name: entities
type: nested
nested:
from: [ Entity ]
fields:
- name: category
path: "$.body.metadata.category"
- name: id
path: "$.body.metadata.entityId"
- name: labels
path: "$.body.metadata.entityLabels"
- name: name
path: "$.body.metadata.name"
with:
- overlap: LogicalText
- name: bodyType
path: "$.body.type"
- name: sessionWeekday
path: "$.body.metadata.sessionWeekday"
annoRepo:
containerName: republic-2024.11.18
uri: https://annorepo.republic-caf.diginfra.org
textRepo:
uri: https://textrepo.republic-caf.diginfra.org
- name: 'suriano'
topTierBodyType: tf:Folder
textType: LogicalText
views:
- name: appendix
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: appendix
- name: original
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: original
- name: secretarial
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: secretarial
- name: text
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: text
brinta:
uri: http://localhost:9200
deleteKey: suriano-dev-mag-weg
indices:
- name: suriano-0.4.5e-021
bodyTypes: [ LetterBody ]
fields:
- name: bodyType
path: "$.body.type"
- name: date
path: "$.body.metadata.date"
type: date
- name: recipient
path: "$.body.metadata.recipient"
- name: recipientLoc
path: "$.body.metadata.recipientLoc"
- name: sender
path: "$.body.metadata.sender"
- name: senderLoc
path: "$.body.metadata.senderLoc"
- name: editorNotes
path: "$.body.metadata.editorNotes"
- name: shelfmark
path: "$.body.metadata.shelfmark"
- name: summary
path: "$.body.metadata.summary"
type: text
annoRepo:
containerName: 'suriano-0.4.5e-021'
uri: https://suriano.annorepo.dev.clariah.nl/
textRepo:
uri: https://suriano.tt.di.huc.knaw.nl
- name: 'hooft'
annoRepo:
containerName: 'brieven-van-hooft'
uri: https://brieven-van-hooft.annorepo.dev.clariah.nl/
brinta:
uri: http://localhost:9200
deleteKey: hooft-dev-mag-weg
indices:
- name: letters-2024-03-28
bodyTypes: [ Letter ]
fields:
- name: bodyType
path: "$.body.type"
textRepo:
uri: https://brieven-van-hooft.tt.di.huc.knaw.nl
- name: 'vangogh'
views:
- name: textOrig
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: original
- name: textTrans
conf:
anno:
- path: body.type
value: tei:Div
- path: body.metadata.type
value: translation
brinta:
deleteKey: vangogh-dev-mag-weg
uri: http://localhost:9200
indices:
- name: "letters-vangogh-0.2.0"
bodyTypes: [ tf:Letter ]
fields:
- name: correspondent
path: "$.body.metadata.correspondent"
- name: institution
path: "$.body.metadata.institution"
- name: location
path: "$.body.metadata.location"
- name: msid
path: "$.body.metadata.msid"
- name: period
path: "$.body.metadata.period"
- name: periodLong
path: "$.body.metadata.periodLong"
annoRepo:
containerName: 'vangogh-0.2.0'
uri: https://vangogh.annorepo.dev.clariah.nl
textRepo:
uri: https://vangogh.tt.di.huc.knaw.nl