Live Order Management Platform Mid-Migration
Commercial Vehicle Manufacturing | Amazon Web Services | Caxsol ProServ
FUNCTIONAL TOPIC & BUSINESS OBJECTIVE
A European commercial vehicle manufacturer was migrating its order management and technical validation platform from a single large application into event-driven microservices on AWS — while the platform was live and changing every week. The platform sits between sales and production: once a customer's truck order is confirmed in the ERP system, it works out the technical configuration, validates it, and gives engineering and order management staff a place to fix problems before the vehicle is built.
The client's own developers were stretched across the migration and upcoming releases. The business objective was to add reliable engineering capacity — delivering new Spring Boot services, a second truck generation intake, security fixes and frontend enhancements — without slowing the migration or disrupting live operations.
INDUSTRY
- Commercial Vehicle Manufacturing
- Order Management & Technical Validation
- Legacy-to-Cloud Migration
- Event-Driven Microservices
The client is a European commercial vehicle manufacturer whose order platform connects sales configuration, the ERP system, engineering master data and production systems. An older Oracle system and a mainframe still sat in the data path, and a second truck generation with a very different product structure had to be connected — so every change had to preserve continuity for live orders.
PROBLEM STATEMENT
Joining a large, live system mid-migration created five interconnected challenges:
- No single source of architecture truth: No document explained the scope or architecture. Knowledge came from a few infrastructure walkthroughs, existing documentation and conversations with busy developers.
- Complex request path and mixed communication styles: Requests flowed through CloudFront, API Gateway and a load balancer into services that talked over REST, queues and an event bus — with some legacy communication still going through database tables.
- Unfamiliar Elm frontend with no live debugger: The local setup changed mid-engagement (Tomcat to Nginx), the origin of two build artefacts was unclear, and reproducing a bug meant starting backend services and the database by hand. The build only ran reliably on Linux after trying Windows and WSL.
- Insufficiently refined stories: Of six frontend stories received, only two turned out to be relevant, and some descriptions were later agreed by the client to be too weak to work from.
- Limited access to system knowledge: Without a named technical contact or test environment details, setup blockers lingered and estimates across connected services were hard to make accurately.
OUR ROLE & CONTRIBUTION
Caxsol provided extra backend capacity, plus frontend work, on the order management and technical validation platform. Our team of three engineers worked remotely while sitting in the client's daily and sprint meetings, and later joined sprint planning and retrospectives as the client merged its two vehicle-generation teams.
- Built a new ERP intake service in Spring Boot on the client's existing AWS setup and CI/CD pipeline
- Delivered the second truck generation intake, first as a Spring Boot prototype and then as a TypeScript Lambda
- Migrated the order service database from DynamoDB to PostgreSQL using Flyway migrations
- Delivered the cross-service "re-run technical validation" feature across the frontend and five backend services
- Fixed security findings across all services: central exception handling and a critical logging-library dependency upgrade
- Led and completed frontend enhancements in Elm, including filters, vehicle list and editor groups
- Implemented groups, roles and permissions management with unit tests
- Introduced written blocker logs and pre-coding story notes with complexity estimates, then handed everything over to the client's developers
SOLUTION OVERVIEW
Caxsol delivered a staged set of backend, frontend and security contributions, starting small to build trust and expanding as the client's confidence grew. The work is structured around five pillars:
Pillar 1 — ERP Intake & Second Truck Generation Services
A new service accepts confirmed order data from the ERP system over a REST endpoint with basic authentication, reads the vehicle configuration code from the header, calls the configuration service and logs the exchange. It was later extended with secrets handling, queue processing and database storage. For the second truck generation, an incoming order service fetches equipment details, falls back to a second source when the first has nothing, validates the data and transfers it to the order database.
Design principle: Services communicate mostly through events on a central event bus, and the legacy Oracle system is reached only through an exchange layer — so no other service needs to know it exists.
Pillar 2 — Order Database Migration to PostgreSQL
The order service was moved from DynamoDB to PostgreSQL with Flyway-managed migrations, after tests against DynamoDB kept failing. This aligned the service with PostgreSQL as the platform's main database.
Pillar 3 — Re-run Technical Validation
A new action lets engineering users re-run validation on the active order version for every order under a technical code, without locking orders. The feature spans the frontend and five backend services, and required upgrading several services and moving the API from version 1 to version 2 so a production hotfix would not be blocked.
Pillar 4 — Security & Quality Hardening
A central exception handler was added to the services so stack traces no longer leak in error responses. A critical logging-library finding was fixed by upgrading a transitive dependency across 12 repositories, followed by log checks on 18 services after redeployment.
Pillar 5 — Frontend (Elm) Enhancements & Access Control
Frontend work covered a date filter bug fix, clear buttons on column filters, a restored and relocated vehicle list button, one editor group per technical code, and three worklist columns that had been defined but never filled. On the backend, full create, read, update and delete support for groups, roles and permissions, and user-to-group assignment, was delivered with unit tests.
TECHNOLOGY STACK
| Technology / Service | Role in the Platform |
|---|---|
| Java 21 + Spring Boot | Backend microservices — ERP intake, order, validation and order state services |
| TypeScript (AWS Lambda) | Second truck generation intake; Lambdas that feed the event bus from database changes |
| Elm | Frontend for engineering and order management users |
| AWS ECS + ECR | Containerised microservice hosting and image registry |
| AWS API Gateway + CloudFront | Request entry path to the platform services |
| AWS SQS + Central Event Bus | Asynchronous, event-driven communication between services |
| PostgreSQL + Flyway | Main platform database with versioned schema migrations |
| DynamoDB | Previous order service datastore — migrated away |
| Oracle (legacy) | Older system reached only through an exchange layer |
| AWS Secrets Manager | Credential and secrets handling for services |
| AWS CloudFormation + CDK | Infrastructure definition for AWS resources |
| CloudWatch + AWS Inspector | Monitoring, log checks and vulnerability findings |
| GitLab CI/CD | Build and deployment pipelines |
| Docker Compose + LocalStack | Local development and testing environment (with Nginx and Keycloak for the frontend) |
| JUnit + Postman | Unit and API testing |
| Jira + Confluence | Story tracking and documentation |
DELIVERY CONTEXT
| Dimension | Detail |
|---|---|
| Engagement type | Embedded engineering support — extra backend capacity plus frontend work |
| Client | European commercial vehicle manufacturer |
| Team | 3 Caxsol engineers, working remotely |
| Ways of working | Client's daily and sprint meetings, later sprint planning and retrospectives |
| Cloud platform | Amazon Web Services (AWS), on the client's existing setup |
| Backend stack | Java 21, Spring Boot, TypeScript Lambda, PostgreSQL |
| Frontend stack | Elm |
| CI/CD | GitLab CI/CD — client's existing pipeline |
| Delivery practices | Written blocker log, pre-coding story notes with complexity estimates, code review |
| Handover | All delivered components handed over to the client's developers |
IMPLEMENTATION SCOPE & METRICS
| Scope Item | Detail |
|---|---|
| Engineers | 3 |
| Truck generations connected | 2 — second generation connected to the same platform |
| ERP intake service | REST endpoint, configuration lookup, secrets handling, queue processing and database storage |
| Second truck generation intake | Equipment fetch with fallback source, validation and transfer to the order database (TypeScript Lambda) |
| Database migration | Order service moved from DynamoDB to PostgreSQL with Flyway |
| Re-run technical validation | 1 cross-service feature touching the frontend and 5 backend services |
| Services secured | 18 services — central exception handling and post-redeploy log checks |
| Repositories upgraded | 12 — critical logging-library dependency fix |
| Frontend stories | 2 relevant stories out of 6 received, plus filters, vehicle list, editor groups and worklist columns |
| Groups & permissions | Full CRUD for groups, roles and permissions, with user assignment and unit tests |
KEY ACHIEVEMENTS & BUSINESS IMPACT
- New ERP data path delivered: A working ERP intake service now feeds confirmed orders into the platform, deployed through the client's own pipeline.
- Second truck generation connected: Orders with a very different product structure can flow into the same platform through a dedicated intake service.
- Database migration completed: The order service moved to PostgreSQL with versioned migrations, removing a source of repeatedly failing tests.
- Faster fixes for engineering users: Technical validation can be re-run for every order under a technical code in one action, without locking orders.
- Stronger security posture across all services: Stack traces no longer leak in error responses, and a critical logging-library finding was fixed across 12 repositories and verified on 18 services.
- Frontend improvements merged: Filter fixes, clear buttons, vehicle list and editor group changes and previously empty worklist columns passed review and were merged.
- Expanded trust and role: The engagement grew from small bug fixes to building and handing over new components, and the client included the team in sprint planning and retrospectives.
- Documentation gaps surfaced: The team's written analysis of stories and setup gaps highlighted holes in the client's documentation that they had not noticed.
DIFFERENTIATORS & HIGHLIGHTS
What set this engagement apart from standard staff augmentation:
- Small-first delivery strategy: The team began with one contained service, delivered it end to end through the client's pipeline, and used it as proof when asking for larger tasks.
- Structured blocker management: Setup problems were written down with the task, why it was stuck, what had been tried and who could help — alongside a plain summary of what the team needed: clear scope, architecture details, test environment information and one technical contact.
- Story notes before code: Every new story started with a short note covering understanding, setup needs, open questions and a complexity estimate, catching misunderstandings early and keeping estimates on record.
- Honest estimation: When the client sized a story at 8 points and the team said 13 because of unfamiliar business rules and frontend language, the gap was raised at the start rather than discovered mid-sprint.
- Adaptability across stacks: The team delivered across Spring Boot, TypeScript Lambda and Elm — rebuilding the second truck generation intake as a Lambda when the client's team preferred it.
- Lessons built into the practice: The team now asks for an architecture walkthrough and a one-to-one frontend session before coding, maps service dependencies before estimating cross-service work, and seeks guidance from component experts on framework-specific tasks.