Joseph Doherty
f61a64b059
feat(DbExporter): add ScadaBridge definition files
...
Add JSON definition files for exporting ScadaBridge tables:
- Config tables: OpcUaClients, LmxClients, Tags, TemplateScripts
- Provider tables: EmailProviders, SmsProviders, TeamsProviders
- Lookup tables: ScadaClientTypes, ScriptTypes, TriggerTypes, DataTypes
2026-01-06 17:01:43 -05:00
Joseph Doherty
48c96eb8f4
feat(DbExporter): add counting data reader for accurate row count
...
Wrap IDataReader with CountingDataReader to track rows as they're read
during protobuf serialization, fixing the export returning 0 rows.
2026-01-06 17:00:09 -05:00
Joseph Doherty
87a02d5368
feat(DbExporter): implement CLI entry point
2026-01-06 16:57:58 -05:00
Joseph Doherty
ba11407be4
feat(DbExporter): implement verify and verify-full
...
Add Verifier class that reads exported .pb.zstd files and:
- Deserializes protobuf data through zstd decompression
- Extracts schema information (column names and types)
- Counts rows for verification
- Optionally computes SHA256 hash and compares against sidecar file
2026-01-06 16:55:18 -05:00
Joseph Doherty
6f58bfd8cc
feat(DbExporter): implement database export with protobuf+zstd
...
Adds DatabaseExporter class that exports query results to compressed
protobuf format. Supports SQL Server and Oracle providers with streaming
compression and SHA256 hash verification.
2026-01-06 16:52:43 -05:00
Joseph Doherty
b497f018dd
feat(DbExporter): create project structure and definition model
...
Add DbExporter tool project with:
- Project file targeting .NET 10 with required packages
(protobuf-net-data, ZstdSharp.Port, Microsoft.Data.SqlClient,
Oracle.ManagedDataAccess.Core)
- ExportDefinition model for JSON-based export configuration
- Placeholder Program.cs entry point
2026-01-06 16:49:59 -05:00