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