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:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user