diff --git a/.nais/dev-vars.yaml b/.nais/dev-vars.yaml index b7c9f57e..133f470e 100644 --- a/.nais/dev-vars.yaml +++ b/.nais/dev-vars.yaml @@ -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 diff --git a/.nais/prod-vars.yaml b/.nais/prod-vars.yaml index 8ae9a2fd..60da48e0 100644 --- a/.nais/prod-vars.yaml +++ b/.nais/prod-vars.yaml @@ -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 \ No newline at end of file diff --git a/mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt b/mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt index 5ebe3ba1..bc35587d 100644 --- a/mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt +++ b/mediator/src/main/kotlin/no/nav/dagpenger/mottak/Config.kt @@ -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 = properties.list().reversed().fold(emptyMap()) { map, pair ->