Skip to content

6.33.0

Choose a tag to compare

@ReleaseManagement-BP ReleaseManagement-BP released this 20 Nov 10:02
· 1 commit to 6.x.x since this release
be48c2b

FX Options - Populate option features and add SimpleExotic qualifiers

Background

Issue #5014 reports that FX exotic options ingested from FpML were labelled incorrectly. The FpML mappings did not populate OptionPayout.feature, so the qualification functions could not distinguish a barrier, touch or average-rate option from a plain vanilla. Qualify_ForeignExchange_VanillaOption also deliberately accepted options carrying only an averagingFeature. FX digital (touch) options were mapped without an underlier, so they failed Qualify_AssetClass_ForeignExchange and received no ISDA label.

This release applies the change from #5242 (CDM 8) to 6.x.x. The 6.x.x option feature model differs from CDM 7/8, so the mapping has been adapted:

  • In 6.x.x, knock-in / knock-out triggers live on OptionFeature.knock (Knock { knockIn, knockOut }). Barrier only has barrierCap / barrierFloor, which describe the direction the trigger is approached from, not knock-in / knock-out. FpML barriers and touches are therefore mapped to feature.knock, and the Barrier and Digital qualifiers test feature -> knock exists.
  • In 6.x.x, OptionFeature.averagingFeature is typed AveragingCalculation directly. There is no AveragingFeature wrapper and no averagingInOut.

What is being released?

Ingestion mapping

  • In ingest-fpml-confirmation-product-fxoption-func.rosetta:
    • MapFxOptionPayout now populates feature.knock from FpML <features><barrier> (Knockin → knockIn, Knockout → knockOut) and feature.averagingFeature from <features><asian>.
    • Barrier trigger levels carry unit / perUnitOf derived from the barrier's quotedCurrencyPair.
    • averagingFeature (AveragingCalculation) is populated. averagingMethod.isWeighted is derived from the presence of rateObservation/averageRateWeightingFactor. FpML does not carry the averaging method or rounding for FX average-rate options, so these default to Arithmetic and Nearest (market convention for FX average-rate options).
  • In ingest-fpml-confirmation-product-fxdigitaloption-func.rosetta:
    • MapFxDigitalOptionPayout now populates feature.knock from FpML <touch> (Touch → knockIn, Notouch → knockOut). Trigger levels carry unit / perUnitOf from the touch's quotedCurrencyPair.
    • The underlier is mapped as Cash in the base currency of the touch's quotedCurrencyPair, using the same convention as vanilla FX options. It is only mapped when a <touch> is present.

Qualification (product-qualification-func.rosetta)

  • New Qualify_ForeignExchange_SimpleExotic_Barrier: FX option with a knock feature, underlier and strike.
  • New Qualify_ForeignExchange_SimpleExotic_Digital: FX option with a knock feature and no strike (binary / touch).
  • New Qualify_ForeignExchange_SimpleExotic_Asian: FX option with an averaging feature, underlier and strike.
  • Qualify_ForeignExchange_VanillaOption now requires feature is absent. The averagingFeature only exists carve-out is removed, so average-rate options no longer qualify as both vanilla and Asian.

Samples / expectations

  • Regenerated 21 FX trade-state outputs across fpml-5-10, fpml-5-12 and fpml-5-13 (fx-ex12, 13, 16–22), the 5 corresponding test-pack-translate-* configs, the matching expected-output/*.diff files and the ingest diagnostics.

Documentation

  • New ingest/README-INCOMPLETE-SAMPLES.md lists the input/*incomplete-* sample folders and explains why their FpML to CDM ingestion is not yet complete.

Backwards Compatibility

Area Impact
Wire / schema None. No types or attributes added, removed or changed.
Function API Additive: three new qualification functions. No signatures changed.
Semantic / qualification Behaviour change. FX barrier options now qualify as ForeignExchange_SimpleExotic_Barrier and average-rate options as ForeignExchange_SimpleExotic_Asian; both were previously ForeignExchange_VanillaOption. FX touch / no-touch options now qualify as ForeignExchange_SimpleExotic_Digital; they previously had no ISDA label. Any FX option carrying an averagingFeature no longer qualifies as ForeignExchange_VanillaOption. Ingested FX barrier and digital options now carry feature.knock, and digital options now carry an underlier.
Expectations modelValidationFailures is unchanged for the barrier and average-rate samples. It improves by 1 (5 → 4) for the touch samples fx-ex16–19, which now have an underlier.

Review Directions

Changes can be reviewed in PR: #5247


Event Qualification Functions - Updated Qualify_FullReturn

Background

During qualification testing for trade terminations on products containing collateral (such as Repurchase Agreements), both Qualify_Termination and Qualify_FullReturn evaluated to True simultaneously.

Because Qualify_FullReturn was incorrectly evaluating the AssetPayout under the collateral portfolio path rather than the root trade product path, its criteria formed a strict superset of Qualify_Termination whenever collateral was present. This overlap caused a qualification collision resulting in a null eventQualifier.

What is being released?

  • Qualify_FullReturn (cdm.event.qualification:func): updated the AssetPayout check to target the primary trade product economics instead of the nested collateral portfolio.

Review Directions

Changes can be reviewed in PR: #5378


Build Modernization - Introduce thin Maven Profile for Minimal Runtime Distribution

Background

The current cdm-java (rosetta-source) distribution bundles a significant volume of supplemental resources into the primary runtime artifact. This results in an artifact size of approximately 65 MB in Maven Central, which leads to unnecessary memory overhead and an expanded security surface area in production and cloud-native environments.

By decoupling the core generated model logic from these supplemental files, this release provides a "thin JAR" alternative that improves deployment efficiency, reduces class-loading times, and simplifies security compliance audits.

What is being released?

  • thin Maven profile: an opt-in build configuration that generates a lean runtime artifact.
  • Secondary artifact with a Maven classifier: the thin classifier generates a secondary, lean JAR (e.g. cdm-java-thin.jar) alongside the standard distribution, ensuring full backwards compatibility for existing pipelines.
  • Targeted resource exclusions: the following resources are excluded from the thin artifact:
<excludes>
    <exclude>build-resources/**</exclude>
    <exclude>cdm-sample-files/**</exclude>
    <exclude>config/**</exclude>
    <exclude>functions/**</exclude>
    <exclude>ingest/**</exclude>
    <exclude>ingestions/**</exclude>
    <exclude>mapping-analytics/**</exclude>
    <exclude>result-json-files/**</exclude>
    <exclude>schemas/**</exclude>
    <exclude>**/rosetta/*.rosetta</exclude>
</excludes>

Backwards Compatibility

No breaking changes. The standard cdm-java artifact is unchanged; the thin artifact is an additional, opt-in output.

Review Directions

The build can be verified locally by running mvn clean install -Pthin -DskipTests. This produces both the standard JAR and the new -thin.jar artifact in the target directory and the local .m2 repository.

Changes can be reviewed in PR: #4865


Infrastructure - Dependency Licence Scan Fix and Bundle Update

Background

The dependency licence scan always passed, because it counted disallowed licences with an unquoted echo, so the count never went above one (issue #2889). This release applies the same fix already released on master (#5355) and 7.x.x (#5357).

What is being released?

  • The licence scan now checks every dependency against an allowlist in .github/license-scanning/allowed-licenses.txt, and fails on anything not on it. The allowlist accepts permissive licences (Apache 2.0, BSD, MIT, public domain, the QuickFIX Software License) and the weak-copyleft licences FINOS allows as dependencies (EPL 1.0/2.0, CDDL 1.1, MPL 2.0). A dependency passes if any of its licences is on the list.
  • On 6.x.x only, the allowlist also accepts the "Rosetta Licence" as a named exception, because cdm-java depends at compile scope on com.regnosys:ingest-test-framework, which CdmRuntimeModule uses for its JSON schema parsers. Master and 7.x.x no longer have this dependency.
  • antlr-runtime 3.2 publishes no licence in its POM, so license-overrides.xml records its BSD licence.
  • NOTICE.md now carries the acknowledgment that the QuickFIX Software License requires, since cdm-java depends on quickfixj-base through rosetta-common.
  • rosetta.bundle.version updated from 11.139.0 to 11.141.1, which stops rosetta-common exporting rune-maven-plugin at compile scope. Unlike on master and 7.x.x, the Eclipse/Xtext jars remain runtime dependencies on 6.x.x, because ingest-test-framework brings in rune-lang.

Backwards Compatibility

No breaking changes. This is a build and dependency change only, with no model changes.

Review Directions

Changes can be reviewed in PR: #5358


Infrastructure - Dependency and CVE Update

Background

This release updates the Rosetta DSL, bundle, FpML as Rune and Jackson dependencies, including a Guava CVE fix delivered through the DSL.

What is being released?

Version updates

  • DSL 9.97.4 → 9.98.0
    • 9.98.0 - Updates Jackson to 2.23.0. See release notes 9.98.0
    • 9.97.5 - Updates Guava to 33.8.0-jre to fix CVE-2026-118042. See release notes 9.97.5
  • Bundle 11.141.1 → 11.143.0 - Updates Jackson to 2.23.0, the DSL to 9.98.0 and Guava to 33.8.0-jre
  • FpML as Rune 2.14.0 → 2.16.0
    • 2.16.0 - Updates the DSL to 9.98.0, the bundle to 11.143.0, Jackson to 2.23.0 and Guava to 33.8.0-jre. See release notes 2.16.0
    • 2.15.0 - Updates the DSL to 9.97.4. See release notes 2.15.0
  • Jackson 2.18.12 → 2.23.0, so the model uses the Jackson version the DSL and bundle are built against

Backwards Compatibility

No breaking changes. There are no model changes in this section.

Review Directions

Changes can be reviewed in PRs: #5366