2016-01-21 13:18:55 +01:00
|
|
|
#
|
2023-09-14 11:03:20 +03:00
|
|
|
# Copyright (c) 2015 Bosch Software Innovations GmbH and others
|
2016-01-21 13:18:55 +01:00
|
|
|
#
|
2023-09-14 11:03:20 +03:00
|
|
|
# This program and the accompanying materials are made
|
|
|
|
|
# available under the terms of the Eclipse Public License 2.0
|
|
|
|
|
# which is available at https://www.eclipse.org/legal/epl-2.0/
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: EPL-2.0
|
2016-01-21 13:18:55 +01:00
|
|
|
#
|
|
|
|
|
|
2024-08-09 16:48:22 +03:00
|
|
|
# Spring config
|
|
|
|
|
spring.application.name=update-server
|
|
|
|
|
spring.main.allow-bean-definition-overriding=true
|
|
|
|
|
|
|
|
|
|
# Logging configuration
|
|
|
|
|
logging.level.org.eclipse.hawkbit.eventbus.DeadEventListener=WARN
|
|
|
|
|
logging.level.org.springframework.boot.actuate.audit.listener.AuditListener=WARN
|
|
|
|
|
logging.level.org.hibernate.validator.internal.util.Version=WARN
|
|
|
|
|
# security Log with hints on potential attacks
|
|
|
|
|
logging.level.server-security=INFO
|
|
|
|
|
# logging pattern
|
|
|
|
|
logging.pattern.console=%clr(%d{${logging.pattern.dateformat:yyyy-MM-dd'T'HH:mm:ss.SSSXXX}}){faint} %clr(${logging.pattern.level:%5p}) %clr(${PID:}){magenta} %clr(---){faint} %clr([${spring.application.name}] [%X{tenant}:%X{user}] [%15.15t]){faint} %clr(${logging.pattern.correlation:}){faint}%clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n${logging.exception-conversion-word:%wEx}
|
|
|
|
|
|
2024-03-15 14:16:21 +02:00
|
|
|
# Define DEFAULT tenant admin user admin/admin
|
2024-08-09 16:48:22 +03:00
|
|
|
hawkbit.security.user.admin.tenant=DEFAULT
|
2024-03-15 14:16:21 +02:00
|
|
|
hawkbit.security.user.admin.password={noop}admin
|
|
|
|
|
hawkbit.security.user.admin.roles=TENANT_ADMIN
|
|
|
|
|
# allow to auto/implicit create DEFAULT tenant (on mgmt api call)
|
2024-02-05 11:44:02 +02:00
|
|
|
hawkbit.server.repository.implicitTenantCreateAllowed=true
|
2016-09-20 10:36:03 +02:00
|
|
|
|
2020-01-30 13:44:25 +01:00
|
|
|
# Http Encoding
|
|
|
|
|
server.servlet.encoding.charset=UTF-8
|
|
|
|
|
server.servlet.encoding.enabled=true
|
|
|
|
|
server.servlet.encoding.force=true
|
|
|
|
|
|
2016-05-03 18:34:16 +02:00
|
|
|
# DDI authentication configuration
|
2017-12-19 17:53:17 +01:00
|
|
|
hawkbit.server.ddi.security.authentication.anonymous.enabled=false
|
2021-01-22 14:54:07 +01:00
|
|
|
hawkbit.server.ddi.security.authentication.targettoken.enabled=false
|
|
|
|
|
hawkbit.server.ddi.security.authentication.gatewaytoken.enabled=false
|
2016-01-21 13:18:55 +01:00
|
|
|
|
2017-09-26 14:29:55 +02:00
|
|
|
# Optional events
|
|
|
|
|
hawkbit.server.repository.publish-target-poll-event=false
|
|
|
|
|
|
2016-05-03 18:34:16 +02:00
|
|
|
## Configuration for DMF/RabbitMQ integration
|
2016-02-25 17:59:46 +01:00
|
|
|
spring.rabbitmq.username=guest
|
|
|
|
|
spring.rabbitmq.password=guest
|
2019-01-31 07:29:27 +01:00
|
|
|
spring.rabbitmq.virtual-host=/
|
2016-02-25 17:59:46 +01:00
|
|
|
spring.rabbitmq.host=localhost
|
|
|
|
|
spring.rabbitmq.port=5672
|
2019-05-21 13:34:07 +02:00
|
|
|
|
2019-06-24 17:19:38 +02:00
|
|
|
# Enable CORS and specify the allowed origins:
|
|
|
|
|
#hawkbit.server.security.cors.enabled=true
|
|
|
|
|
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
2023-09-13 10:40:31 +03:00
|
|
|
|
|
|
|
|
# Swagger Configuration
|
|
|
|
|
springdoc.api-docs.version=openapi_3_0
|
2024-02-06 17:40:31 +02:00
|
|
|
springdoc.show-oauth2-endpoints=true
|
2023-09-13 10:40:31 +03:00
|
|
|
springdoc.show-login-endpoint=true
|
2023-09-25 13:44:55 +03:00
|
|
|
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
2023-09-13 10:40:31 +03:00
|
|
|
springdoc.paths-to-exclude=/system/**
|