Skip to content

Commit

Permalink
Bruk fss url mot oppgavehåndtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
geiralund committed Apr 29, 2024
1 parent af88ffa commit 54a1bcf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .nais/dev-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ dokarkiv:
ingress: dokarkiv.dev-fss-pub.nais.io
oppgave:
app: oppgave-q1
ingress: http://oppgave-q1.oppgavehandtering.svc.nais.local
ingress: oppgave-q1.dev-fss-pub.nais.io
scope: api://dev-fss.oppgavehandtering.oppgave-q1/.default

2 changes: 1 addition & 1 deletion .nais/prod-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ dokarkiv:
ingress: dokarkiv.prod-fss-pub.nais.io
oppgave:
app: oppgave
ingress: http://oppgave.oppgavehandtering.svc.nais.local
ingress: oppgave.prod-fss-pub.nais.io
scope: api://prod-fss.oppgavehandtering.oppgave/.default
2 changes: 1 addition & 1 deletion mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ internal object Config {

fun Configuration.pdlApiUrl() = this[Key("PDL_API_HOST", stringType)].addHttpsrotocoll()

fun Configuration.gosysUrl(): String = this[Key("OPPGAVE_URL", stringType)]
fun Configuration.gosysUrl(): String = this[Key("OPPGAVE_URL", stringType)].addHttpsrotocoll()

fun asMap(): Map<String, String> =
properties.list().reversed().fold(emptyMap()) { map, pair ->
Expand Down

0 comments on commit 54a1bcf

Please sign in to comment.