feat: add startup config validation and document ConfigManager pipeline editor

Add ConfigurationValidationRunner with IConfigurationValidator interface for
validating required settings at startup. Includes SecureStore and LDAP validators.
Expand ConfigManager with pipeline editing UI, dialogs, and step editors.
Update documentation with config validation guidance.
This commit is contained in:
Joseph Doherty
2026-01-21 17:47:15 -05:00
parent ceb63bfefb
commit e5fe2f06e9
88 changed files with 4995 additions and 201 deletions
@@ -59,7 +59,26 @@ public class AutoDiscoveryService : IAutoDiscoveryService
return Task.FromResult<string?>(hostDir);
}
// 4. Check user config directory
// 4. Check project structure paths (for development)
// When running from bin/Debug/net10.0, go up to find src/JdeScoping.Host
var projectHostPaths = new[]
{
// From bin/Debug/net10.0 -> src/JdeScoping.Host
_fileSystem.Combine(exeDir, "..", "..", "..", "..", "..", "JdeScoping.Host"),
// Absolute fallback for development
"/Users/dohertj2/Desktop/JdeScopingTool/NEW/src/JdeScoping.Host"
};
foreach (var projectPath in projectHostPaths)
{
if (IsValidConfigFolder(projectPath))
{
_logger?.LogInformation("Found config folder in project directory: {Path}", projectPath);
return Task.FromResult<string?>(Path.GetFullPath(projectPath));
}
}
// 5. Check user config directory
var userConfigDir = GetUserConfigDirectory();
if (userConfigDir != null && IsValidConfigFolder(userConfigDir))
{