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

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

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

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

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

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

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

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

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