50 lines
No EOL
1.6 KiB
Properties
50 lines
No EOL
1.6 KiB
Properties
# MSSQL Profile Configuration
|
|
# Activate with: -Dspring.profiles.active=mssql or SPRING_PROFILES_ACTIVE=mssql
|
|
|
|
# Application Name
|
|
spring.application.name=lcc
|
|
|
|
# Database Configuration - MSSQL
|
|
spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
spring.datasource.url=jdbc:sqlserver://${DB_HOST:localhost}:1433;databaseName=${DB_DATABASE:lcc};encrypt=true;trustServerCertificate=true
|
|
spring.datasource.username=${DB_USER:sa}
|
|
spring.datasource.password=${DB_PASSWORD}
|
|
|
|
# File Upload Limits
|
|
spring.servlet.multipart.max-file-size=30MB
|
|
spring.servlet.multipart.max-request-size=50MB
|
|
|
|
# Azure AD Configuration
|
|
spring.cloud.azure.active-directory.enabled=true
|
|
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
|
|
|
|
# Management Endpoints
|
|
management.endpoints.web.exposure.include=health,info,metrics
|
|
management.endpoint.health.show-details=when-authorized
|
|
|
|
# Flyway Migration - MSSQL
|
|
spring.flyway.enabled=true
|
|
spring.flyway.locations=classpath:db/migration/mssql
|
|
spring.flyway.baseline-on-migrate=true
|
|
spring.sql.init.mode=never
|
|
|
|
# LCC Configuration
|
|
lcc.allowed_cors=
|
|
lcc.allowed_oauth_token_cors=*
|
|
|
|
lcc.auth.identify.by=workday
|
|
lcc.auth.claim.workday=employeeid
|
|
lcc.auth.claim.email=preferred_username
|
|
lcc.auth.claim.firstname=given_name
|
|
lcc.auth.claim.lastname=family_name
|
|
|
|
lcc.auth.claim.ignore.workday=false
|
|
|
|
# Bulk Import
|
|
lcc.bulk.sheet_password=secretSheet?!
|
|
|
|
# Calculation Job Processor Configuration
|
|
calculation.job.processor.enabled=true
|
|
calculation.job.processor.pool-size=1
|
|
calculation.job.processor.delay=5000
|
|
calculation.job.processor.thread-name-prefix=calc-job- |