Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
live-coding-fr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
twitch
live-coding-fr
Merge requests
!22
Resolve "Borestop"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Borestop"
25-borestop
into
master
Overview
0
Commits
15
Pipelines
0
Changes
2
Merged
Colin DAMON
requested to merge
25-borestop
into
master
4 years ago
Overview
0
Commits
15
Pipelines
0
Changes
2
Expand
Closes
#25 (closed)
Edited
4 years ago
by
Colin DAMON
0
0
Merge request reports
Viewing commit
49176d36
Prev
Next
Show latest version
2 files
+
48
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
49176d36
Json configuration and tooling
· 49176d36
Colin DAMON
authored
4 years ago
borestop/src/main/resources/config/application.yml
0 → 100644
+
171
−
0
Options
# ===================================================================
# Spring Boot configuration.
#
# This configuration will be overridden by the Spring profile you use,
# for example application-dev.yml if you use the "dev" profile.
#
# More information on profiles: https://www.jhipster.tech/profiles/
# More information on configuration properties: https://www.jhipster.tech/common-application-properties/
# ===================================================================
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
management
:
endpoints
:
web
:
base-path
:
/management
exposure
:
include
:
[
'
configprops'
,
'
env'
,
'
health'
,
'
info'
,
'
jhimetrics'
,
'
logfile'
,
'
loggers'
,
'
prometheus'
,
'
threaddump'
]
endpoint
:
health
:
show-details
:
when_authorized
roles
:
'
ROLE_ADMIN'
jhimetrics
:
enabled
:
true
info
:
git
:
mode
:
full
health
:
mail
:
enabled
:
false
# When using the MailService, configure an SMTP server and set this to true
metrics
:
export
:
# Prometheus is the default metrics backend
prometheus
:
enabled
:
true
step
:
60
enable
:
http
:
true
jvm
:
true
logback
:
true
process
:
true
system
:
true
distribution
:
percentiles-histogram
:
all
:
true
percentiles
:
all
:
0, 0.5, 0.75, 0.95, 0.99,
1.0
tags
:
application
:
${spring.application.name}
web
:
server
:
request
:
autotime
:
enabled
:
true
spring
:
application
:
name
:
borestop
jackson
:
default-property-inclusion
:
non_empty
serialization
:
write-dates-as-timestamps
:
false
deserialization
:
fail-on-unknown-properties
:
false
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 JAR 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#
jmx
:
enabled
:
false
data
:
jpa
:
repositories
:
bootstrap-mode
:
deferred
jpa
:
open-in-view
:
false
properties
:
hibernate.jdbc.time_zone
:
UTC
hibernate.id.new_generator_mappings
:
true
hibernate.connection.provider_disables_autocommit
:
true
hibernate.cache.use_second_level_cache
:
false
hibernate.cache.use_query_cache
:
false
hibernate.generate_statistics
:
false
# modify batch size as necessary
hibernate.jdbc.batch_size
:
25
hibernate.order_inserts
:
true
hibernate.order_updates
:
true
hibernate.query.fail_on_pagination_over_collection_fetch
:
true
hibernate.query.in_clause_parameter_padding
:
true
hibernate
:
ddl-auto
:
none
naming
:
physical-strategy
:
org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
implicit-strategy
:
org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
messages
:
basename
:
i18n/messages
main
:
allow-bean-definition-overriding
:
true
task
:
execution
:
thread-name-prefix
:
borestop-task-
pool
:
core-size
:
2
max-size
:
50
queue-capacity
:
10000
scheduling
:
thread-name-prefix
:
borestop-scheduling-
pool
:
size
:
2
thymeleaf
:
mode
:
HTML
output
:
ansi
:
console-available
:
true
server
:
servlet
:
session
:
cookie
:
http-only
:
true
# Properties to be exposed on the /info management endpoint
info
:
# Comma separated list of profiles that will trigger the ribbon to show
display-ribbon-on-profiles
:
'
dev'
# ===================================================================
# JHipster specific properties
#
# Full reference is available at: https://www.jhipster.tech/common-application-properties/
# ===================================================================
jhipster
:
clientApp
:
name
:
'
borestopApp'
# By default CORS is disabled. Uncomment to enable.
# cors:
# allowed-origins: "*"
# allowed-methods: "*"
# allowed-headers: "*"
# exposed-headers: "Authorization,Link,X-Total-Count"
# allow-credentials: true
# max-age: 1800
mail
:
from
:
borestop@localhost
swagger
:
default-include-pattern
:
/api/.*
title
:
borestop API
description
:
borestop API documentation
version
:
0.0.1
terms-of-service-url
:
contact-name
:
contact-url
:
contact-email
:
license
:
unlicensed
license-url
:
# ===================================================================
# Application specific properties
# Add your own application properties here, see the ApplicationProperties class
# to have type-safe configuration, like in the JHipsterProperties above
#
# More documentation is available at:
# https://www.jhipster.tech/common-application-properties/
# ===================================================================
# application:
Loading