recon_one
ReconOne is an all-in-one reconciliation tool that compares files and databases, generating comprehensive reports with results in HTML and Excel formats. This open-source solution (licensed under GPLv3) serves as a robust reconciliation module for automated testing of financial systems including Treasury Solutions such as Calypso or Murex. ๐ Ready to use with minimal configuration: Start testing from Day 1!
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 2 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2026-10-28 |
| Downloads | 0 |
| Last Indexed | 2026-11-24 09:10 |
Installation
nimble install recon_one
choosenim install recon_one
git clone https://gitlab.com/devone4/recon_one
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| recon_one | โ | โ | โ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/devone4/recon_one |
|---|---|
| Homepage | https://gitlab.com/devone4/recon_one |
| Registry Source | gitlab |
README
ReconOne compares data from many sources (relational databases, CSV, Excel, JSON, XML, PDF, SWIFT messages and more) and produces clear, explainable difference reports in HTML and Excel. It is built for automated regression testing of financial platforms such as Calypso and Murex, and works just as well for data migrations, QA pipelines and audit evidence.
You can use it in three ways:
| Mode | Best for |
|---|---|
| ๐ Web application (Server + Executor + Angular UI) | Teams, scheduling, history, dashboards, REST/CI integration |
๐ฅ๏ธ Command line (recon-cli) |
Local checks, scripting, CI jobs without a server |
| ๐ณ Docker Compose | Trying ReconOne in minutes or running a self-contained stack |
๐ Table of Contents
- Features
- Supported Sources
- Quick Start
- Command Line Interface
- Docker
- Configuration
- Architecture
- Development
- Operations Guide
- Contributing
- Security
- Support & Contact
- License
โจ Features
- Multi-source comparison: compare databases, structured files, documents and whole directories or ZIP archives, including across different database vendors.
- Explainable reports: HTML reports show what differs and why, with optional Excel export and an index page that collects many results.
- AI-ready output: generate AI prompt files for each result (optionally in TOON format) so an LLM can analyze differences.
- Flexible column handling: multi-key matching, plus ignore, rename and mask rules for columns, and tolerance-based comparisons.
- Custom SQL: reconcile tables or the results of arbitrary queries.
- Reusable contexts: describe a reconciliation once in a YAML context and run it from the UI, the API or the CLI.
- Built for automation: REST API with OpenAPI/Swagger docs for CI/CD pipelines.
- Enterprise authentication: JWT-based sessions with optional LDAP integration.
- Scales to large data: a separate Executor service with streaming and batched processing.
๐ Supported Sources
| Category | Formats |
|---|---|
| Databases | PostgreSQL, Oracle, MySQL, H2, SQLite, Sybase |
| Tabular files | CSV, Excel, Fixed-length, Data tables |
| Structured documents | JSON, XML, Properties, SWIFT |
| Documents | PDF, Word, Plain text |
| Containers | Directories (recursive), ZIP archives |
| Other | Binary files, File properties (metadata) |
๐ Quick Start
Requirements
- Java 21+ (JRE for running, JDK for building)
- A supported database. A pre-populated H2 database is included, so no setup is needed to evaluate.
- 4 GB RAM minimum (8 GB+ recommended for large reconciliations)
Run a release
- Download
ReconOne.zipfrom GitLab Releases and extract it into an empty folder. It contains:
text
ReconOne.zip
โโโ ReconOne/
โโโ startServer.bat # starts the server (port 8080)
โโโ startExecutor.bat # starts the executor
โโโ config/ # server.properties, executor.properties
โโโ h2/standalone.mv.db # pre-populated H2 database
โโโ libs/ # recon-one-server-<version>.jar, recon-one-executor-<version>.jar
โโโ cli/ # recon-cli-<version>.jar
- Choose a database:
- Evaluation: keep the defaults.
config/server.propertiesalready points to the bundledh2/standalonedatabase. - Production: run the matching schema script from
util/database_init_scripts/(schema-postgresql.sql,schema-oracle.sql, โฆ). - Configure: edit
config/server.propertiesandconfig/executor.propertiesto set the datasource and other settings. - Start both services from the extracted folder with
startServer.batandstartExecutor.bat. On Linux/macOS, run the same commands directly:
bash
java -Xms512m -Xmx4g -jar libs/recon-one-server-<version>.jar --spring.config.additional-location=file:config/server.properties
java -Xms1g -Xmx8g -jar libs/recon-one-executor-<version>.jar --spring.config.additional-location=file:config/executor.properties
- Open http://localhost:8080 and sign in with
standalone/standalone.
[!NOTE] The H2 URL (
jdbc:h2:file:./h2/standalone) is resolved against the current directory, so start the services from the extracted folder.[!IMPORTANT] Change the default
standalonepassword right after your first login.
๐ฅ๏ธ Command Line Interface
recon-cli runs reconciliations without a server. It is a good fit for local checks and CI jobs.
java -jar recon-cli.jar \
--context ./contexts/trades.yaml \
--expected ./data/expected/trades.csv \
--actual ./data/actual/trades.csv \
--output ./results \
--excel
| Option | Description |
|---|---|
--context |
Context (YAML) file describing the reconciliation |
--expected / --actual |
Files for the expected and actual sides |
--output |
Directory where results are written |
--index |
Recursively scan a directory and build an index of all results |
--updateContexts |
Recursively upgrade context files to the current version |
--fileEncoding |
UTF-8, ISO-8859-1, US-ASCII, UTF-16, UTF-16BE, UTF-16LE |
--fileLocale |
Locale used to parse files (e.g. en_US) |
--excel |
Also generate an Excel (.xlsx) result |
--toon |
Generate AI prompts in .toon format |
--help |
Show usage |
See recon-cli/README.md for more examples.
๐ณ Docker
Start the full stack (ReconOne, PostgreSQL and MailHog for email testing) with one command:
cd docker
./build-docker.sh # or .\build-docker.ps1 on Windows
docker compose up -d
| Service | URL |
|---|---|
| ReconOne UI | http://localhost:8080 |
| MailHog | http://localhost:8025 |
| PostgreSQL | localhost:5432 |
Build options, environment variables and troubleshooting are covered in docker/README.md.
โ๏ธ Configuration
Both services are Spring Boot applications. You pass configuration with --spring.config.additional-location or with environment variables.
| File | Service | Default port |
|---|---|---|
util/config/server.properties |
Server (API + UI) | 8080 |
util/config/executor.properties |
Executor (engine) | 8081 |
java -Xms512m -Xmx4g -jar recon-one-server-<version>.jar \
--spring.config.additional-location=file:/path/to/server.properties
java -Xms1g -Xmx8g -jar recon-one-executor-<version>.jar \
--spring.config.additional-location=file:/path/to/executor.properties
[!TIP] Any property can be overridden with an environment variable, e.g.
SPRING_DATASOURCE_PASSWORD. Use this to keep secrets out of property files.
๐๏ธ Architecture
flowchart LR
UI[Angular Client] -->|REST / JWT| S[Server<br/>API ยท Orchestration ยท Auth]
CLI[recon-cli] --> R
S -->|jobs| E[Executor<br/>Reconciliation Engine]
S --- DB[(Metadata DB)]
E --> R[recon<br/>Comparison Algorithms]
R --> DA[dataaccess<br/>Files ยท Databases]
R --> T[templates<br/>HTML ยท Excel ยท AI Reports]
Modules
| Module | Responsibility |
|---|---|
client |
Angular 22 SPA (Bootstrap 5) |
server |
Spring Boot REST API, security (JWT/LDAP), orchestration, scheduling |
executor |
Spring Boot service that runs reconciliation jobs |
recon |
Core reconciliation algorithms and result models |
dataaccess |
File parsers and database access |
templates |
Velocity templates for HTML reports and AI prompts |
common |
Shared models and utilities |
recon-cli |
Standalone command-line runner |
docker |
Dockerfiles, Compose stack and build scripts |
util |
Sample configs, DB init scripts, H2 database |
Design principles
- Correctness: deterministic comparisons with explicit rules and a traceable audit log for every run.
- Explainability: reports that show why a record mismatched, not only that it did.
- Database neutrality: the core engine stays vendor-agnostic.
- Streaming first: large datasets are streamed and batched rather than loaded whole into memory.
- Extensibility: pluggable file types, reconciliators and result renderers.
๐ ๏ธ Development
Prerequisites
- JDK 17+ to run Gradle 9.8.1 (the wrapper). The Java 21 toolchain used to compile is downloaded automatically if it is not installed.
- Node.js 26 (or โฅ 22.22.3 / โฅ 24.15.0) and npm 12 on your
PATH(theclientGradle build uses the local installation) - Git
Build and run
git clone https://gitlab.com/devone4/recon_one.git
cd recon_one
# Build every module (backend + frontend)
./gradlew build
JARs are written to server/build/libs/, executor/build/libs/ and recon-cli/build/libs/.
Start the backend services, then the Angular dev server:
java -jar executor/build/libs/recon-one-executor-<version>.jar \
--spring.config.additional-location=file:util/config/executor.properties
java -jar server/build/libs/recon-one-server-<version>.jar \
--spring.config.additional-location=file:util/config/server.properties
cd client
npm install
npm start
| Endpoint | URL |
|---|---|
| Frontend (dev) | http://localhost:4200 |
| REST API | http://localhost:8080/api/v1 |
| Swagger UI | http://localhost:8080/api/v1/swagger-ui.html |
Regenerate the typed API client
After you change the backend API, regenerate the Angular client from the OpenAPI spec. The server must be running.
cd client
npm run api:generate # writes to client/src/app/api
Tests
./gradlew test # all modules
./gradlew :recon:test # a single module
./gradlew dependencyCheckAnalyze # OWASP dependency vulnerability scan
Backend tests use JUnit 5 and Mockito. Unit tests are required for the core reconciliation logic in recon. See AGENTS.md for the full coding and testing guidelines.
๐ Operations Guide
Performance & scaling
- JVM sizing: start with
-Xmx4gfor the Server and-Xmx8gfor the Executor, then tune to your workload. - Indexes: index the join keys and filter columns used in database reconciliations.
- Push work down: use custom SQL with filters so less data is transferred.
- Batch size: balance memory use against throughput for very large datasets.
Production hardening
- Store credentials in environment variables or a secrets manager (e.g. Vault).
- Put the Server behind TLS and restrict network access to the Executor.
- Enable LDAP authentication where available, and enforce strong passwords.
- Collect logs and JVM metrics (heap, GC, latency).
- Back up the metadata database and report storage regularly.
Troubleshooting
| Symptom | Fix |
|---|---|
| Port already in use | Change server.port in server.properties / executor.properties |
| Cannot log in | Check that the schema script ran and the datasource credentials are correct |
OutOfMemoryError |
Increase the Executor heap or reduce the batch size |
| Slow database reconciliations | Check the query plan (EXPLAIN) and add indexes on key columns |
๐ค Contributing
Contributions are welcome!
- Fork the repository and create a branch:
git checkout -b feature/my-feature. - Follow the guidelines in
AGENTS.mdand add tests for your change. - Use Conventional Commits (
feat:,fix:,docs:, โฆ). - Open a merge request with a clear description and a link to the related issue.
Found a bug? Search the issue tracker first, then open an issue with reproduction steps, expected vs. actual behavior, and environment details.
Release notes are on the Releases page. The project follows Semantic Versioning.
๐ Security
Please report vulnerabilities privately to security@devone.es. Do not open public issues for security problems.
๐ฌ Support & Contact
- Issues: GitLab Issues
- Commercial support: contact@devone.es
- Website: devone.es
- Source: gitlab.com/devone4/recon_one
๐ License
ReconOne is licensed under the GNU General Public License v3.0. See LICENSE.md.