rs.runtime.gears-runtime-server.1.17.6.source-code.application.yaml Maven / Gradle / Ivy
The newest version!
gears:
version: @project.version@
timezone: default # this indicates the system-default timezone
locale: default # this indicates the system-default locale
frontend:
title: ${spring.application.name}
theme: default
enable-html: false
languages:
- en
- nl
security:
# see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources
content-policy: "default-src 'self'; object-src 'self' blob:; frame-src 'self' blob:; style-src 'self' 'unsafe-inline'; font-src 'self'; form-action 'self'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content"
# authorization/authentication
request-logging:
enabled: false
auth:
mode: internal
internal:
secret: geheim
issuer: XLRIT
external:
redirectUri: /
cacheLocation: sessionStorage
init:
# whether to create demo users
create-demo-users: false
h2server:
enabled: false
port: 9092
content-store:
mode: database
testing:
# whether to allow data loading/checking and overriding the current datetime
enabled: false
purge:
enabled: false
cron: 0 0 1 * * ? # every night at 01:00
maxAge: P10Y
delete: false
search:
postgres:
language: simple
scenario-recorder:
enabled: true
dir: target/recorder
spring:
banner:
location: classpath:banner-gears.txt # see https://zetcode.com/springboot/banner/
servlet:
multipart:
max-file-size: 4MB
max-request-size: 16MB
datasource:
url: 'jdbc:h2:mem:gears;DB_CLOSE_ON_EXIT=FALSE'
h2:
console:
enabled: false
jpa:
defer-datasource-initialization: true
mapping-resources:
- orm-common.xml
- orm-app.xml
hibernate:
ddl-auto: create-only
naming:
physical-strategy: com.xlrit.gears.engine.persistence.UnderscoreNamingStrategy
properties:
hibernate:
dialect_resolvers: com.xlrit.gears.engine.persistence.ExtendedDialectResolver
show_sql: false
format_sql: false
envers.autoRegisterListeners: false # disables org.hibernate.envers.boot.internal.EnversIntegrator
org.hibernate.envers.audit_strategy: org.hibernate.envers.strategy.ValidityAuditStrategy
open-in-view: true
liquibase:
enabled: false
mail:
host: localhost
port: 2525
graphql:
path: /graphql
websocket:
path: /graphql-ws
schema:
locations:
- classpath*:graphql/
introspection:
enabled: false
autoconfigure:
exclude: org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
jackson:
deserialization:
use-big-decimal-for-floats: true
cloud:
kubernetes:
config:
name: application
# exposes the Spring Actuator on port 8081 (instead of 8080)
management:
server:
port: 8081
flowable:
history-level: activity
cmmn:
enabled: false
dmn:
enabled: false
form:
enabled: false