finos / finos/traderX

Morphir integration with TraderX

Open
#241 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
106
Forks
146
Avg merge
21d 40m
Merged PRs (30d)
1

Description

Hello @karlmoll,
Following the points from our email exchange, I have created this issue to start a discussion on a Morphir integration with TraderX.

We aimed to create an annotation-based way to include Morphir validation logic within Spring boot projects, such as TraderX.

This particular integration involves a few proposed changes, namely:

1. Custom Spring boot annotations to perform data model validation, using the Morphir rules engine, within the trade-processor service.
The annotation reads the model used and applies specific trade rules to the model to either pass/fail with an exception.

2. Model data classes auto-generated and transpiled into Scala classes, capable of JSON (de)serialization.

3. Realtime visual validation of client-side form input using Morphir's visual rules explainer.

These are the main aspects being considered for integration.
Looking forward to some feedback from you and sharing on the next planned meeting.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the trade-processor service and the existing Spring Boot project structure, then clarify how Morphir validation, Scala model generation with JSON serialization, and client-side visual validation should connect. The issue is complete only when the integration scope, affected entry points, validation behavior, generated models, and client-side form behavior are agreed and demonstrably working.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, scala, spring-boot
Domain
backend, frontend, full-stack
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.