Skip to content

Commit

Permalink
Add profile activation to application.yml. Rename yml to yaml for env…
Browse files Browse the repository at this point in the history
…ironment configs. Populate bip claims url for all environments.
  • Loading branch information
Erik Nelsestuen committed Dec 12, 2023
1 parent 2d3c3c5 commit 069714f
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 0 deletions.
6 changes: 6 additions & 0 deletions svc-bip-api/src/main/resources/application-prod-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

bip:
claimBaseUrl: "https://claims-prodtest.prod.bip.va.gov"
applicationId: "${BIP_APPLICATION_ID:VRO}"
stationId: "${BIP_STATION_ID:456}"
env: prod-test
6 changes: 6 additions & 0 deletions svc-bip-api/src/main/resources/application-prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

bip:
claimBaseUrl: "https://claims-prod.prod.bip.va.gov"
applicationId: "${BIP_APPLICATION_ID:VRO}"
stationId: "${BIP_STATION_ID:456}"
env: prod
6 changes: 6 additions & 0 deletions svc-bip-api/src/main/resources/application-qa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

bip:
claimBaseUrl: "https://claims-uat.stage.bip.va.gov"
applicationId: "${BIP_APPLICATION_ID:VRO}"
stationId: "${BIP_STATION_ID:456}"
env: qa
6 changes: 6 additions & 0 deletions svc-bip-api/src/main/resources/application-sandbox.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

bip:
claimBaseUrl: "https://claims-demo.stage.bip.va.gov"
applicationId: "${BIP_APPLICATION_ID:VRO}"
stationId: "${BIP_STATION_ID:456}"
env: sandbox
3 changes: 3 additions & 0 deletions svc-bip-api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ bip:
claimBaseUrl: ${BIP_CLAIM_URL:localhost:20300}

spring:
profiles:
# See https://github.com/department-of-veterans-affairs/abd-vro/wiki/Configuration-settings#vros-use-of-spring-profiles
active: ${ENV:default}
rabbitmq:
host: ${RABBITMQ_PLACEHOLDERS_HOST:localhost}
port: 5672
Expand Down

0 comments on commit 069714f

Please sign in to comment.