ModernizationFinancial sector
Report validation engine
Validates files against hundreds of rules before submission; the new rules went live only after proving parity with the old ones.
My contribution: Backend migration, refactoring and optimization · security · CI/CD
Before → After
Before
Java 8 · JSF
Export via chained external scripts
Rules scattered across the database
After
Java 21 · Spring Boot · REST API
Streaming Excel processing
Configurable rules engine
Highlights
- 01Side-by-side check: runs the old and new rules on the same data and reports the differences.
- 02Streaming reads (excel-streaming-reader on top of Apache POI) of files with up to a million rows, in constant memory.
- 03A rule catalog the users can maintain themselves.
Case study
The challenge
Before submitting certain data files, hundreds of rules had to pass. In the old system those rules were scattered and export depended on chained external scripts. Any discrepancy in a rule during the migration could break critical files.
What I did
I migrated the rules engine and proved parity between old and new rules before switching.
- Provable parity: I built a check that runs the old rule and the new rule on the same file and summarizes how many records match, which exist in only one system and which differ, with a sample of each difference. Each file type moves to the new rules once the comparison comes back clean.
- Large files: I replaced the chain of external scripts with streaming reads that process up to a million rows in a single file in constant memory.
Need something similar?
Let's talk →