-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.sample.yml
148 lines (132 loc) · 3.58 KB
/
config.sample.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
# Logging parameters.
logging:
# Options: ALL | TRACE | DEBUG | INFO | WARN | ERROR | FATAL | OFF. Default: INFO.
level: DEBUG
# Options: console | file | dailyRotatingFile | sizeRotatingFile. Default: console.
output: console
# Configure the log file.
file:
# Default: `./logs`
dir: ./logs
# Default: `the_log`.
name: api
# File size in MB for `sizeRotatingFile` log type. Default: 20 MB.
maxSize: 20
# Number of old files to keep for `sizeRotatingFile` log type. Default: 5.
oldFiles: 5
# Boolean. If true, it'll create a separate file for errors. Default: false.
separateError: true
# Configure the access log. If its level is inferior than the main level it won't be logged.
# Documentaiton: https://github.com/nomiddlename/log4js-node/wiki/Connect-Logger
access:
# Options: Same as the main level. Default: The one used in the main level.
level: INFO
# Optional. For using log4js default format: false.
format: :remote-addr - ":method :url HTTP/:http-version" :status :res[content-length] :response-time ":user-agent"
# Optional array: each element it's like a regex. Default: empty.
nolog:
- ^/notifier
pgsql:
host: postgis
user: admin
password: password
database: urbo
port: 5432
redis:
use_cache: true
host: redis
port: 6379
db: 0
# Not necessary in new deployments
# password: password
ttl: 15 # In minutes
generators:
# connector yml generator
createUserOnVerticalCreation: false
ldap:
url: ldap://x.x.x.x:x
bindDn: "Dn"
bindCredentials: cred
searchBase: "Base"
searchFilter: "mail={{username}}"
defaultScopes:
- scope_name
autoCreateUserByLdap: false
forceLdapAuthtentication: false
dema:
orion:
- secret: secret
id_subs: id_subs
service: service
subservice: /subservice
user: admin
password: XXXXXXXX
portAuthtk: 15001
portCtxApi: 10027
urlCtxBrBase: https://x.x.x.x
- secret: secret
service: service
subservice: /subservice
portCtxApi: 1026
urlCtxBrBase: http://x.x.x.x
vertical_translator:
dema_name: original_name
auth:
token_secret: XXXX
# Optional: token expiration in seconds. Default to 60.
token_expiration: 600
idm_active: TRUE|FALSE
notifier:
token_secret: XXXXX
orion:
- id_subs: urbo_test
service: myservice
subservice: /mysubservice
user: myuser
password: mypassword
portAuthtk: 00000
portCtxApi: 00000
urlCtxBrBase: https://0.0.0.0
test:
users:
- email: admin@domain.gs
password: invent_pass
categories:
- id: dumps
carto:
namedmaps:
- dumps/dumps_example01.json
- dumps/dumps_example02.json
- id: lighting
carto:
namedmaps:
- lighting/lighting_example01.json
- lighting/lighting_example02.json
carto:
- user: mycartouser
api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
default: true
- user: mycartouser02
api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Guadalajara MicroStrategy API parameteres
microstrategy:
tokenRenew: 20 #minutes
apiUrl: "https://xxxxxxxxxxxxxxxxxxxx"
idm:
client_id: xxxxxxxxxxxxxxxxxxxx
client_secret: xxxxxxxxxxxxxxxxxxxx
url: http://idm.cedus.eu
response_type: code
callback_url: http://localhost/auth/idm/login
# urbo-processing parameters -- Added to use it at the wizard connector generator for cedus
processing:
active: false
url: http://localhost:port
requestAttempts: 5
psqlJob: connectorPsql
cartoJob: connectorCarto
jobAttempts: 3
priority: critical
auth:
user: urbo_connector
password: urbo_connector_password