From 03b892c3ec3f8e27eb72c5ffb598ab2826878d43 Mon Sep 17 00:00:00 2001 From: Tanja Krasnomovets Date: Thu, 16 Nov 2023 13:55:39 +0100 Subject: [PATCH] Remove write access for isaktivitetskrav (#389) * Remove write access for isaktivitetskrav * Delete SM_FORHANDSVARSEL_STANS --- nais/topics/varselbus-topic-dev.yaml | 3 --- nais/topics/varselbus-topic-prod.yaml | 3 --- .../kafka/consumers/varselbus/domain/EsyfovarselHendelse.kt | 1 - 3 files changed, 7 deletions(-) diff --git a/nais/topics/varselbus-topic-dev.yaml b/nais/topics/varselbus-topic-dev.yaml index 123f99608..b16a77556 100644 --- a/nais/topics/varselbus-topic-dev.yaml +++ b/nais/topics/varselbus-topic-dev.yaml @@ -30,9 +30,6 @@ spec: - team: teamsykefravr application: isyfomock access: write - - team: teamsykefravr - application: isaktivitetskrav - access: write - team: team-esyfo application: aktivitetskrav-backend access: write diff --git a/nais/topics/varselbus-topic-prod.yaml b/nais/topics/varselbus-topic-prod.yaml index 299d2fe78..df6fb90b5 100644 --- a/nais/topics/varselbus-topic-prod.yaml +++ b/nais/topics/varselbus-topic-prod.yaml @@ -27,9 +27,6 @@ spec: - team: teamsykefravr application: isdialogmote access: write - - team: teamsykefravr - application: isaktivitetskrav - access: write - team: team-esyfo application: aktivitetskrav-backend access: write diff --git a/src/main/kotlin/no/nav/syfo/kafka/consumers/varselbus/domain/EsyfovarselHendelse.kt b/src/main/kotlin/no/nav/syfo/kafka/consumers/varselbus/domain/EsyfovarselHendelse.kt index d17a92a35..1dbdbb1aa 100644 --- a/src/main/kotlin/no/nav/syfo/kafka/consumers/varselbus/domain/EsyfovarselHendelse.kt +++ b/src/main/kotlin/no/nav/syfo/kafka/consumers/varselbus/domain/EsyfovarselHendelse.kt @@ -80,7 +80,6 @@ enum class HendelseType { SM_DIALOGMOTE_NYTT_TID_STED, SM_DIALOGMOTE_LEST, SM_AKTIVITETSPLIKT, - SM_FORHANDSVARSEL_STANS, // TODO: Slett denne når vi tar over aktivitetskrav-varselløypa fra iSYFO } fun ArbeidstakerHendelse.getSynligTom(): LocalDateTime? {