Anil Kant Mishra
Anil Kant Mishra

Reputation: 11

How i can overrid diffrent properties according to stages like qa,production

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

local database password

database.password=*****

database.driver=org.postgresql.Driver

this connection URL assumes that it is connecting to a schema called 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

Answers (0)

Related Questions