Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Endret varighet på mellomlagring i buckets slik at mellomlagring bare…
Browse files Browse the repository at this point in the history
… er 1 døgn

Co-authored-by: Richard Borge <[email protected]>
  • Loading branch information
sturleh and richardborge committed Dec 4, 2023
1 parent 31cd1e5 commit dbbf3ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .nais/dev-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tenant": "trygdeetaten.no",
"ingress": "https://aap-soknad-api.intern.dev.nav.no",
"env": "dev",
"vedlegg-varighet": "14",
"mellomlagring-varighet": "14",
"vedlegg-varighet": "1",
"mellomlagring-varighet": "1",
"saf": "safselvbetjening-q2.dev-fss-pub.nais.io"
}
4 changes: 2 additions & 2 deletions .nais/prod-gcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tenant": "trygdeetaten.no",
"ingress": "https://aap-soknad-api.intern.nav.no",
"env": "prod",
"vedlegg-varighet": "14",
"mellomlagring-varighet": "14",
"vedlegg-varighet": "1",
"mellomlagring-varighet": "1",
"saf" : "safselvbetjening.prod-fss-pub.nais.io"
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ data class BucketConfig(val project: String,

data class KeyConfig(internal val ring: String, internal val key: String)

data class MellomlagringBucketConfig(val navn: String, @DefaultValue("14") @DurationUnit(DAYS) val varighet: Duration, @NestedConfigurationProperty val purring: Purring, @NestedConfigurationProperty val subscription: SubscriptionConfig) {
data class MellomlagringBucketConfig(val navn: String, @DefaultValue("1") @DurationUnit(DAYS) val varighet: Duration, @NestedConfigurationProperty val purring: Purring, @NestedConfigurationProperty val subscription: SubscriptionConfig) {

data class SubscriptionConfig(val navn: String, val topic: String)
data class Purring(val enabled: Boolean, val delay: Long, val eldreEnn: Duration)
}

data class VedleggBucketConfig(val navn: String, @DefaultValue("14") @DurationUnit(DAYS) val varighet: Duration,val maxsum: DataSize, val typer: List<String>)
data class VedleggBucketConfig(val navn: String, @DefaultValue("1") @DurationUnit(DAYS) val varighet: Duration,val maxsum: DataSize, val typer: List<String>)

companion object {
private const val REGION = "europe-north1"
Expand Down

0 comments on commit dbbf3ec

Please sign in to comment.