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

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

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

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

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

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

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

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

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

Обновлено: