Skip to content

Commit

Permalink
fix(bff): ensure the correct dialogporten-url is used per environment (
Browse files Browse the repository at this point in the history
  • Loading branch information
arealmaas authored Aug 21, 2024
1 parent 0737f64 commit 7389767
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .azure/applications/bff/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ param location string
param port int = 80
@minLength(3)
param hostName string
@minLength(3)
param dialogportenURL string
param minReplicas int
param maxReplicas int

Expand Down Expand Up @@ -133,7 +135,7 @@ var containerAppEnvVars = [
}
{
name: 'DIALOGPORTEN_URL'
value: 'https://altinn-dev-api.azure-api.net/dialogporten/graphql'
value: dialogportenURL
}
]

Expand Down
1 change: 1 addition & 0 deletions .azure/applications/bff/prod.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ param environment = 'prod'
param location = 'norwayeast'
param imageTag = readEnvironmentVariable('IMAGE_TAG')
param hostName = 'https://af.altinn.no'
param dialogportenURL = 'https://altinn-prod-api.azure-api.net/dialogporten/graphql'
param minReplicas = 2
param maxReplicas = 3

Expand Down
1 change: 1 addition & 0 deletions .azure/applications/bff/staging.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ param environment = 'staging'
param location = 'norwayeast'
param imageTag = readEnvironmentVariable('IMAGE_TAG')
param hostName = 'https://af.tt.altinn.no'
param dialogportenURL = 'https://altinn-tt02-api.azure-api.net/dialogporten/graphql'
param minReplicas = 2
param maxReplicas = 3

Expand Down
1 change: 1 addition & 0 deletions .azure/applications/bff/test.bicepparam
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ param environment = 'test'
param location = 'norwayeast'
param imageTag = readEnvironmentVariable('IMAGE_TAG')
param hostName = 'https://af.at.altinn.cloud'
param dialogportenURL = 'https://altinn-dev-api.azure-api.net/dialogporten/graphql'
param minReplicas = 2
param maxReplicas = 3

Expand Down

0 comments on commit 7389767

Please sign in to comment.