7.0.0-dev.65
Ingestion - FpML Confirmation Ingestion Tests
Background
The ingestion framework needs to be extended to provide clearer, tested examples of how FpML confirmation documents can be transformed into CDM objects. This update introduces tests validating the full ingestion workflow using the Rosetta XML ObjectMapper configured for FpML 5.13 confirmations. The tests ensure that FpML documents are correctly parsed, validated, and ingested into TradeState and WorkflowStep objects.
What is being released?
This release introduces the following ingestion components and scenarios:
Ingestion base class
AbstractIngestionTest
Provides a shared foundation for XML ingestion tests, including:- Initialising a Rosetta XML ObjectMapper using the FpML confirmation XML configuration (
fpml-5-13) - Setting the expected XML schema location
- Injecting the ingestion functions:
Ingest_FpmlConfirmationToTradeStateIngest_FpmlConfirmationToWorkflowStep
- Utility method for loading and configuring the XML mapper (
getXmlMapper)
- Initialising a Rosetta XML ObjectMapper using the FpML confirmation XML configuration (
Ingestion scenarios
IngestFpmlConfirmationTest
Adds full ingestion scenarios demonstrating how to convert FpML confirmation samples into CDM objects:- FpML Confirmation to TradeState
Validates ingestion of a Vanilla Interest Rate Swap FpML confirmation, ensuring that the XML mapper configuration is correctly applied and that a validTradeStateinstance is produced. - FpML Confirmation to WorkflowStep
Validates ingestion of an execution advice document for a partial novation, producing a validWorkflowStepinstance and confirming end-to-end ingestion workflow integrity.
- FpML Confirmation to TradeState
These scenarios provide practical examples for users integrating FpML confirmation ingestion pipelines with CDM.
Review Directions
Changes can be reviewed in PR: #4248