* run the validation methodes inside the storing methode, to make sure that only valid values are written inside the database * updated TenantConfigurationManagementTest to match the validation * added new Tests to test all validators Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
41 lines
1.4 KiB
Properties
41 lines
1.4 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
|
|
#
|
|
|
|
spring.data.mongodb.uri=mongodb://localhost/spArtifactRepository${random.value}
|
|
spring.data.mongodb.port=28017
|
|
|
|
hawkbit.server.controller.security.authentication.header.enabled=true
|
|
hawkbit.server.controller.security.authentication.gatewaytoken.name=TestToken
|
|
|
|
hawkbit.server.artifact.repo.upload.maxFileSize=5MB
|
|
|
|
hawkbit.server.security.dos.maxStatusEntriesPerAction=100
|
|
|
|
hawkbit.server.security.dos.maxAttributeEntriesPerTarget=10
|
|
|
|
spring.jpa.database=H2
|
|
spring.datasource.url=jdbc:h2:mem:sp-db;DB_CLOSE_ON_EXIT=FALSE
|
|
spring.datasource.driverClassName=org.h2.Driver
|
|
spring.datasource.username=sa
|
|
spring.datasource.password=sa
|
|
|
|
flyway.enabled=true
|
|
flyway.initOnMigrate=true
|
|
flyway.sqlMigrationSuffix=${spring.jpa.database}.sql
|
|
#spring.jpa.show-sql=true
|
|
|
|
# SP Controller configuration
|
|
hawkbit.controller.pollingTime=00:01:00
|
|
hawkbit.controller.pollingOverdueTime=00:01:00
|
|
|
|
## Configuration for RabbitMQ integration
|
|
hawkbit.dmf.rabbitmq.deadLetterQueue=dmf_connector_deadletter
|
|
hawkbit.dmf.rabbitmq.deadLetterExchange=dmf.connector.deadletter
|
|
hawkbit.dmf.rabbitmq.receiverQueue=dmf_receiver
|