Skip to content

Commit

Permalink
Story-2691: add instruction on how to use the download (finos#2403)
Browse files Browse the repository at this point in the history
* task-6234: add instructions on how to use the download projection of the CDM

* task-6234: add instructions on how to use the download projection of the CDM

* deploying xlsx file without zip

* removing necessary line from code fresh

* removing necessary line from code fresh

* add release Note

* task-6235: Fix Graphical image on the collateral documentation

* Update RELEASE.md

* Update RELEASE.md

---------

Co-authored-by: eacunaISDA <[email protected]>
  • Loading branch information
PayalKhanna and eacunaISDA authored Oct 3, 2023
1 parent 5272c99 commit 4b609b8
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 41 deletions.
18 changes: 5 additions & 13 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# *Product Model - Qualification - Bond Forwards*

_Background_

This release expands the coverage of the composable product qualification to include bond forwards.
# *CDM Distribution - Code Generation - CDM in Excel format*

_What is being released?_

The following function updates have been made in the `cdm.product.qualification` namespace:

- Updated `Qualify_AssetClass_InterestRate` to include Bond Forward use case
- Added `Qualify_InterestRate_Forward_Debt` to qualify when a forward payout with a debt security underlier exists, as per the ISDA Taxonomy
- Updated `Qualify_AssetClass_Equity` to include Bond Forward use case
- Added `Qualify_BaseProduct_EquityForward` to qualify a product as having the ISDA Taxonomy Asset Class classification Equity and Base Product Classification Forward
This release changes the deployed Excel code generation from a zipped folder to an .xlsx file. Instructions on the download page have been updated to be clearer for users to follow.

_Review directions_

In the CDM Portal, select the Textual Browser and inspect each of the changes identified above.
In the CDM documentation, go to Downloads (https://cdm.finos.org/docs/download/), and download CDM as Excel.

Inspect Pull Request: https://github.com/finos/common-domain-model/pull/2392
- Review the .xlsx file.
- Inspect the Pull Request: https://github.com/finos/common-domain-model/pull/2403
8 changes: 3 additions & 5 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,10 @@ steps:
- bash -c "${{GPG_IMPORT_COMMAND}}"
- cd src/generated/excel
- mv model.xlsx encoded.model.xlsx
- base64 -d encoded.model.xlsx > model.xlsx
- base64 -d encoded.model.xlsx > cdm-excel-${{RELEASE_NAME}}.xlsx
- rm encoded.model.xlsx
- cd ../
- tar -cvzf cdm-excel-${{RELEASE_NAME}}.zip excel
- ${{GEN_DEPLOY_POM_SCRIPT}} cdm-excel ${{RELEASE_NAME}} zip
- mvn gpg:sign-and-deploy-file ${{MVN_DEPLOY_FILE_FLAGS}} -Dfile=cdm-excel-${{RELEASE_NAME}}.zip -DgroupId=org.finos.cdm -DartifactId=cdm-excel -Dversion=${{RELEASE_NAME}} -DpomFile=cdm-excel-${{RELEASE_NAME}}.pom
- ${{GEN_DEPLOY_POM_SCRIPT}} cdm-excel ${{RELEASE_NAME}} xlsx
- mvn gpg:sign-and-deploy-file ${{MVN_DEPLOY_FILE_FLAGS}} -Dfile=cdm-excel-${{RELEASE_NAME}}.xlsx -DgroupId=org.finos.cdm -DartifactId=cdm-excel -Dversion=${{RELEASE_NAME}} -DpomFile=cdm-excel-${{RELEASE_NAME}}.pom

NotifySlackOnFail:
stage: 'finalise'
Expand Down
38 changes: 19 additions & 19 deletions docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,50 +42,50 @@ the CDM can be found in GitHub: [CDM GitHub Examples](https://github.com/finos/c

## CDM as Python

CDM as Python is available as a `.zip` file published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-python/versions).
CDM as Python is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-python/versions). Then click on the `Browse` button for latest version available as `.tar.gz` file .

## CDM as DAML

CDM as DAML is available as a set of `.dar` files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-daml/versions).
CDM as DAML is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-daml/versions). Then click on the `Browse` button for latest version available as `.tar.gz` file containing compiled `.dar` files.

## CDM as Scala

CDM as Scala is available as a `.jar` file published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-scala/versions).
CDM as Scala is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-scala/versions). Then click on the `Browse` button for latest version available as `.jar` file .

## CDM as C# 8.0

CDM as C# 8.0 is available as a `tar.gz` file containing compiled `.dll` files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-csharp8/versions).
CDM as C# 8.0 is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-csharp8/versions). Then click on the `Browse` button for latest version available as a `tar.gz` file containing compiled `.dll` files.

## CDM as C# 9.0

CDM as C# 9.0 is available as a `tar.gz` file containing compiled `.dll` files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-csharp9/versions).
CDM as C# 9.0 is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-csharp9/versions). Then click on the `Browse` button for latest version available as a `tar.gz` file containing compiled `.dll` files.

## CDM as Go

CDM as Go is available as a `tar.gz` file containing the `.go` files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-golang/versions).
CDM as Go is files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-golang/versions). Then click on the `Browse` button for latest version available as a `tar.gz` file containing the `.go`

## CDM as TypeScript

CDM as TypeScript is available as a `zip` file containing the `.ts` files published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-typescript/versions).
CDM as TypeScript is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-typescript/versions). Then click on the `Browse` button for latest version available as a `zip` file containing the `.ts` files .

## CDM as Kotlin

CDM as Kotlin is available as a `.jar` file published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-scala/versions).
CDM as Kotlin is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-scala/versions). Then click on the `Browse` button for latest version available as a `.jar` file.

## CDM as Excel

CDM as Excel is available as a `zip` file containing CDM Types, Attributes and Enums in a `.xlsx`file
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-excel/versions).
CDM as Excel is published
[here](https://central.sonatype.com/artifact/org.finos.cdm/cdm-excel/versions). Then click on the `Browse` button for latest version available as a `.xlsx` file containing CDM Types, Attributes and Enums.

## CDM Event Specification Module as DAML

CDM Event Specification Module as DAML is available
[here](https://github.com/digital-asset/lib-cdm-event-specification-module/versions).
[here](https://github.com/digital-asset/lib-cdm-event-specification-module).
6 changes: 2 additions & 4 deletions docs/eligible-collateral-representation.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ similar types.

An illustrative example for understanding the principle is shown here:

![image](/img/collateral-asset-identifier-tree.png){width="6.85159in"
height="3.24844in"}
![image](/img/collateral-asset-identifier-tree.png)

The CDM method for representing eligible collateral will be capable of
reference to, and inclusion in, common master and respective collateral
Expand All @@ -161,8 +160,7 @@ or CUSIP or a standard taxonomy source.
The foundational data structure from the highest level allows firstly to
represent eligibility through specification of *criteria*:

![image](/img/cdm-graphical-ecs.png){width="6.26806in"
height="1.1083in"}
![image](/img/cdm-graphical-ecs.png)

The Asset type is used to specify criteria related to the nature of the
asset, such as its type (cash, debt, equity, or other), its country of
Expand Down
Binary file modified website/static/img/cdm-graphical-ecs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4b609b8

Please sign in to comment.