83 lines
2.7 KiB
YAML
83 lines
2.7 KiB
YAML
# ===================================================================
|
|
# Spring Boot configuration.
|
|
#
|
|
# This configuration will be overriden by the Spring profile you use,
|
|
# for example application-dev.yml if you use the "dev" profile.
|
|
# ===================================================================
|
|
|
|
# ===================================================================
|
|
# Standard Spring Boot properties.
|
|
# Full reference is available at:
|
|
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
|
|
# ===================================================================
|
|
|
|
management:
|
|
context-path: /management
|
|
health:
|
|
mail:
|
|
enabled: false # When using the MailService, configure an SMTP server and set this to true
|
|
spring:
|
|
application:
|
|
name: jhipsterSampleApplication
|
|
profiles:
|
|
# The commented value for `active` can be replaced with valid spring profiles to load.
|
|
# Otherwise, it will be filled in by maven when building the WAR file
|
|
# Either way, it can be overridden by `--spring.profiles.active` value passed in the commandline or `-Dspring.profiles.active` set in `JAVA_OPTS`
|
|
active: #spring.profiles.active#
|
|
jackson:
|
|
serialization.write_dates_as_timestamps: false
|
|
jpa:
|
|
open-in-view: false
|
|
hibernate:
|
|
ddl-auto: none
|
|
naming:
|
|
strategy: org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy
|
|
messages:
|
|
basename: i18n/messages
|
|
mvc:
|
|
favicon:
|
|
enabled: false
|
|
thymeleaf:
|
|
mode: XHTML
|
|
|
|
security:
|
|
basic:
|
|
enabled: false
|
|
|
|
server:
|
|
session:
|
|
cookie:
|
|
http-only: true
|
|
|
|
# ===================================================================
|
|
# JHipster specific properties
|
|
# ===================================================================
|
|
|
|
jhipster:
|
|
async:
|
|
corePoolSize: 2
|
|
maxPoolSize: 50
|
|
queueCapacity: 10000
|
|
#cors: #By default CORS are not enabled. Uncomment to enable.
|
|
#allowed-origins: "*"
|
|
#allowed-methods: GET, PUT, POST, DELETE, OPTIONS
|
|
#allowed-headers: "*"
|
|
#exposed-headers:
|
|
#allow-credentials: true
|
|
#max-age: 1800
|
|
mail:
|
|
from: jhipsterSampleApplication@localhost
|
|
swagger:
|
|
title: jhipsterSampleApplication API
|
|
description: jhipsterSampleApplication API documentation
|
|
version: 0.0.1
|
|
termsOfServiceUrl:
|
|
contactName:
|
|
contactUrl:
|
|
contactEmail:
|
|
license:
|
|
licenseUrl:
|
|
ribbon:
|
|
# comma seperated list of profiles to show a ribbon on the GUI
|
|
displayOnActiveProfiles: dev
|