50 lines
1.7 KiB
Properties
50 lines
1.7 KiB
Properties
#
|
|
# Copyright (c) 2015 Bosch Software Innovations GmbH and others.
|
|
#
|
|
# All rights reserved. This program and the accompanying materials
|
|
# are made available under the terms of the Eclipse Public License v1.0
|
|
# which accompanies this distribution, and is available at
|
|
# http://www.eclipse.org/legal/epl-v10.html
|
|
#
|
|
|
|
# supported: H2, MYSQL
|
|
hawkbit.server.database=H2
|
|
|
|
hawkbit.server.ddi.security.authentication.header=true
|
|
|
|
hawkbit.server.artifact.repo.upload.maxFileSize=5MB
|
|
|
|
hawkbit.server.security.dos.maxStatusEntriesPerAction=100
|
|
|
|
hawkbit.server.security.dos.maxAttributeEntriesPerTarget=10
|
|
|
|
spring.jpa.database=${hawkbit.server.database}
|
|
#spring.jpa.show-sql=true
|
|
|
|
|
|
flyway.sqlMigrationSuffix=${spring.jpa.database}.sql
|
|
|
|
# effective DB setting
|
|
spring.datasource.url=${${hawkbit.server.database}.spring.datasource.url}
|
|
spring.datasource.driverClassName=${${hawkbit.server.database}.spring.datasource.driverClassName}
|
|
spring.datasource.username=${${hawkbit.server.database}.spring.datasource.username}
|
|
spring.datasource.password=${${hawkbit.server.database}.spring.datasource.password}
|
|
|
|
# H2
|
|
##;AUTOCOMMIT=ON
|
|
H2.spring.datasource.url=jdbc:h2:mem:sp-db;DB_CLOSE_ON_EXIT=FALSE
|
|
#H2.spring.datasource.url=jdbc:h2:./db/sp-db;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE
|
|
H2.spring.datasource.driverClassName=org.h2.Driver
|
|
H2.spring.datasource.username=sa
|
|
H2.spring.datasource.password=sa
|
|
|
|
# MYSQL
|
|
MYSQL.spring.datasource.url=jdbc:mysql://localhost:3306/sp_test
|
|
MYSQL.spring.datasource.driverClassName=org.mariadb.jdbc.Driver
|
|
MYSQL.spring.datasource.username=root
|
|
MYSQL.spring.datasource.password=
|
|
|
|
# SP Controller configuration
|
|
hawkbit.controller.pollingTime=00:01:00
|
|
hawkbit.controller.pollingOverdueTime=00:01:00
|