diff --git a/pom.xml b/pom.xml index 7f891cb..78c7d77 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ no.ssb.dapla.dlp.pseudo.func dapla-dlp-pseudo-func - 1.2.5-SNAPSHOT + 1.2.6-SNAPSHOT dapla-dlp-pseudo-func diff --git a/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfig.java b/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfig.java index c9f28bb..0a2a338 100644 --- a/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfig.java +++ b/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfig.java @@ -8,11 +8,11 @@ @Builder public class MapFuncConfig { private final String context; - private final String versionTimestamp; + private final String snapshotDate; @UtilityClass public static class Param { public static final String CONTEXT = "context"; - public static final String VERSION_TIMESTAMP = "versionTimestamp"; + public static final String SNAPSHOT_DATE = "snapshotDate"; } } diff --git a/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfigService.java b/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfigService.java index 9216399..09eb7b1 100644 --- a/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfigService.java +++ b/src/main/java/no/ssb/dapla/dlp/pseudo/func/map/MapFuncConfigService.java @@ -1,13 +1,13 @@ package no.ssb.dapla.dlp.pseudo.func.map; import no.ssb.dapla.dlp.pseudo.func.PseudoFuncConfig; -import static no.ssb.dapla.dlp.pseudo.func.map.MapFuncConfig.Param.VERSION_TIMESTAMP; +import static no.ssb.dapla.dlp.pseudo.func.map.MapFuncConfig.Param.SNAPSHOT_DATE; public class MapFuncConfigService { public MapFuncConfig resolve(PseudoFuncConfig genericConfig) { String context = genericConfig.getRequired(MapFuncConfig.Param.CONTEXT, String.class); return MapFuncConfig.builder() - .versionTimestamp(genericConfig.get(VERSION_TIMESTAMP, String.class).orElse(null)) + .snapshotDate(genericConfig.get(SNAPSHOT_DATE, String.class).orElse(null)) .context(context) .build(); }