diff --git a/NEW/src/JdeScoping.DataSync/Configuration/PipelineConfig.cs b/NEW/src/JdeScoping.DataSync/Configuration/PipelineConfig.cs index 0fa5700..fb2215e 100644 --- a/NEW/src/JdeScoping.DataSync/Configuration/PipelineConfig.cs +++ b/NEW/src/JdeScoping.DataSync/Configuration/PipelineConfig.cs @@ -1,7 +1,11 @@ namespace JdeScoping.DataSync.Configuration; +/// +/// Configuration for an ETL pipeline. +/// public record PipelineConfig( SourceConfig Source, + [property: Obsolete("Use Schedules property instead. SyncModes will be removed in a future version.")] Dictionary? SyncModes, PipelineSchedules? Schedules, List? Transformers, @@ -21,6 +25,10 @@ public record ParameterConfig( string Source = "offset", string? Value = null); +/// +/// Sync mode configuration (legacy format). +/// +[Obsolete("Use ScheduleConfig instead. SyncModeConfig will be removed in a future version.")] public record SyncModeConfig( string? MinDtOffset, bool PrePurge = false, diff --git a/NEW/src/JdeScoping.DataSync/Contracts/SyncMode.cs b/NEW/src/JdeScoping.DataSync/Contracts/SyncMode.cs index f497f07..b54d114 100644 --- a/NEW/src/JdeScoping.DataSync/Contracts/SyncMode.cs +++ b/NEW/src/JdeScoping.DataSync/Contracts/SyncMode.cs @@ -1,5 +1,9 @@ namespace JdeScoping.DataSync.Contracts; +/// +/// Sync mode for ETL pipelines. +/// +[Obsolete("Use UpdateTypes enum and WithUpdateType() instead. SyncMode will be removed in a future version.")] public enum SyncMode { Mass,