Skip to content

Commit

Permalink
reverted application.yml to 1.2.x version and configs are not accumul…
Browse files Browse the repository at this point in the history
…ated from default
  • Loading branch information
xkhoubyari committed Mar 8, 2016
1 parent ec5a260 commit ac4683a
Showing 1 changed file with 3 additions and 36 deletions.
39 changes: 3 additions & 36 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,42 +46,9 @@ hotel.service:
---
spring:
profiles: test
jpa:
hibernate.ddl-auto: create-drop
jmx:
enabled: false
datasource:
driverClassName: org.h2.Driver
url: jdbc:h2:mem:bootexample;MODE=MySQL

server:
port: 8090

#todo: make sure to always enable security in production
security:
basic:
enabled: false

#management endpoints on a separate port
management:
port: 8091
security:
enabled: false # management port is internal only. no need to secure it.

#default project info followed by actual injected pom-specified values.
project:
name: spring-boot-rest-example
version: 0.1
description: boot-example default description
info:
build:
artifact: ${project.artifactId}
name: ${project.name}
description: ${project.description}
version: ${project.version}
spring.jpa:
hibernate.ddl-auto: create-drop

hotel.service:
name: 'test profile'



name: 'test profile:'

0 comments on commit ac4683a

Please sign in to comment.