Сравнение конфигурационных файлов
В разделе приведено сравнение параметров конфигурационных файлов модуля osmax-core для текущей и предыдущей версий продукта, где:
-
строки с символом «-», выделенные желтым цветом — устаревшие названия параметров/комментариев, которые были частично изменены, полностью заменены или удалены в текущей версии продукта;
-
строки с символом «+», выделенные бледно-зеленым цветом — обновленные названия параметров/комментариев, актуальные для текущей версии продукта;
-
строки с символом «+», выделенные зеленым цветом — новые строки в файле, добавленные в текущей версии продукта.
-
дополнительно:
-
розовым цветом выделены измененные/удаленные элементы;
-
ярко-зеленым цветом выделены новые элементы.
-
| Описание параметров см. в разделе «Конфигурация модуля osmax-core». |
Конфигурационный файл модуля osmax-core
core-application-properties-1-16-0.properties → core-application-properties-1-17-0.properties
|
@@ -1,497 +1,515 @@
|
|
|
1
1
|
## This is an example of `application.properties` file as main configuration file for osmax-core backend
|
|
2
2
|
|
|
3
3
|
###############################################################################
|
|
4
4
|
# HTTP server properties section #
|
|
5
5
|
###############################################################################
|
|
6
6
|
|
|
7
7
|
## Main application port
|
|
8
8
|
quarkus.http.port=8081
|
|
9
9
|
|
|
10
10
|
## HTTP body limit, can be changed to big files uploading
|
|
11
11
|
quarkus.http.limits.max-body-size=100M
|
|
12
12
|
|
|
13
13
|
## HTTP header limit, can be changed to big kerberos ticket usage
|
|
14
14
|
quarkus.http.limits.max-header-size=100K
|
|
15
15
|
|
|
16
16
|
## SSL configuration section.
|
|
17
17
|
## To enable serving requests via HTTPS uncomment the following parameters:
|
|
18
18
|
#quarkus.http.insecure-requests=disabled
|
|
19
19
|
#quarkus.http.ssl-port=8081
|
|
20
20
|
#quarkus.http.ssl.certificate.key-store-file=/opt/osmax-core/keystore.jks
|
|
21
21
|
#quarkus.http.ssl.certificate.key-store-password=keystore@12345
|
|
22
22
|
|
|
23
23
|
# Use async dns resolver from netty.
|
|
24
24
|
# By default, Quarkus disables it, but since we heavily rely on the HTTP client,
|
|
25
25
|
# any DNS probes could become a bottleneck
|
|
26
26
|
#
|
|
27
27
|
# [WARN] If you experience DNS resolution problems in your environment, comment out this parameter
|
|
28
28
|
quarkus.vertx.use-async-dns=true
|
|
29
29
|
|
|
30
30
|
###############################################################################
|
|
31
31
|
# Authentication & Authorization section #
|
|
32
32
|
###############################################################################
|
|
33
33
|
|
|
34
34
|
## Enable/disable authentication
|
|
35
35
|
osmax.application.auth.disabled=false
|
|
36
36
|
## Enables kerberos authentication debug mode
|
|
37
37
|
#quarkus.kerberos.debug=true
|
|
38
38
|
## There are 2 alternative options for the kerberos credentials [principal realm, name and password] defining:
|
|
39
39
|
## 1) via direct defining;
|
|
40
40
|
## 2) via keytab file path defining
|
|
41
41
|
##
|
|
42
42
|
## Direct kerberos credentials defining:
|
|
43
43
|
quarkus.kerberos.service-principal-name=lcm_backend_svc
|
|
44
44
|
quarkus.kerberos.service-principal-realm=my.domain.com
|
|
45
45
|
quarkus.kerberos.service-principal-password=Password123
|
|
46
46
|
## Path to keytab:
|
|
47
47
|
#quarkus.kerberos.keytab-path=/opt/osmax-core/my_file.keytab
|
|
48
48
|
|
|
49
49
|
## Old deprecated authorization based on LDAP-groups only
|
|
50
50
|
## List of LDAP groups whose users are authorized in Admin Console
|
|
51
51
|
#osmax.authorization.user-groups-white-list[0]=CN=testGroup,CN=Users,DC=inno,DC=test
|
|
52
52
|
|
|
53
53
|
# New RBAC
|
|
54
54
|
osmax.authorization.rbac.enabled=false
|
|
55
55
|
# The following users will be mapped to the superuser role when the application starts
|
|
56
56
|
#osmax.authorization.rbac.super-users[0]=alice@INNO.TEST
|
|
57
57
|
#osmax.authorization.rbac.super-users[1]=bob@INNO.TEST
|
|
58
58
|
|
|
59
59
|
###############################################################################
|
|
60
60
|
# Database properties section #
|
|
61
61
|
###############################################################################
|
|
62
62
|
|
|
63
63
|
## Main datasource
|
|
64
64
|
quarkus.datasource."lcm-db".username=lcm
|
|
65
65
|
quarkus.datasource."lcm-db".password=password
|
|
66
66
|
quarkus.datasource."lcm-db".reactive.url=postgresql://localhost:5432/lcm
|
|
67
67
|
## If you need to specify default DB schema use the syntax below
|
|
68
68
|
#quarkus.datasource."lcm-db".reactive.url=postgresql://localhost:5432/lcm?search_path=lcm_schema_name
|
|
69
69
|
|
|
70
70
|
## If you need to specify few datasource connections for load-balancing or work with clustered db use the syntax below
|
|
71
71
|
#quarkus.datasource."lcm-db".reactive.url=postgresql://host1:5432/lcm,postgresql://host2:5432/lcm,postgresql://host3:5432/lcm
|
|
72
72
|
## Or this can also be written with indexed property syntax
|
|
73
73
|
#quarkus.datasource."lcm-db".reactive.url[0]=postgresql://host1:5432/lcm
|
|
74
74
|
#quarkus.datasource."lcm-db".reactive.url[1]=postgresql://host2:5432/lcm
|
|
75
75
|
#quarkus.datasource."lcm-db".reactive.url[2]=postgresql://host3:5432/lcm
|
|
76
76
|
|
|
77
77
|
## Main datasource Liquibase config
|
|
78
78
|
quarkus.datasource."lcm-db".jdbc.url=jdbc:postgresql://localhost:5432/lcm
|
|
79
79
|
quarkus.liquibase."lcm-db".default-schema-name=lcm
|
|
80
80
|
quarkus.liquibase."lcm-db".migrate-at-start=True
|
|
81
81
|
|
|
82
82
|
## Readonly datasource
|
|
83
83
|
quarkus.datasource."lcm-db-readonly".username=readonly
|
|
84
84
|
quarkus.datasource."lcm-db-readonly".password=password
|
|
85
85
|
quarkus.datasource."lcm-db-readonly".reactive.url=postgresql://localhost:5432/lcm
|
|
86
86
|
quarkus.datasource."lcm-db-readonly".jdbc.url=jdbc:postgresql://localhost:5432/lcm
|
|
87
87
|
|
|
88
88
|
###############################################################################
|
|
89
89
|
# Hardware inventory properties section #
|
|
90
90
|
###############################################################################
|
|
91
91
|
|
|
92
92
|
# Remote operation orders
|
|
93
93
|
# Every 10 minutes
|
|
94
94
|
osmax.inventory.job.remote-operation-expired-orders.cron.expression=0 */10 * ? * *
|
|
95
95
|
|
|
96
96
|
# Schedule for checking dynamic MACHINE collections refresh executing time (quartz cron format), every 2 min
|
|
97
97
|
osmax.inventory.job.dynamic-collections-refresh-executing-time.cron.expr=0 */2 * ? * *
|
|
98
98
|
# Splay value in seconds for one-time task of dynamic MACHINE collections refresh
|
|
99
99
|
osmax.inventory.job.dynamic-collections-refresh.splay=10
|
|
100
100
|
|
|
101
101
|
# Schedule for checking dynamic USER collections refresh executing time (quartz cron format), every 2 min
|
|
102
102
|
osmax.inventory.job.dynamic-user-collections-refresh-executing-time.cron.expr=0 */2 * ? * *
|
|
103
103
|
# Splay value in seconds for one-time task of dynamic USER collections refresh
|
|
104
104
|
osmax.inventory.job.dynamic-user-collections-refresh.splay=10
|
|
105
105
|
|
|
106
106
|
# Schedule for starting entity cleanup tasks (quartz cron format)
|
|
107
107
|
# Every 2 minutes
|
|
108
108
|
osmax.inventory.job.cleanup-tasks-starter-scheduler.cron.expr=0 */2 * ? * *
|
|
109
109
|
|
|
110
110
|
# Determines the maximum amount of machine custom attributes in one section
|
|
111
111
|
osmax.inventory.machine-attribute.section.size=20
|
|
112
112
|
|
|
113
113
|
# Determines the maximum amount of user custom attributes in one section
|
|
114
114
|
osmax.inventory.user-attribute.section.size=20
|
|
115
115
|
|
|
116
|
+
# Determines default DB lock timeout for entity folders operations
|
|
117
|
+
osmax.inventory.entity-folders.lock-timeout=2s
|
|
118
|
+
|
|
116
119
|
# The number of minutes since the last agent activity before the device goes into "Offline" status
|
|
117
120
|
osmax.inventory.settings.agent.minutes-to-become-offline=5
|
|
118
121
|
# Absolute file path to `wtmp` file which stores historical data of user logins and logouts
|
|
119
122
|
osmax.machines.user-sessions.linux.wtmp-absolute-path=/var/log/wtmp
|
|
120
123
|
# Absolute file path to `utmp` file which stores user sessions in real time
|
|
121
124
|
osmax.machines.user-sessions.linux.utmp-absolute-path=/var/run/utmp
|
|
122
125
|
# Option, which determines the considered Salt mode (single- or multimaster), can be true or false
|
|
123
126
|
osmax.agent-installation.settings.multi-master-mode=true
|
|
124
127
|
# Absolute path, containing all files which are to be included into bootstrap script configuration archive (.tar.gz)
|
|
125
128
|
osmax.salt.scripts.bootstrap-script-config-path=/config/script-configs/bootstrap/
|
|
126
129
|
# Optional parameters, matching salt-ssh connection settings,
|
|
127
130
|
# see https://docs.saltproject.io/en/latest/ref/runners/all/salt.runners.manage.html#salt.runners.manage.bootstrap
|
|
128
131
|
#osmax.agent-installation.settings.bootstrap-ssh-user=
|
|
129
132
|
#osmax.agent-installation.settings.bootstrap-ssh-password=
|
|
130
133
|
#osmax.agent-installation.settings.bootstrap-ssh-private-key-path=
|
|
131
134
|
|
|
132
135
|
###############################################################################
|
|
133
136
|
# LDAP integration properties section #
|
|
134
137
|
###############################################################################
|
|
135
138
|
|
|
136
139
|
#enable JNDI for the LDAP server discovery inside the MS AD domain when you define option 'osmax.inventory.ldap.datasource[i].dns-srv-record'
|
|
137
140
|
quarkus.naming.enable-jndi=true
|
|
138
141
|
## Determines the page size for any ldap query
|
|
139
142
|
osmax.inventory.ldap.search-page-size=200
|
|
140
143
|
## The first LDAP datasource configuration
|
|
141
144
|
osmax.inventory.ldap.datasource[0].name=my.domain.com
|
|
142
145
|
osmax.inventory.ldap.datasource[0].base-dn=DC=my,DC=domain,DC=com
|
|
143
146
|
## There are 2 options to set LDAP hostname pools
|
|
144
147
|
## 1) direct addresses defining
|
|
145
148
|
## 2) using DNS SRV records to discover LDAP servers from MS AS domain
|
|
146
149
|
##
|
|
147
150
|
## For the direct addresses defining of LDAP datasource please use the following options:
|
|
148
151
|
## osmax.inventory.ldap.datasource[i].host=
|
|
149
152
|
## osmax.inventory.ldap.datasource[i].port=
|
|
150
153
|
##
|
|
151
154
|
## extra hosts section is optional
|
|
152
155
|
## osmax.inventory.ldap.datasource[i].extra-hosts[j].host=
|
|
153
156
|
## osmax.inventory.ldap.datasource[i].extra-hosts[j].port=
|
|
154
157
|
|
|
155
158
|
## For the using DNS SRV records to discover LDAP servers from MS AS domain use the following options:
|
|
156
159
|
### osmax.inventory.ldap.datasource[i].dns-srv-record=
|
|
157
160
|
##
|
|
158
161
|
## example below:
|
|
159
162
|
osmax.inventory.ldap.datasource[0].host=localhost
|
|
160
163
|
osmax.inventory.ldap.datasource[0].port=636
|
|
161
164
|
osmax.inventory.ldap.datasource[0].username=administrator@my.domain.com
|
|
162
165
|
osmax.inventory.ldap.datasource[0].password=Welkom123
|
|
163
166
|
## Optional section for the LDAP datasource
|
|
164
167
|
# osmax.inventory.ldap.datasource[0].connect-timeout-millis=10000
|
|
165
168
|
# osmax.inventory.ldap.datasource[0].response-timeout=10000
|
|
166
169
|
# osmax.inventory.ldap.datasource[0].abandon-on-timeout=true
|
|
167
170
|
# osmax.inventory.ldap.datasource[0].allow-concurrent-socket-factory-use=true
|
|
168
171
|
|
|
169
172
|
## The second and subsequent LDAP datasource configurations are optional
|
|
170
173
|
#osmax.inventory.ldap.datasource[1].name=my2.domain.com
|
|
171
174
|
#osmax.inventory.ldap.datasource[1].base-dn=DC=my2,DC=domain,DC=com
|
|
172
175
|
#osmax.inventory.ldap.datasource[1].dns-srv-record=_ldap._tcp.dc._msdcs.mydomain.com
|
|
173
176
|
#osmax.inventory.ldap.datasource[1]...
|
|
174
177
|
|
|
175
178
|
## LDAPS (LDAP over SSL) parameters section.
|
|
176
179
|
|
|
177
180
|
# To configure LDAPS please use the following option
|
|
178
181
|
#osmax.inventory.ldap.datasource[i].ssl=...
|
|
179
182
|
# There are 3 options available for this option:
|
|
180
183
|
# value `false` - use this mode when you want to use LDAP without SSL (usually 389 port)
|
|
181
184
|
# value `true` - use this mode when you want to use LDAPS (usually 636 port), requires path to the certificate file or truststore file
|
|
182
185
|
# value `start-tls` - use this mode when you want to establish an insecure connection (usually 389 port),
|
|
183
186
|
# but then to immediately use the StartTLS extended operation to convert that insecure connection to a secure one
|
|
184
187
|
|
|
185
188
|
# If you want to trust all SSL certificates without direct certificate/truststore definition you can use the option
|
|
186
189
|
# osmax.inventory.ldap.datasource[i].trust-all-ssl-certificates=true
|
|
187
190
|
|
|
188
191
|
## The following example shows how to configure LDAPS with certificate file definition for the datasource
|
|
189
192
|
#osmax.inventory.ldap.datasource[0].ssl=true
|
|
190
193
|
#osmax.inventory.ldap.datasource[0].ssl-certificate=/opt/osmax-core/samba_cert.pem
|
|
191
194
|
|
|
192
195
|
## The following example shows how to configure LDAPS with truststore file definition for the datasource
|
|
193
196
|
#osmax.inventory.ldap.datasource[0].ssl=true
|
|
194
197
|
#osmax.inventory.ldap.datasource[0].ssl-trust-store=/opt/osmax-core/keystore.jks
|
|
195
198
|
#osmax.inventory.ldap.datasource[0].ssl-trust-store-type=PKCS12
|
|
196
199
|
#osmax.inventory.ldap.datasource[0].ssl-trust-store-password=keystore@12345
|
|
197
200
|
|
|
198
201
|
## The following example shows how to configure LDAPS with truststore file definition for all datasource
|
|
199
202
|
#osmax.inventory.ldap.ssl-trust-store=/opt/osmax-core/keystore.jks
|
|
200
203
|
#osmax.inventory.ldap.ssl-trust-store-type=JKS
|
|
201
204
|
#osmax.inventory.ldap.ssl-trust-store-password=keystore@12345
|
|
202
205
|
|
|
203
206
|
|
|
204
207
|
###############################################################################
|
|
205
208
|
# Application Store properties section #
|
|
206
209
|
###############################################################################
|
|
207
210
|
|
|
208
211
|
# Determines the amount of hours after which order is considered failed
|
|
209
212
|
osmax.order-management.completion.time.hours=12
|
|
210
213
|
# Schedule for tracking long-running orders as failed (quartz cron format)
|
|
211
214
|
# [At second :00 of minute :00 of every hour]
|
|
212
215
|
osmax.order-management.autocomplete.cron.expr=0 0 * ? * * *
|
|
213
216
|
|
|
214
217
|
###############################################################################
|
|
215
218
|
# Kafka messages section #
|
|
216
219
|
###############################################################################
|
|
217
220
|
|
|
218
221
|
## Kafka bootstrap servers (comma separated)
|
|
219
222
|
mp.messaging.connector.smallrye-kafka.bootstrap.servers=localhost:9092
|
|
220
223
|
# Kafka topic name
|
|
221
224
|
mp.messaging.incoming.salt-events-kafka.topic=salt-topic
|
|
222
225
|
mp.messaging.outgoing.core-os-reinstallation-machines.topic=osmax-core.os.reinstallation.machines
|
|
223
226
|
mp.messaging.incoming.provisioner-os-reinstallation-machine-registration-statuses.topic=osmax-provisioner.os.reinstallation.machines.registration.statuses
|
|
224
227
|
mp.messaging.incoming.provisioner-os-installed-events-kafka.topic=provisioner-topic
|
|
225
228
|
mp.messaging.incoming.provisioner-os-installed-events-kafka.dead-letter-queue.topic=provisioner-dlq-topic
|
|
226
229
|
mp.messaging.outgoing.assignment-machines-update-tasks-out.topic=assignment-machines-update-tasks
|
|
227
230
|
mp.messaging.incoming.assignment-machines-update-tasks-in.topic=assignment-machines-update-tasks
|
|
231
|
+
mp.messaging.incoming.assignment-machines-update-tasks-in.dead-letter-queue.topic=assignment-machines-update-tasks-dlq
|
|
228
232
|
|
|
229
233
|
## The provisioner-os-installed-events-kafka listener support retry strategy,
|
|
230
234
|
## default values are maxRetries=3, delay=100ms and jitter=0, to change retry settings use
|
|
231
235
|
#tech.inno.lcm.provisioner.events.ProvisionerEventsListener/consume/Retry/maxRetries=0
|
|
236
|
+
## See more info https://quarkus.io/guides/smallrye-fault-tolerance#runtime-configuration
|
|
237
|
+
## and available options https://github.com/eclipse/microprofile-fault-tolerance/blob/main/api/src/main/java/org/eclipse/microprofile/faulttolerance/Retry.java
|
|
238
|
+
|
|
239
|
+
## The assignment-machines-update-tasks-in listener support retry strategy,
|
|
240
|
+
## default values are delayUnit = ChronoUnit.MINUTES, delay = 10, durationUnit = ChronoUnit.DAYS, maxDuration = 3, maxRetries = -1
|
|
241
|
+
# to change retry settings use:
|
|
242
|
+
# tech.inno.lcm.adminconsole.configurations.assignments.kafka.AssignmentMachinesUpdateTasksConsumer/consume/Retry/maxRetries=0
|
|
232
243
|
## See more info https://quarkus.io/guides/smallrye-fault-tolerance#runtime-configuration
|
|
233
244
|
## and available options https://github.com/eclipse/microprofile-fault-tolerance/blob/main/api/src/main/java/org/eclipse/microprofile/faulttolerance/Retry.java
|
|
234
245
|
|
|
235
246
|
## Kafka SSL connection parameters section.
|
|
236
247
|
## To enable SSL connection mode uncomment three following parameters:
|
|
237
248
|
#mp.messaging.connector.smallrye-kafka.security.protocol=SSL
|
|
238
249
|
#mp.messaging.connector.smallrye-kafka.ssl.truststore.location=/etc/ssl/certs/java/cacerts
|
|
239
250
|
#mp.messaging.connector.smallrye-kafka.ssl.truststore.password=changeit
|
|
240
251
|
## Optionally if the custom truststore is used:
|
|
241
252
|
## To change the format use one of JKS, JCEKS, P12, PKCS12, PFX. Default format is JKS
|
|
242
253
|
#mp.messaging.connector.smallrye-kafka.ssl.truststore.type=PKCS12
|
|
243
254
|
|
|
244
255
|
## To enable mutual TLS connection mode uncomment three following parameters, along with configuration above:
|
|
245
256
|
#mp.messaging.connector.smallrye-kafka.ssl.keystore.location=/opt/osmax-core/keystore.jks
|
|
246
257
|
#mp.messaging.connector.smallrye-kafka.ssl.keystore.password=keystore@12345
|
|
247
258
|
## Optionally if the custom keystore is used:
|
|
248
259
|
## To change the format use one of JKS, JCEKS, P12, PKCS12, PFX. Default format is JKS
|
|
249
260
|
#mp.messaging.connector.smallrye-kafka.ssl.keystore.type=PKCS12
|
|
250
261
|
|
|
251
262
|
###############################################################################
|
|
252
263
|
# REST clients common configuration #
|
|
253
264
|
###############################################################################
|
|
254
265
|
|
|
255
266
|
## SSL connection parameters sections.
|
|
256
267
|
## To enable accessing REST endpoints via HTTPS uncomment two following parameters:
|
|
257
268
|
#quarkus.rest-client.trust-store=/etc/ssl/certs/java/cacerts
|
|
258
269
|
#quarkus.rest-client.trust-store-password=changeit
|
|
259
270
|
## Optionally if the custom truststore is used:
|
|
260
271
|
## To change the format use one of JKS, JCEKS, P12, PKCS12, PFX. Default format is JKS
|
|
261
272
|
#quarkus.rest-client.trust-store-type=PKCS12
|
|
262
273
|
## For disabling SSL connection verification you can use option below
|
|
263
274
|
#quarkus.rest-client.remote-access.trust-all=true
|
|
264
275
|
|
|
265
276
|
###############################################################################
|
|
266
277
|
# SaltStack integration section #
|
|
267
278
|
###############################################################################
|
|
268
279
|
|
|
269
280
|
osmax.salt-adapter.command-runner.http-scheme=http
|
|
270
281
|
osmax.salt-adapter.command-runner.master-api-port=8000
|
|
271
282
|
osmax.salt-adapter.command-runner.global-auth.eauth=pam
|
|
272
283
|
osmax.salt-adapter.command-runner.global-auth.login=salt_api
|
|
273
284
|
osmax.salt-adapter.command-runner.global-auth.password=123
|
|
274
285
|
osmax.salt-adapter.command-runner.retry.number-of-attempts=5
|
|
275
286
|
osmax.salt-adapter.command-runner.retry.initial-back-off=1s
|
|
276
287
|
osmax.salt-adapter.command-runner.retry.max-back-off=1s
|
|
277
288
|
|
|
278
289
|
## Salt masters configuration section.
|
|
279
290
|
## Optional, this section should be used when backend server can't resolve salt master by DNS name
|
|
280
291
|
#osmax.salt-adapter.command-runner.override-masters[0].id=salt-master1
|
|
281
292
|
#osmax.salt-adapter.command-runner.override-masters[0].uri=http://192.168.0.1:8000
|
|
282
293
|
|
|
283
294
|
## The second and other Salt masters can be configured in the same way
|
|
284
295
|
#osmax.salt-adapter.command-runner.override-masters[1].id=salt-master2
|
|
285
296
|
#osmax.salt-adapter.command-runner.override-masters[1].uri=http://192.168.0.2:8000
|
|
286
297
|
|
|
287
298
|
###############################################################################
|
|
288
299
|
# Remote access service integration section #
|
|
289
300
|
###############################################################################
|
|
290
301
|
|
|
291
302
|
# URL to the guacamole remote access service
|
|
292
303
|
quarkus.rest-client.remote-access.url=https://guacamole-host.net:9099/guacamole
|
|
293
304
|
# for an advanced configuration of the quarkus REST client to the guacamole service you can set up the following settings group
|
|
294
305
|
# Timeout specified in milliseconds to wait to connect to the remote endpoint.
|
|
295
306
|
#quarkus.rest-client.remote-access.connect-timeout=<millis>
|
|
296
307
|
# Timeout specified in milliseconds to wait for a response from the remote endpoint.
|
|
297
308
|
#quarkus.rest-client.remote-access.read-timeout=<millis>
|
|
298
309
|
#quarkus.rest-client.remote-access.trust-store
|
|
299
310
|
#quarkus.rest-client.remote-access.trust-store-password
|
|
300
311
|
#quarkus.rest-client.remote-access.trust-store-type
|
|
301
312
|
#quarkus.rest-client.remote-access.key-store
|
|
302
313
|
#quarkus.rest-client.remote-access.key-store-password
|
|
303
314
|
#quarkus.rest-client.remote-access.key-store-type
|
|
304
315
|
#quarkus.rest-client.remote-access.hostname-verifier
|
|
305
316
|
#quarkus.rest-client.remote-access.connection-ttl
|
|
306
317
|
#and others
|
|
307
318
|
#quarkus.rest-client.remote-access.***
|
|
308
319
|
|
|
309
320
|
# system account login for the guacamole remote access service
|
|
310
321
|
osmax.inventory.remote-access.username=admin
|
|
311
322
|
# system account login password for the guacamole remote access service
|
|
312
323
|
osmax.inventory.remote-access.password=password
|
|
313
324
|
|
|
314
325
|
###############################################################################
|
|
315
326
|
# S3 integration section #
|
|
316
327
|
###############################################################################
|
|
317
328
|
|
|
318
329
|
# contains a list of S3 server URIs
|
|
319
330
|
osmax.salt-adapter.s3.server-uri-list=http://localhost:9000,http://localhost:9900
|
|
320
331
|
## To enable SSL connection mode replace 'osmax.salt-adapter.s3.server-uri-list' parameter with following value:
|
|
321
332
|
#osmax.salt-adapter.s3.server-uri-list=https://localhost:9000,https://localhost:9900
|
|
322
333
|
osmax.salt-adapter.s3.access-key-id=s3adminSalt
|
|
323
334
|
osmax.salt-adapter.s3.secret-access-key=s3adminSaltPassword
|
|
324
335
|
osmax.salt-adapter.s3.region=ru-location-1
|
|
325
336
|
osmax.salt-adapter.s3.connection-timeout=1s
|
|
326
337
|
osmax.salt-adapter.s3.num-retries=3
|
|
327
338
|
osmax.salt-adapter.s3.initial-retry-delay-millis=100
|
|
328
339
|
osmax.salt-adapter.s3.max-retry-delay-millis=1000
|
|
329
340
|
osmax.salt-adapter.s3.state-bucket-name=salt-bucket
|
|
330
341
|
osmax.salt-adapter.s3.script-bucket-name=script-bucket
|
|
331
342
|
|
|
332
343
|
# Schedule for pillar top.sls update
|
|
333
344
|
# Every 30 seconds
|
|
334
345
|
osmax.inventory.job.salt-assignment-mapping-update.cron.expr=0/30 * * ? * *
|
|
335
346
|
# Schedule for fetching tasks for update salt s3 files (pillars and highstate)
|
|
336
347
|
# Every 5 seconds
|
|
337
348
|
osmax.inventory.job.salt-assignment-update.cron.expr=0/5 * * ? * *
|
|
338
349
|
|
|
339
350
|
###############################################################################
|
|
340
351
|
# Multimedia service section #
|
|
341
352
|
###############################################################################
|
|
342
353
|
|
|
343
354
|
# contains a list of S3 server URIs
|
|
344
355
|
osmax.multimedia.s3.server-uri-list=http://localhost:9000,http://localhost:9900
|
|
345
356
|
## To enable SSL connection mode replace 'osmax.multimedia.s3.server-uri-list' parameter with following value:
|
|
346
357
|
#osmax.multimedia.s3.server-uri-list=https://localhost:9000,https://localhost:9900
|
|
347
358
|
osmax.multimedia.s3.access-key-id=s3adminMultimedia
|
|
348
359
|
osmax.multimedia.s3.secret-access-key=s3adminMultimediaPassword
|
|
349
360
|
osmax.multimedia.s3.region=ru-location-1
|
|
350
361
|
osmax.multimedia.s3.connection-timeout=1s
|
|
351
362
|
osmax.multimedia.s3.num-retries=3
|
|
352
363
|
osmax.multimedia.s3.initial-retry-delay-millis=100
|
|
353
364
|
osmax.multimedia.s3.max-retry-delay-millis=1000
|
|
354
365
|
osmax.multimedia.s3.icons-bucket-name=multimedia-bucket
|
|
355
366
|
osmax.multimedia.s3.images-bucket-name=multimedia-bucket
|
|
356
367
|
osmax.multimedia.s3.others-bucket-name=multimedia-bucket
|
|
357
368
|
osmax.multimedia.s3.script-bucket-name=script-bucket
|
|
358
369
|
osmax.multimedia.common.max-file-size-kb=1024
|
|
359
370
|
osmax.multimedia.common.download-token-ttl-seconds=3600
|
|
360
371
|
osmax.multimedia.common.expired-tokens-deletion-cron=0 0 * ? * *
|
|
361
372
|
# Contains current nginx frontend uri, used to form bootstrap script installation link
|
|
362
373
|
osmax.multimedia.common.frontend-uri=http://localhost:8081
|
|
363
374
|
|
|
364
375
|
###############################################################################
|
|
365
376
|
# Configurations manager section #
|
|
366
377
|
###############################################################################
|
|
367
378
|
|
|
368
379
|
# Determines maximum amount of categories per one configuration
|
|
369
380
|
osmax.catalog.category.configuration-limit=5
|
|
370
381
|
# Determines total amount of categories
|
|
371
382
|
osmax.catalog.category.total-limit=15
|
|
372
383
|
# Determines maximum salt-agent installation script file size in megabytes
|
|
373
384
|
osmax.catalog.script.max-script-size-mbytes=10
|
|
374
385
|
# Determines allowed interval in milliseconds between comparing dates
|
|
375
386
|
# Under this interval the two dates will be considered equal
|
|
376
387
|
# Deprecated since 1.11.0
|
|
377
388
|
# osmax.catalog.common.dates-comparing-accuracy-millis=100
|
|
378
389
|
# use osmax.optimistic-locks.dates-comparing-accuracy-millis
|
|
379
390
|
|
|
380
391
|
|
|
381
392
|
###############################################################################
|
|
382
393
|
# Logging section #
|
|
383
394
|
###############################################################################
|
|
384
395
|
|
|
385
396
|
# Common logging config
|
|
386
397
|
quarkus.log.file.enable=true
|
|
387
398
|
quarkus.log.json.file.enable=true
|
|
388
399
|
quarkus.log.json.console.enable=false
|
|
389
400
|
|
|
390
401
|
# File logging config
|
|
391
402
|
quarkus.log.file.path=/var/log/osmax/core/osmax-core.log
|
|
392
403
|
quarkus.log.file.rotation.max-file-size=10M
|
|
393
404
|
quarkus.log.file.rotation.max-backup-index=5
|
|
394
405
|
quarkus.log.file.rotation.file-suffix=.yyyy-MM-dd.gz
|
|
395
406
|
|
|
396
407
|
# Json format config
|
|
397
408
|
quarkus.log.json.fields.mdc.flat-fields=true
|
|
398
409
|
quarkus.log.json.fields.timestamp.date-format=yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
|
|
399
410
|
quarkus.log.json.fields.timestamp.zone-id=UTC
|
|
400
411
|
|
|
401
412
|
# Audit logging config
|
|
402
413
|
quarkus.log.handler.file.audit-handler.enable=true
|
|
403
414
|
quarkus.log.handler.file.audit-handler.path=/var/log/osmax/core/audit-osmax-core.log
|
|
404
415
|
quarkus.log.handler.file.audit-handler.rotation.max-file-size=10M
|
|
405
416
|
quarkus.log.handler.file.audit-handler.rotation.max-backup-index=50
|
|
406
417
|
quarkus.log.handler.file.audit-handler.rotation.file-suffix=.yyyy-MM-dd
|
|
407
418
|
|
|
408
419
|
quarkus.log.category."AUDIT".level=INFO
|
|
409
420
|
quarkus.log.category."AUDIT".handlers=audit-handler
|
|
410
421
|
quarkus.log.category."AUDIT".use-parent-handlers=false
|
|
411
422
|
|
|
412
423
|
###############################################################################
|
|
413
424
|
# Debug section #
|
|
414
425
|
# Enable all logging events via environment variable `QUARKUS_PROFILE=debug` #
|
|
415
426
|
# or delete `%debug.` prefix #
|
|
416
427
|
###############################################################################
|
|
417
428
|
|
|
418
429
|
# HTTP server access logs (uri + status)
|
|
419
430
|
%debug.quarkus.http.access-log.enabled=true
|
|
420
431
|
|
|
421
432
|
# Internal rest-client
|
|
422
433
|
%debug.quarkus.rest-client.logging.scope=request-response
|
|
423
434
|
%debug.quarkus.rest-client.logging.body-limit=500
|
|
424
435
|
%debug.quarkus.log.category."org.jboss.resteasy.reactive.client.logging".level=DEBUG
|
|
425
436
|
%debug.quarkus.log.category."org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext".level=DEBUG
|
|
426
437
|
|
|
427
438
|
# SaltStack events
|
|
428
439
|
%debug.quarkus.log.category."tech.inno.lcm.salt.events".level=DEBUG
|
|
429
440
|
|
|
430
441
|
# All backend services
|
|
431
442
|
%debug.quarkus.log.category."tech.inno.lcm".level=DEBUG
|
|
432
443
|
|
|
433
444
|
# Kerberos
|
|
434
445
|
%debug.quarkus.kerberos.debug=true
|
|
435
446
|
%debug.quarkus.log.category."io.quarkiverse.kerberos.runtime.KerberosIdentityProvider".level=TRACE
|
|
436
447
|
%debug.quarkus.log.category."io.quarkiverse.kerberos.runtime.KerberosIdentityProvider".min-level=TRACE
|
|
437
448
|
|
|
438
449
|
# AWS client
|
|
439
450
|
%debug.quarkus.log.category."software.amazon.awssdk.request".level=DEBUG
|
|
440
451
|
|
|
441
452
|
###############################################################################
|
|
442
453
|
# Quarkus framework section #
|
|
443
454
|
###############################################################################
|
|
444
455
|
|
|
445
456
|
# application is run under specific user, those settings allow not clashing with other quarkus apps on the same server
|
|
446
457
|
quarkus.http.body.uploads-directory=${java.io.tmpdir}/osmax_core_uploads
|
|
447
458
|
quarkus.management.body.uploads-directory=${java.io.tmpdir}/osmax_core_uploads
|
|
448
459
|
|
|
449
460
|
###############################################################################
|
|
450
461
|
# Locks section #
|
|
451
462
|
###############################################################################
|
|
452
463
|
osmax.pessimistic-locks.enabled=true
|
|
453
464
|
osmax.pessimistic-locks.auto-unlock.threshold.seconds=3600
|
|
454
465
|
osmax.pessimistic-locks.auto-unlock.job.interval.seconds=600
|
|
455
466
|
|
|
456
467
|
osmax.optimistic-locks.enabled=true
|
|
457
468
|
# Determines allowed interval in milliseconds between comparing dates
|
|
458
469
|
# Under this interval the two dates will be considered equal hen checking optimistic lock by date
|
|
459
470
|
#osmax.optimistic-locks.dates-comparing-accuracy-millis=100
|
|
460
471
|
|
|
461
472
|
###############################################################################
|
|
462
473
|
# Predefined objects properties section #
|
|
463
474
|
###############################################################################
|
|
464
475
|
osmax.predefined-objects-import.enabled=true
|
|
465
476
|
osmax.predefined-objects-import.custom-grains.src=custom-grains
|
|
466
477
|
osmax.predefined-objects-import.execution-modules.src=execution-modules
|
|
467
478
|
osmax.predefined-objects-import.salt-scripts.src=salt-scripts
|
|
468
479
|
osmax.predefined-objects-import.formulas.src=formulas
|
|
469
480
|
osmax.predefined-objects-import.formulas.meta.src=formulas-meta
|
|
470
481
|
osmax.predefined-objects-import.configurations.meta.src=specifications/meta
|
|
471
482
|
osmax.predefined-objects-import.scripts.src=scripts
|
|
472
483
|
|
|
473
484
|
###############################################################################
|
|
474
485
|
# Observability section #
|
|
475
486
|
###############################################################################
|
|
476
487
|
|
|
477
488
|
# Whether LDAP healthcheck is enabled
|
|
478
489
|
osmax.management.healthcheck.ldap.enabled=false
|
|
479
490
|
# Whether S3 healthcheck is enabled
|
|
480
491
|
osmax.management.healthcheck.s3.enabled=false
|
|
481
492
|
# Whether Guacamole healthcheck is enabled
|
|
482
493
|
osmax.management.healthcheck.guacamole.enabled=true
|
|
483
494
|
# URL to the guacamole remote access service, used only for health checks
|
|
484
495
|
quarkus.rest-client.remote-access-health.url=http://localhost:8082
|
|
485
496
|
|
|
486
497
|
# Whether publishing metrics to Kafka is enabled
|
|
487
498
|
osmax.micrometer.export.kafka.enabled=false
|
|
488
499
|
# The step size (reporting frequency) to use. The default is 1 minute.
|
|
489
500
|
osmax.micrometer.export.kafka.step=60s
|
|
490
501
|
|
|
491
502
|
# Topic for Kafka Meter Registry
|
|
492
503
|
mp.messaging.outgoing.osmax-observer-metrics.topic=osmax-observer.metrics
|
|
493
504
|
|
|
494
505
|
# Topic for Observer Events
|
|
495
506
|
mp.messaging.outgoing.osmax-observer-events.topic=osmax-observer.events
|
|
496
507
|
|
|
497
|
-
osmax.metrics.calculation.cron = 0/10 * * * * ?
|
|
508
|
+
osmax.metrics.calculation.cron = 0/10 * * * * ?
|
|
509
|
+
|
|
510
|
+
###############################################################################
|
|
511
|
+
# Internationalization configuration section #
|
|
512
|
+
###############################################################################
|
|
513
|
+
|
|
514
|
+
# Set default locale for localized API messages
|
|
515
|
+
osmax.i18n.default-locale=ru
|