Skip to content
CAI
Software that uses CAICheck a score

aledeulo/cqrs-examples-customers-and-orders

54.8

Adequate · 10 November 2026

1.7k

lines of production code

Java

primary language

9

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

This system is a microservices-based application for managing customers and orders, built on the Eventuate Tram platform with Spring Boot. It features a multi-module architecture supporting multiple database backends and message brokers, with automated CI/CD pipelines for AWS Fargate deployment. The codebase includes comprehensive end-to-end, migration, and snapshot tests to verify service behavior and data integrity.

Features

Add AWS Fargate deployment templates and CI/CD pipeline configuration

This change introduces a complete infrastructure-as-code template for deploying the application on AWS Fargate. It includes Terraform configurations for the ECS cluster, load balancers, and individual service task definitions for the CDC, customer, order, and order-history services. Additionally, it adds AWS CodePipeline and CodeBuild configurations to automate the build and deployment of Docker images to Amazon ECR, along with supporting scripts for database initialization and API invocation.

(repo-wide) · high confidence

Initial project scaffolding and infrastructure setup

The repository is initialized with essential project files, including an Apache 2.0 license, a Gradle wrapper for build automation, and a Layerfile for containerized development environments. To support the microservices architecture, the commit adds Docker Compose configurations for MySQL, PostgreSQL, and MSSQL backends, along with Kafka and Zookeeper services. Additionally, shell scripts are introduced to manage the full test suite across different database backends, and helper scripts are added for interacting with Kafka, MongoDB, and SQL databases.

(repo-wide) · high confidence

Test coverage

Added end-to-end, migration, and snapshot tests for the Orders and Customers services

New test suites have been added to verify the behavior of the Orders and Customers services. The end-to-end tests validate customer and order creation, approval/rejection logic, and order cancellation. The migration tests verify that message IDs are correctly migrated in the database. The snapshot tests ensure that customer and order snapshots are correctly exported and searchable via the text search service. Configuration files for these tests have also been added.

end-to-end-tests, migration-tests, snapshot-tests · high confidence

Dependencies

Initial project structure and dependency configuration

The project is initialized with a multi-module Gradle and Maven structure, defining modules for customer and order services, their APIs, and supporting components. Dependencies are configured using the Eventuate Tram platform BOM (version 2021.3.RELEASE) and Spring Boot 2.2.6.RELEASE, with specific libraries like MySQL and PostgreSQL JDBC drivers, Spring Retry, and JMeter for load testing.

(dependencies) · medium confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 51 → 55 (+3.5)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 76 → 76 (+0.0)
  • Architecture 96 → 96 (+0.0)
  • Maturity 67 → 63 (-3.6)
  • Readiness 37 → 45 (+8.3)
  • Security 53 → 53 (+0.5)
  • Domain Modelling 83 → 83 (+0.0)

Resolved (7)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • High CVE: [GHSA redacted] (customer-service/pom.xml)
  • High CVE: [GHSA redacted] (customer-service/pom.xml)
  • Medium CVE: [GHSA redacted] (customer-service/pom.xml)
  • No SBOM
  • No artifact signing
  • No build provenance

New (104)

  • Banned license: mysql:mysql-connector-java
  • Critical CVE: [GHSA redacted] (common/pom.xml)
  • Critical CVE: [GHSA redacted] (common/pom.xml)
  • Critical CVE: [GHSA redacted] (common/pom.xml)
  • Critical CVE: [GHSA redacted] (common/pom.xml)
  • Dependency hygiene PARTLY measured — Maven build resolved part of the dependency graph, currency reported but not scored
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (common/pom.xml)
  • High CVE: [GHSA redacted] (customer-service/pom.xml)
  • Medium CVE: [GHSA redacted] (common/pom.xml)
  • Outdated (compile): antlr:antlr
  • Outdated (compile): ch.qos.logback:logback-classic
  • Outdated (compile): ch.qos.logback:logback-core
  • …and 84 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

aledeulo/cqrs-examples-customers-and-orders was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 10 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit c5a837d3f668c93d9198f6db5e39c7cd77a878e2 — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.4+preprod-464a0040a931.