migrated spring.profiles properties to spring.config.activate.on-profile
This commit is contained in:
parent
53f46ad5bb
commit
8a9c1a1911
|
@ -6,7 +6,9 @@ spring:
|
|||
---
|
||||
|
||||
spring:
|
||||
profiles: test
|
||||
config:
|
||||
activate:
|
||||
on-profile: test
|
||||
name: test-YAML
|
||||
environment: testing
|
||||
enabled: false
|
||||
|
@ -37,7 +39,9 @@ component:
|
|||
---
|
||||
|
||||
spring:
|
||||
profiles: prod
|
||||
config:
|
||||
activate:
|
||||
on-profile: prod
|
||||
name: prod-YAML
|
||||
environment: production
|
||||
enabled: true
|
||||
|
@ -48,7 +52,9 @@ servers:
|
|||
---
|
||||
|
||||
spring:
|
||||
profiles: dev
|
||||
config:
|
||||
activate:
|
||||
on-profile: dev
|
||||
name: ${DEV_NAME:dev-YAML}
|
||||
environment: development
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in New Issue