-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.yaml
More file actions
56 lines (54 loc) · 2.04 KB
/
Settings.yaml
File metadata and controls
56 lines (54 loc) · 2.04 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
# #
# Example Settings #
# #
# This file contains settings for various parts of the application. #
# Copy this file to Settings.yaml, and adjust as necessary. #
# #
# Please refer to the default settings file(s) or the manuals for #
# possible configuration options. #
# #
TYPO3:
Flow:
persistence:
# It is good practice to not specify user name and password of the database
# connection in this global Settings.yaml file. Rather specify them in the
# settings of the respective context (Production / Development ...).
backendOptions:
host: friwahl-db # adjust to your database host
security:
authentication:
providers:
DefaultProvider:
provider: PersistedUsernamePasswordProvider
AstaKit:
FriWahl:
VoterDirectory:
importFormats:
testFormat:
fieldSeparator: ","
fieldWrap: "\""
fields:
-
type: "discriminator"
name: "matriculationNumber"
-
# e.g. Sullivan, Glotzkowski
type: "property"
name: "familyName"
-
# e.g. James P., Mike
type: "property"
name: "givenName"
-
type: "discriminator"
name: "department"
failIfMissingValue: true
preProcessing:
- trim
valueMap:
"Fakultät für Dinge": "dinge"
"Fakultät für Engel": "eng"
"Fakultät für Artisten": "art"
discriminators:
department: "Department"
matriculationNumber: "Matriculation number"