Skip to content

Commit

Permalink
Oppdater URL til Axsys og legg til i external hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
madsleegiil committed Aug 1, 2024
1 parent 59c5a6e commit b432ff2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions nais/nais-dev-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ spec:
- host: veilarbdialog.dev-fss-pub.nais.io
- host: dab-unleash-api.nav.cloud.nais.io
- host: orkivar.intern.dev.nav.no
- host: axsys.dev-fss-pub.nais.io
rules:
- application: poao-tilgang
namespace: poao
Expand Down Expand Up @@ -130,3 +131,5 @@ spec:
value: "api://dev-fss.pdl.pdl-api/.default"
- name: FSS_PROXY_ENABLED
value: "false"
- name: AXSYS_URL
value: "https://axsys.dev-fss-pub.nais.io"
3 changes: 3 additions & 0 deletions nais/nais-prod-gcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
- host: veilarbdialog.prod-fss-pub.nais.io
- host: dab-unleash-api.nav.cloud.nais.io
- host: orkivar.intern.nav.no
- host: axsys.prod-fss-pub.nais.io
rules:
- application: poao-tilgang
namespace: poao
Expand Down Expand Up @@ -128,3 +129,5 @@ spec:
value: "api://prod-fss.pdl.pdl-api/.default"
- name: FSS_PROXY_ENABLED
value: "false"
- name: AXSYS_URL
value: "https://axsys.prod-fss-pub.nais.io"
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import no.nav.common.client.axsys.CachedAxsysClient
import no.nav.common.token_client.client.AzureAdMachineToMachineTokenClient
import no.nav.common.utils.EnvironmentUtils
import no.nav.veilarbaktivitet.config.EnvironmentProperties
import org.springframework.beans.factory.annotation.Value
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Profile
Expand All @@ -18,7 +19,8 @@ open class AxsysClientConfig {
if (EnvironmentUtils.isProduction().orElse(false)) "prod" else "dev"
)

private val axsysUrl = "http://axsys.org.svc.nais.local"
@Value("\${axsys.url}")
private lateinit var axsysUrl: String;

@Bean
open fun axsysClient(
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ app.datasource.password=${DB_PASSWORD}

orkivar.url=${ORKIVAR_URL}
veilarbdialog.url=${VEILARBDIALOG_URL}
axsys.url=${AXSYS_URL}
veilarbaktivitet-fss.url=${VEILARBAKTIVITET_FSS_URL}
pdl.url=${PDL_URL}
pdl.scope=${PDL_SCOPE}
Expand Down

0 comments on commit b432ff2

Please sign in to comment.