Skip to content

Commit

Permalink
Fix deprecated properties in application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauli Ketola committed Jun 28, 2019
1 parent bfedaa7 commit 9fd6bd9
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 34 deletions.
38 changes: 21 additions & 17 deletions mujina-idp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ logging:
server:
# The port to where this Spring Boot application listens to. e.g. http://localhost:{{ springapp_tcpport }}
port: 8080
# The context path of the server. You can skip this value in the overriding application.yml on the classpath
contextPath:
session:
# 8 hours before we time-out
timeout: 28800
cookie:
secure: false
servlet:
# The context path of the server. You can skip this value in the overriding application.yml on the classpath
context-path:
session:
# 8 hours before we time-out
timeout: 28800
cookie:
secure: false

# Identity Provider
idp:
Expand Down Expand Up @@ -40,18 +41,21 @@ spring:
velocity:
check-template-location: False

# We disable all endpoints except health for the load-balancer and info for git information.
endpoints:
enabled: false
jmx:
enabled: false
health:
enabled: true
info:
enabled: true

# used by the git plugin
info:
build:
artifact: "@project.artifactId@"
version: "@project.version@"

# We disable all endpoints except health for the load-balancer and info for git information.
management:
endpoints:
enabled-by-default: false
jmx:
exposure:
exclude: '*'
endpoint:
health:
enabled: true
info:
enabled: true
38 changes: 21 additions & 17 deletions mujina-sp/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ logging:
server:
# The port to where this Spring Boot application listens to. e.g. http://localhost:{{ springapp_tcpport }}
port: 9090
# The context path of the server. You can skip this value in the overriding application.yml on the classpath
contextPath:
session:
# 8 hours before we time-out
timeout: 28800
cookie:
secure: false
servlet:
# The context path of the server. You can skip this value in the overriding application.yml on the classpath
context-path:
session:
# 8 hours before we time-out
timeout: 28800
cookie:
secure: false

sp:
# base url
Expand Down Expand Up @@ -42,18 +43,21 @@ spring:
velocity:
check-template-location: False

# We disable all endpoints except health for the load-balancer and info for git information.
endpoints:
enabled: false
jmx:
enabled: false
health:
enabled: true
info:
enabled: true

# used by the git plugin
info:
build:
artifact: "@project.artifactId@"
version: "@project.version@"

# We disable all endpoints except health for the load-balancer and info for git information.
management:
endpoints:
enabled-by-default: false
jmx:
exposure:
exclude: '*'
endpoint:
health:
enabled: true
info:
enabled: true

0 comments on commit 9fd6bd9

Please sign in to comment.