feat(datasync): add GIW connection type to DbQuerySource

Add support for "giw" connection type in DbQuerySource to enable
the StatusCode pipeline to query from the GIW Oracle database.
This commit is contained in:
Joseph Doherty
2026-01-07 00:58:56 -05:00
parent c59a3160d0
commit 4b3c900d52
2 changed files with 14 additions and 2 deletions
@@ -81,4 +81,15 @@ public class DbQuerySourceTests
var source = new DbQuerySource(factory, "jde", "SELECT 1", commandTimeout: 7200);
source.SourceName.ShouldBe("DbQuery:jde");
}
[Fact]
public void Constructor_WithGiwConnectionType_DoesNotThrow()
{
// Arrange
var connectionFactory = Substitute.For<IDbConnectionFactory>();
// Act & Assert - should not throw
var source = new DbQuerySource(connectionFactory, "giw", "SELECT 1", null);
source.SourceName.ShouldBe("DbQuery:giw");
}
}