# application url for selenium
server.port=8081
application.url=http://localhost:8081

spring.datasource.initialization-mode=always
spring.datasource.url=jdbc:h2:file:~/H2_flightlog;DB_CLOSE_ON_EXIT=FALSE;IFEXISTS=FALSE;DB_CLOSE_DELAY=-1;MODE=PostgreSQL;

spring.h2.console.enabled=true
spring.jpa.hibernate.ddl-auto=create-drop
# Prevents from loading @Embedable field as null when all of its field are null
spring.jpa.properties.hibernate.create_empty_composites.enabled=true

spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.show-sql=true
spring.main.allow-bean-definition-overriding=true

# data
spring.datasource.data=classpath:data.sql

csv.export.flight.fileName=flights.csv

# Integration
integration.clubDb.baseUrl = http://vyuka.profinit.eu:8080

# logging
logging.level.eu.profinit.education.flightlog=DEBUG
logging.level.org.springframework.web.filter.CommonsRequestLoggingFilter=DEBUG