diff --git a/NEW/src/JdeScoping.DataSync/Options/DataSourceConfig.cs b/NEW/src/JdeScoping.DataSync/Options/DataSourceConfig.cs index 1b10e26..973655d 100644 --- a/NEW/src/JdeScoping.DataSync/Options/DataSourceConfig.cs +++ b/NEW/src/JdeScoping.DataSync/Options/DataSourceConfig.cs @@ -22,12 +22,16 @@ public class DataSourceConfig /// /// Name of IDataFetcher implementation type (without generic suffix). + /// Deprecated: Will be removed in a future release. /// - public required string FetcherTypeName { get; set; } + [Obsolete("FetcherTypeName is deprecated and will be removed. Use pipelines.json configuration instead.")] + public string? FetcherTypeName { get; set; } /// /// Optional IPostProcessor implementation type name. + /// Deprecated: Will be removed in a future release. /// + [Obsolete("PostProcessorTypeName is deprecated and will be removed. Use pipelines.json postScripts instead.")] public string? PostProcessorTypeName { get; set; } /// @@ -68,11 +72,15 @@ public class ScheduleConfig /// /// Whether to truncate the table before syncing (mass updates only). + /// Deprecated: Will be removed in a future release. /// + [Obsolete("PrepurgeData is deprecated and will be removed. Use pipelines.json syncModes.prePurge instead.")] public bool PrepurgeData { get; set; } = false; /// /// Whether to rebuild indexes after syncing (mass updates only). + /// Deprecated: Will be removed in a future release. /// + [Obsolete("ReIndexData is deprecated and will be removed. Use pipelines.json syncModes.reIndex instead.")] public bool ReIndexData { get; set; } = false; } diff --git a/NEW/tests/JdeScoping.DataSync.Tests/ScheduleCheckerTests.cs b/NEW/tests/JdeScoping.DataSync.Tests/ScheduleCheckerTests.cs index 2dce024..5d5c2f2 100644 --- a/NEW/tests/JdeScoping.DataSync.Tests/ScheduleCheckerTests.cs +++ b/NEW/tests/JdeScoping.DataSync.Tests/ScheduleCheckerTests.cs @@ -662,14 +662,11 @@ public class ScheduleCheckerTests TableName = tableName, SourceSystem = "JDE", SourceData = tableName.ToUpper(), - FetcherTypeName = $"Jde{tableName}Fetcher", IsEnabled = true, MassConfig = new ScheduleConfig { Enabled = massEnabled, - IntervalMinutes = massInterval, - PrepurgeData = true, - ReIndexData = true + IntervalMinutes = massInterval }, DailyConfig = new ScheduleConfig { diff --git a/NEW/tests/JdeScoping.DataSync.Tests/SyncOrchestratorTests.cs b/NEW/tests/JdeScoping.DataSync.Tests/SyncOrchestratorTests.cs index 9ef5481..90253dd 100644 --- a/NEW/tests/JdeScoping.DataSync.Tests/SyncOrchestratorTests.cs +++ b/NEW/tests/JdeScoping.DataSync.Tests/SyncOrchestratorTests.cs @@ -545,7 +545,6 @@ public class SyncOrchestratorTests TableName = tableName, SourceSystem = "JDE", SourceData = tableName.ToUpper(), - FetcherTypeName = $"Jde{tableName}Fetcher", IsEnabled = true, MassConfig = new ScheduleConfig { Enabled = true, IntervalMinutes = 10080 }, DailyConfig = new ScheduleConfig { Enabled = true, IntervalMinutes = 1440 },