forked from finos/common-domain-model
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Story-1870 ICMA Phase 2 changes (finos#1890)
* Remove deprecated components
- Loading branch information
1 parent
399af72
commit 5be9051
Showing
599 changed files
with
10,416 additions
and
9,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,59 @@ | ||
# *Product Model - Package Price and Spread* | ||
# *ICMA Contribution - Removal of Deprecated Components* | ||
|
||
_Background_ | ||
|
||
Coverage for package price was introduced in FpML 5.13. This release allows for the mapping of package prices and spreads, and refactors `BusinessEvent` and `EventInstruction` to improve consistency. | ||
As part of ICMA's contribution to the CDM for Repo and Bonds, several model components that have been ear-marked as deprecated need to be removed. Those component are now supersded by new components from that contribution. | ||
|
||
_What is being released?_ | ||
|
||
This release adjusts the model and adds FpML mapping coverage for package prices and spreads. | ||
This release removes the following deprecated components: | ||
|
||
**Data types** | ||
|
||
- `SecurityFinancePayout` (superseded by `AssetPayout`) | ||
- `SecurityFinanceLeg` (superseded by `AssetLeg`) | ||
|
||
**Attributes** | ||
|
||
- In `Payout` and `SettlementOrigin`: `securityFinancePayout` (superseded by `assetPayout`) | ||
- In `Collateral`: `marginPercentage` (already represented within `eligibleCollateral`) | ||
- In `ProductTaxonomy`: `taxonomySource` and `taxonomyValue` (superseded by `source` and `value` in `Taxonomy` super-type) | ||
- In `AssignedIdentifier`: `identifierType` (moved to `TradeIdentifier`) | ||
|
||
**Annotations** | ||
|
||
- In `ExecutionDetails`: the `[metadata reference]` annotation for `packageReference` | ||
|
||
**Functions** | ||
|
||
In addition, the functional model has been amended as follows: | ||
|
||
- The logic previously relying on the `securityFinancePayout` attribute now uses `assetPayout` and `collateral->collateralProvisions`, including the sec-lending product and event qualification logic. The functions impacted are: | ||
|
||
- `CalculateTransfer` | ||
- `Create_SecurityTransfer` | ||
- `Create_SecurityFinanceTransfer` | ||
- `ResolveTransfer` | ||
- `SecurityFinanceCashSettlementAmount` | ||
- `Create_BillingRecord` | ||
- `ResolveSecurityFinanceBillingAmount` | ||
- `Create_AssetPayoutTradeStateWithObservations` | ||
- `Qualify_SecurityLendingAgreement` | ||
- `Qualify_Repurchase` | ||
- `Qualify_FullReturn` | ||
|
||
- The sec-lending samples and mappers have been adjusted to reflect the new structure | ||
- Function names referring to "Security Finance" have replaced it with the more generic "Asset" | ||
- Model descriptions that use the term "Security Finance Payout" have replaced it with "Asset Payout" | ||
|
||
**Other** | ||
|
||
- Various comments that were left-over from the contribution have been removed | ||
|
||
- Mappings added to populate CDM attribute `ExecutionDetails->packageReference->price` from FpML element `quote`. | ||
- `BusinessEvent` updated to extend `EventInstruction`, with all attributes (except `eventQualifier` and `after`) moved to `EventInstruction`. | ||
|
||
_Review directions_ | ||
|
||
In the CDM Portal, select the Textual Browser and inspect each of the changes identified above. | ||
In the CDM Portal, select the Textual Browser and inspect the types and functions. | ||
|
||
In the CDM Portal, select Ingestion and review the following samples: | ||
In the CDM Portal, select Ingestion and review the sample in the "fis" folder. | ||
|
||
- fpml-5-10 > processes > msg-package-price | ||
- fpml-5-10 > processes > msg-package-spread | ||
In Rosetta, select the Visualisation tab and review the event examples in the "Security Lending" folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
rosetta-source/src/main/resources/cdm-sample-files/fis/expectations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[ | ||
{"fileName":"cdm-sample-files/fis/isla1.xml","excludedPaths":0,"externalPaths":120,"outstandingMappings":10,"validationFailures":31,"qualificationExpectation":{"success":false,"qualifyResults":[{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"}],"qualifiableObjectCount":7}}] | ||
{"fileName":"cdm-sample-files/fis/isla1.xml","excludedPaths":0,"externalPaths":120,"outstandingMappings":10,"validationFailures":37,"qualificationExpectation":{"success":false,"qualifyResults":[{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"},{"qualifiedName":"SecurityLendingAgreement","qualifiedObjectClass":"cdm.product.template.EconomicTerms"}],"qualifiableObjectCount":7}}] |
Oops, something went wrong.