chore(datasync): mark SyncMode and SyncModeConfig as obsolete
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
namespace JdeScoping.DataSync.Configuration;
|
||||
|
||||
/// <summary>
|
||||
/// Configuration for an ETL pipeline.
|
||||
/// </summary>
|
||||
public record PipelineConfig(
|
||||
SourceConfig Source,
|
||||
[property: Obsolete("Use Schedules property instead. SyncModes will be removed in a future version.")]
|
||||
Dictionary<string, SyncModeConfig>? SyncModes,
|
||||
PipelineSchedules? Schedules,
|
||||
List<TransformerConfig>? Transformers,
|
||||
@@ -21,6 +25,10 @@ public record ParameterConfig(
|
||||
string Source = "offset",
|
||||
string? Value = null);
|
||||
|
||||
/// <summary>
|
||||
/// Sync mode configuration (legacy format).
|
||||
/// </summary>
|
||||
[Obsolete("Use ScheduleConfig instead. SyncModeConfig will be removed in a future version.")]
|
||||
public record SyncModeConfig(
|
||||
string? MinDtOffset,
|
||||
bool PrePurge = false,
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
namespace JdeScoping.DataSync.Contracts;
|
||||
|
||||
/// <summary>
|
||||
/// Sync mode for ETL pipelines.
|
||||
/// </summary>
|
||||
[Obsolete("Use UpdateTypes enum and WithUpdateType() instead. SyncMode will be removed in a future version.")]
|
||||
public enum SyncMode
|
||||
{
|
||||
Mass,
|
||||
|
||||
Reference in New Issue
Block a user