Skip to content

Commit

Permalink
Back ported MXN_TIIE_ON_OIS_Compound and ZAR_ZARONIA_OIS_Compound enu…
Browse files Browse the repository at this point in the history
…ms (#2896)

* Back ported MXN_TIIE_ON_OIS_Compound and ZAR_ZARONIA_OIS_Compound enums

* Fixed diff

* Update RELEASE.md

* Update RELEASE.md

* Disabled the C# Distribution

---------

Co-authored-by: JayasriR <124573358+JayasriR@users.noreply.github.com>
  • Loading branch information
minesh-s-patel and JayasriR committed May 3, 2024
1 parent 358042d commit e884de4
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 76 deletions.
14 changes: 12 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# *Event Model - Event Timestamp Qualification*
# *Floating Rate Index Reference Data model*

_Background_

Special release back porting two 2021 ISDA Interest Rate Derivatives Definitions.

_What is being released?_

The release contains the addition of an enum value `clearingReceiptDateTime` to enum `EventTimestampQualificationEnum` for the purpose of qualifying an event time stamp indicating when a cleared trade was received by the clearing body.
Updated `FloatingRateIndexEnum` type with:

* `MXN_TIIE_ON_OIS_Compound`
* `ZAR_ZARONIA_OIS_Compound`

_Review Directions_

In the CDM Portal, select the Textual Browser and inspect the changes identified above.

The changes can be reviewed in PR: [#2896](https://github.com/finos/common-domain-model/pull/2896)

148 changes: 74 additions & 74 deletions codefresh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,28 +91,28 @@ steps:
commands:
- sbt compile
- sbt package
BuildCSharp8:
stage: 'build'
title: CSharp8 build
fail_fast: false
image: mcr.microsoft.com/dotnet/core/sdk:3.1
working_directory: ./rosetta-source/target/classes/cdm/csharp8/NetStandard.2.1
shell: bash
commands:
- dotnet build Cdm/Cdm.csproj
- dotnet test Test/Test.csproj
- dotnet publish Cdm/Cdm.csproj -c release -o ./app
BuildCSharp9:
stage: 'build'
title: CSharp9 build
fail_fast: false
image: mcr.microsoft.com/dotnet/sdk:5.0
working_directory: ./rosetta-source/target/classes/cdm/csharp9/Net.5.0
shell: bash
commands:
- dotnet build Cdm/Cdm.csproj
- dotnet test Test/Test.csproj
- dotnet publish Cdm/Cdm.csproj -c release -o ./app
# BuildCSharp8:
# stage: 'build'
# title: CSharp8 build
# fail_fast: false
# image: mcr.microsoft.com/dotnet/core/sdk:3.1
# working_directory: ./rosetta-source/target/classes/cdm/csharp8/NetStandard.2.1
# shell: bash
# commands:
# - dotnet build Cdm/Cdm.csproj
# - dotnet test Test/Test.csproj
# - dotnet publish Cdm/Cdm.csproj -c release -o ./app
# BuildCSharp9:
# stage: 'build'
# title: CSharp9 build
# fail_fast: false
# image: mcr.microsoft.com/dotnet/sdk:5.0
# working_directory: ./rosetta-source/target/classes/cdm/csharp9/Net.5.0
# shell: bash
# commands:
# - dotnet build Cdm/Cdm.csproj
# - dotnet test Test/Test.csproj
# - dotnet publish Cdm/Cdm.csproj -c release -o ./app

DeployParallelTasks:
stage: 'build'
Expand Down Expand Up @@ -140,26 +140,26 @@ steps:
- cd /codefresh/volume/${{CF_REPO_NAME}}/rosetta-source/target/classes/cdm/scala/target/scala-2.12
- mv cdm-scala_2.12-0.0.0.snapshot.jar cdm-scala-${{RELEASE_NAME}}.jar
- mvn -U -s /settings.xml deploy:deploy-file -Durl=https://regnosys.jfrog.io/regnosys/libs-snapshot-local -Dfile=cdm-scala-${{RELEASE_NAME}}.jar -DrepositoryId=snapshots -DgroupId=com.isda -DartifactId=cdm-scala -Dversion=${{RELEASE_NAME}} -DgeneratePom=true
DeployCSharp8:
stage: 'build'
title: CSharp8 deploy
fail_fast: false
image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
working_directory: ./rosetta-source/target/classes/cdm/csharp8/NetStandard.2.1
shell: bash
commands:
- tar -cvzf cdm-csharp8-${{RELEASE_NAME}}.tar.gz app
- mvn -U -s /settings.xml deploy:deploy-file -Durl=https://regnosys.jfrog.io/regnosys/libs-snapshot-local -Dfile=cdm-csharp8-${{RELEASE_NAME}}.tar.gz -DrepositoryId=snapshots -DgroupId=com.isda -DartifactId=cdm-csharp8 -Dversion=${{RELEASE_NAME}} -Dpackaging=tar.gz -DgeneratePom=true
DeployCSharp9:
stage: 'build'
title: CSharp9 deploy
fail_fast: false
image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
working_directory: ./rosetta-source/target/classes/cdm/csharp9/Net.5.0
shell: bash
commands:
- tar -cvzf cdm-csharp9-${{RELEASE_NAME}}.tar.gz app
- mvn -U -s /settings.xml deploy:deploy-file -Durl=https://regnosys.jfrog.io/regnosys/libs-snapshot-local -Dfile=cdm-csharp9-${{RELEASE_NAME}}.tar.gz -DrepositoryId=snapshots -DgroupId=com.isda -DartifactId=cdm-csharp9 -Dversion=${{RELEASE_NAME}} -Dpackaging=tar.gz -DgeneratePom=true
# DeployCSharp8:
# stage: 'build'
# title: CSharp8 deploy
# fail_fast: false
# image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
# working_directory: ./rosetta-source/target/classes/cdm/csharp8/NetStandard.2.1
# shell: bash
# commands:
# - tar -cvzf cdm-csharp8-${{RELEASE_NAME}}.tar.gz app
# - mvn -U -s /settings.xml deploy:deploy-file -Durl=https://regnosys.jfrog.io/regnosys/libs-snapshot-local -Dfile=cdm-csharp8-${{RELEASE_NAME}}.tar.gz -DrepositoryId=snapshots -DgroupId=com.isda -DartifactId=cdm-csharp8 -Dversion=${{RELEASE_NAME}} -Dpackaging=tar.gz -DgeneratePom=true
# DeployCSharp9:
# stage: 'build'
# title: CSharp9 deploy
# fail_fast: false
# image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
# working_directory: ./rosetta-source/target/classes/cdm/csharp9/Net.5.0
# shell: bash
# commands:
# - tar -cvzf cdm-csharp9-${{RELEASE_NAME}}.tar.gz app
# - mvn -U -s /settings.xml deploy:deploy-file -Durl=https://regnosys.jfrog.io/regnosys/libs-snapshot-local -Dfile=cdm-csharp9-${{RELEASE_NAME}}.tar.gz -DrepositoryId=snapshots -DgroupId=com.isda -DartifactId=cdm-csharp9 -Dversion=${{RELEASE_NAME}} -Dpackaging=tar.gz -DgeneratePom=true
DeployTypeScript:
stage: 'build'
title: TypeScript deploy
Expand Down Expand Up @@ -259,27 +259,27 @@ steps:
- mvn -s /settings.xml -f scala-pom.xml versions:set -DnewVersion=${{RELEASE_NAME}}
- mvn -U -s /settings.xml -f scala-pom.xml clean deploy

DistributeCSharp8:
stage: 'distribute'
title: Maven CSharp8 distribution
fail_fast: false
image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
working_directory: ./cdm-distribution
commands:
- rm -rf /codefresh/volume/.m2/com/regnosys /codefresh/volume/.m2/com/isda
- mvn -s /settings.xml -f csharp8-pom.xml versions:set -DnewVersion=${{RELEASE_NAME}}
- mvn -U -s /settings.xml -f csharp8-pom.xml clean deploy
# DistributeCSharp8:
# stage: 'distribute'
# title: Maven CSharp8 distribution
# fail_fast: false
# image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
# working_directory: ./cdm-distribution
# commands:
# - rm -rf /codefresh/volume/.m2/com/regnosys /codefresh/volume/.m2/com/isda
# - mvn -s /settings.xml -f csharp8-pom.xml versions:set -DnewVersion=${{RELEASE_NAME}}
# - mvn -U -s /settings.xml -f csharp8-pom.xml clean deploy

DistributeCSharp9:
stage: 'distribute'
title: Maven CSharp9 distribution
fail_fast: false
image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
working_directory: ./cdm-distribution
commands:
- rm -rf /codefresh/volume/.m2/com/regnosys /codefresh/volume/.m2/com/isda
- mvn -s /settings.xml -f csharp9-pom.xml versions:set -DnewVersion=${{RELEASE_NAME}}
- mvn -U -s /settings.xml -f csharp9-pom.xml clean deploy
# DistributeCSharp9:
# stage: 'distribute'
# title: Maven CSharp9 distribution
# fail_fast: false
# image: regnosys-docker-registry.jfrog.io/regnosys/mvn-docker-build:java-11
# working_directory: ./cdm-distribution
# commands:
# - rm -rf /codefresh/volume/.m2/com/regnosys /codefresh/volume/.m2/com/isda
# - mvn -s /settings.xml -f csharp9-pom.xml versions:set -DnewVersion=${{RELEASE_NAME}}
# - mvn -U -s /settings.xml -f csharp9-pom.xml clean deploy

DistributeTypeScript:
stage: 'distribute'
Expand Down Expand Up @@ -328,13 +328,13 @@ steps:
buildReleaseFailed: steps.BuildRelease.result == 'error'
buildDamlFailed: steps.BuildDaml.result == 'error'
buildScalaFailed: steps.BuildScala.result == 'error'
buildCSharp8Failed: steps.BuildCSharp8.result == 'error'
buildCSharp9Failed: steps.BuildCSharp9.result == 'error'
# buildCSharp8Failed: steps.BuildCSharp8.result == 'error'
# buildCSharp9Failed: steps.BuildCSharp9.result == 'error'
deployDamlFailed: steps.DeployDaml.result == 'error'
deployScalaFailed: steps.DeployScala.result == 'error'
deployTypeScriptFailed: steps.DeployTypeScript.result == 'error'
deployCSharp8Failed: steps.DeployCSharp8.result == 'error'
deployCSharp9Failed: steps.DeployCSharp9.result == 'error'
# deployCSharp8Failed: steps.DeployCSharp8.result == 'error'
# deployCSharp9Failed: steps.DeployCSharp9.result == 'error'
deployGoFailed: steps.DeployGo.result == 'error'
deployKotlinFailed: steps.DeployKotlin.result == 'error'
buildJavaDocsFailed: steps.BuildJavaDocs.result == 'error'
Expand All @@ -343,8 +343,8 @@ steps:
distributeDamlFailed: steps.DistributeDaml.result == 'error'
distributeScalaFailed: steps.DistributeScala.result == 'error'
distributeTypeScriptFailed: steps.DistributeTypeScript.result == 'error'
distributeCSharp8Failed: steps.DistributeCSharp8.result == 'error'
distributeCSharp9Failed: steps.DistributeCSharp9.result == 'error'
# distributeCSharp8Failed: steps.DistributeCSharp8.result == 'error'
# distributeCSharp9Failed: steps.DistributeCSharp9.result == 'error'
distributeGoFailed: steps.DistributeGo.result == 'error'
distributeKotlinFailed: steps.DistributeKotlin.result == 'error'
distributeJavaDocsFailed: steps.DistributeJavaDocs.result == 'error'
Expand All @@ -370,13 +370,13 @@ steps:
releaseBuildFailure: steps.BuildRelease.result == 'failure'
damlBuildFailure: steps.BuildDaml.result == 'failure'
scalaBuildFailure: steps.BuildScala.result == 'failure'
cSharp8BuildFailure: steps.BuildCSharp8.result == 'failure'
cSharp9BuildFailure: steps.BuildCSharp9.result == 'failure'
# cSharp8BuildFailure: steps.BuildCSharp8.result == 'failure'
# cSharp9BuildFailure: steps.BuildCSharp9.result == 'failure'
damlDeployFailure: steps.DeployDaml.result == 'failure'
scalaDeployFailure: steps.DeployScala.result == 'failure'
typeScriptDeployFailure: steps.DeployTypeScript.result == 'failure'
cSharp8DeployFailure: steps.DeployCSharp8.result == 'failure'
cSharp9DeployFailure: steps.DeployCSharp9.result == 'failure'
# cSharp8DeployFailure: steps.DeployCSharp8.result == 'failure'
# cSharp9DeployFailure: steps.DeployCSharp9.result == 'failure'
goDeployFailure: steps.DeployGo.result == 'failure'
kotlinDeployFailure: steps.DeployKotlin.result == 'failure'
javaDocsBuildFailure: steps.BuildJavaDocs.result == 'failure'
Expand All @@ -385,8 +385,8 @@ steps:
distributeDamlFailure: steps.DistributeDaml.result == 'failure'
distributeScalaFailure: steps.DistributeScala.result == 'failure'
distributeTypeScriptFailure: steps.DistributeTypeScript.result == 'failure'
distributeCSharp8Failure: steps.DistributeCSharp8.result == 'failure'
distributeCSharp9Failure: steps.DistributeCSharp9.result == 'failure'
# distributeCSharp8Failure: steps.DistributeCSharp8.result == 'failure'
# distributeCSharp9Failure: steps.DistributeCSharp9.result == 'failure'
distributeGoFailure: steps.DistributeGo.result == 'failure'
distributeKotlinFailure: steps.DistributeKotlin.result == 'failure'
distributeJavaDocsFailure: steps.DistributeJavaDocs.result == 'failure'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,9 @@ enum FloatingRateIndexEnum: <"The enumerated values to specify the list of float
ZAR_Quarterly_Swap_Rate_1_00_TRADITION displayName "ZAR-Quarterly Swap Rate-1:00-TRADITION" <"Per 2006 ISDA Definitions or Annex to the 2000 ISDA Definitions, Section 7.1 Rate Options, as amended and supplemented through the date on which parties enter into the relevant transaction.">
ZAR_Quarterly_Swap_Rate_5_30_TRADITION displayName "ZAR-Quarterly Swap Rate-5:30-TRADITION" <"Per 2006 ISDA Definitions or Annex to the 2000 ISDA Definitions, Section 7.1 Rate Options, as amended and supplemented through the date on which parties enter into the relevant transaction.">
ZAR_Quarterly_Swap_Rate_TRADITION_Reference_Banks displayName "ZAR-Quarterly Swap Rate-TRADITION-Reference Banks" <"Per 2006 ISDA Definitions or Annex to the 2000 ISDA Definitions, Section 7.1 Rate Options, as amended and supplemented through the date on which parties enter into the relevant transaction.">
MXN_TIIE_ON_OIS_Compound displayName "MXN-TIIE ON-OIS Compound" <"Per 2021 ISDA Interest Rate Derivatives Definitions Floating Rate Matrix, as amended through the date on which parties enter into the relevant transaction.">
ZAR_ZARONIA_OIS_Compound displayName "ZAR-ZARONIA-OIS Compound" <"Per 2021 ISDA Interest Rate Derivatives Definitions Floating Rate Matrix, as amended through the date on which parties enter into the relevant transaction.">


enum InflationRateIndexEnum: <"The enumerated values to specify the list of inflation rate indices.">
[docReference ISDA FpML_Coding_Scheme schemeLocation "http://www.fpml.org/coding-scheme/inflation-index-description"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

@ExtendWith(InjectionExtension.class)
@InjectWith(SchemeImportInjectorProvider.class)
@org.junit.jupiter.api.Disabled("Disabled as the schemes have been manually updated for a production patch")
class SchemeImporterTest {
private static final boolean WRITE_TEST_OUTPUT = Optional.ofNullable(System.getenv("WRITE_EXPECTATIONS"))
.map(Boolean::parseBoolean).orElse(false);
Expand Down

0 comments on commit e884de4

Please sign in to comment.