71 lines
3.1 KiB
Properties
71 lines
3.1 KiB
Properties
#
|
|
# Copyright (c) 2015 Bosch Software Innovations GmbH and others
|
|
#
|
|
# 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
|
|
#
|
|
|
|
# Spring config
|
|
spring.application.name=update-server
|
|
spring.main.allow-bean-definition-overriding=true
|
|
|
|
# Logging configuration
|
|
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}
|
|
|
|
# Define DEFAULT tenant admin user admin/admin
|
|
hawkbit.security.user.admin.tenant=DEFAULT
|
|
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)
|
|
hawkbit.server.repository.implicitTenantCreateAllowed=true
|
|
|
|
# Http Encoding
|
|
server.servlet.encoding.charset=UTF-8
|
|
server.servlet.encoding.enabled=true
|
|
server.servlet.encoding.force=true
|
|
|
|
# DDI authentication configuration
|
|
hawkbit.server.ddi.security.authentication.targettoken.enabled=false
|
|
hawkbit.server.ddi.security.authentication.gatewaytoken.enabled=false
|
|
|
|
# Cache configuration,
|
|
# disable expiration since monolith is expected to be used as an all-in-one hawkBit instance,
|
|
# i.e. no microservices and 1 replica, then evict should do work
|
|
hawkbit.cache.ttl=0s
|
|
|
|
# Optional events
|
|
hawkbit.server.repository.publish-target-poll-event=false
|
|
|
|
## Disable RabbitMQ auto configuration. Comment it to enable RabbitMQ support.
|
|
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
|
|
|
|
## Uncomment bellow to Enable communication between services (disabled by default) - no cluster support.
|
|
# To enable it, enable RabbitMQ (see above)
|
|
# and set below 'hawkbit.events.remote.enabled=true'
|
|
hawkbit.events.remote.enabled=false
|
|
|
|
## Disable DMF (by default) - no DMF support. To enable it, enable RabbitMQ (see above) and comment the line
|
|
## (hawkbit.dmf.rabbitmq.enabled=false) set hawkbit.dmf.rabbitmq.enabled=true
|
|
hawkbit.dmf.enabled=false
|
|
|
|
# Enable CORS and specify the allowed origins:
|
|
#hawkbit.server.security.cors.enabled=true
|
|
#hawkbit.server.security.cors.allowedOrigins=http://localhost
|
|
|
|
# Swagger Configuration / https://springdoc.org/v2/#properties
|
|
springdoc.api-docs.version=openapi_3_0
|
|
springdoc.show-oauth2-endpoints=true
|
|
springdoc.show-login-endpoint=true
|
|
springdoc.packages-to-scan=org.eclipse.hawkbit.mgmt,org.eclipse.hawkbit.ddi
|
|
springdoc.paths-to-exclude=/system/**
|
|
springdoc.swagger-ui.enabled=true
|
|
springdoc.swagger-ui.csrf.enabled=true
|
|
springdoc.swagger-ui.doc-expansion=none |