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!

Active Pure Nim score 65/100 ยท last commit 2026-10-28 ยท 2 stars ยท tests present ยท no docs generated

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 **All-in-one data reconciliation for files and databases.** [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![Version](https://img.shields.io/badge/Version-6.2.2-brightgreen.svg)](https://gitlab.com/devone4/recon_one/-/releases) [![Java](https://img.shields.io/badge/Java-21+-orange.svg)](https://openjdk.org/) [![Spring Boot](https://img.shields.io/badge/Spring%20Boot-3.5.16-6DB33F.svg)](https://spring.io/projects/spring-boot) [![Angular](https://img.shields.io/badge/Angular-22-DD0031.svg)](https://angular.dev/) [![Gradle](https://img.shields.io/badge/Gradle-Multi--module-02303A.svg)](https://gradle.org/) [![Docker](https://img.shields.io/badge/Docker-Ready-2496ED.svg)](docker/README.md) [Quick Start](#-quick-start) ยท [Features](#-features) ยท [CLI](#-command-line-interface) ยท [Docker](#-docker) ยท [Development](#-development) ยท [Contributing](#-contributing)

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

  • 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

  1. Download ReconOne.zip from 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

  1. Choose a database:
  2. Evaluation: keep the defaults. config/server.properties already points to the bundled h2/standalone database.
  3. Production: run the matching schema script from util/database_init_scripts/ (schema-postgresql.sql, schema-oracle.sql, โ€ฆ).
  4. Configure: edit config/server.properties and config/executor.properties to set the datasource and other settings.
  5. Start both services from the extracted folder with startServer.bat and startExecutor.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

  1. 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 standalone password 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 (the client Gradle 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 -Xmx4g for the Server and -Xmx8g for 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!

  1. Fork the repository and create a branch: git checkout -b feature/my-feature.
  2. Follow the guidelines in AGENTS.md and add tests for your change.
  3. Use Conventional Commits (feat:, fix:, docs:, โ€ฆ).
  4. 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

๐Ÿ“„ License

ReconOne is licensed under the GNU General Public License v3.0. See LICENSE.md.

Copyright ยฉ Dev One Consulting S.L.