Skip to content

Commit

Permalink
IS-2812: Gi AAP tilgang til Kafka-topic og vedlegg-api (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
geir-waagboe authored Nov 13, 2024
1 parent 1d3d1ff commit 74fb7db
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .nais/kafka/dialogmelding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ spec:
- team: disykefravar
application: dvh-sykefravar-airflow-kafka
access: read
- team: aap
application: dokumentinnhenting
access: read
2 changes: 2 additions & 0 deletions .nais/naiserator-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
inbound:
rules:
- application: isbehandlerdialog
- application: dokumentinnhenting
namespace: aap
outbound:
external:
- host: "login.microsoftonline.com"
Expand Down
2 changes: 2 additions & 0 deletions .nais/naiserator-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
inbound:
rules:
- application: isbehandlerdialog
- application: dokumentinnhenting
namespace: aap
outbound:
external:
- host: "login.microsoftonline.com"
Expand Down
2 changes: 2 additions & 0 deletions src/main/kotlin/no/nav/syfo/Environment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ data class Environment(
val serviceuserUsername: String = getEnvVar("SERVICEUSER_USERNAME"),
val serviceuserPassword: String = getEnvVar("SERVICEUSER_PASSWORD"),
private val isbehandlerdialogApplicationName: String = "isbehandlerdialog",
private val dokumentinnhentingApplicationName: String = "dokumentinnhenting",
val systemAPIAuthorizedConsumerApplicationNames: List<String> = listOf(
isbehandlerdialogApplicationName,
dokumentinnhentingApplicationName,
),
val smtssApiUrl: String = getEnvVar("SMTSS_URL"),
val smtssClientId: String = getEnvVar("SMTSS_CLIENT_ID"),
Expand Down

0 comments on commit 74fb7db

Please sign in to comment.