Reputation: 11
How can I override diffrent properties according to stages like qa
, production
?
For qa
I was using this in common-shared.properties
-
spring.profiles.active=integrationqa
and in integrationqa-shared
asset.server.url.prefix.internal=integrationqa-cmsstatic
database.user=postgres
database.password=*****
database.driver=org.postgresql.Driver
broadleaf
database.url=****
On the qa
server, it should take properties of qa
but it's getting default common-shared.properties
Am I missing anything?
Upvotes: 0
Views: 30