Сравнение конфигурационных файлов

В разделе приведено сравнение параметров конфигурационных файлов модуля osmax-core для текущей и предыдущей версий продукта, где:

  • строки с символом «-», выделенные желтым цветом — устаревшие названия параметров/комментариев, которые были частично изменены, полностью заменены или удалены в текущей версии продукта;

  • строки с символом «+», выделенные бледно-зеленым цветом — обновленные названия параметров/комментариев, актуальные для текущей версии продукта;

  • строки с символом «+», выделенные зеленым цветом — новые строки в файле, добавленные в текущей версии продукта.

  • дополнительно:

    • розовым цветом выделены измененные/удаленные элементы;

    • ярко-зеленым цветом выделены новые элементы.

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