properties convert to yaml
This commit is contained in:
parent
01a473ed5a
commit
11df75dcf4
|
@ -1,27 +0,0 @@
|
||||||
# use the default server port
|
|
||||||
server.port=8080
|
|
||||||
|
|
||||||
# setup local h2 database config
|
|
||||||
spring.datasource.url=jdbc:h2:file:./data/demo
|
|
||||||
spring.datasource.driverClassName=org.h2.Driver
|
|
||||||
spring.datasource.username=admin
|
|
||||||
spring.datasource.password=password
|
|
||||||
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
|
|
||||||
|
|
||||||
# setup local h2 database console
|
|
||||||
spring.h2.console.enabled=true
|
|
||||||
spring.h2.console.path=/h2-console
|
|
||||||
spring.h2.console.settings.web-allow-others=false
|
|
||||||
|
|
||||||
# update the schema when necessary
|
|
||||||
spring.jpa.hibernate.ddl-auto=create-drop
|
|
||||||
|
|
||||||
# togglz settings
|
|
||||||
togglz.enabled=true
|
|
||||||
togglz.console.enabled=true
|
|
||||||
togglz.console.path=/togglz-console
|
|
||||||
togglz.console.secured=false
|
|
||||||
|
|
||||||
# togglz feature flags
|
|
||||||
togglz.features.PRICE_INCREASE.enabled=false
|
|
||||||
togglz.features.DESCRIPTION_UPDATE.enabled=true
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
server:
|
||||||
|
port: 8080
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driverClassName: org.h2.Driver
|
||||||
|
password: password
|
||||||
|
url: jdbc:h2:file:./data/demo
|
||||||
|
username: admin
|
||||||
|
h2:
|
||||||
|
console:
|
||||||
|
enabled: true
|
||||||
|
path: /h2-console
|
||||||
|
settings:
|
||||||
|
web-allow-others: false
|
||||||
|
jpa:
|
||||||
|
database-platform: org.hibernate.dialect.H2Dialect
|
||||||
|
hibernate:
|
||||||
|
ddl-auto: create-drop
|
||||||
|
togglz:
|
||||||
|
console:
|
||||||
|
enabled: true
|
||||||
|
path: /togglz-console
|
||||||
|
secured: false
|
||||||
|
enabled: true
|
||||||
|
features:
|
||||||
|
DESCRIPTION_UPDATE:
|
||||||
|
enabled: true
|
||||||
|
PRICE_INCREASE:
|
||||||
|
enabled: false
|
Loading…
Reference in New Issue