Skip to content

Commit df32b3f

Browse files
authored
Merge pull request #96 from rosetta-models/dev-7-flattened-fpml-2-update
Update FpML
2 parents 07cf2cb + 4464e87 commit df32b3f

11 files changed

Lines changed: 120 additions & 34 deletions

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
<!-- release version is overridden in rosetta-source -->
8282
<maven.compiler.release>11</maven.compiler.release>
8383

84-
<rune-fpml.version>3.0.0</rune-fpml.version>
85-
<rosetta.dsl.version>10.0.0-dev.8</rosetta.dsl.version>
86-
<rosetta.bundle.version>12.0.0-dev.9</rosetta.bundle.version>
84+
<rune-fpml.version>3.1.0</rune-fpml.version>
85+
<rosetta.dsl.version>10.0.0-dev.10</rosetta.dsl.version>
86+
<rosetta.bundle.version>12.0.0-dev.10</rosetta.bundle.version>
8787
<rosetta.code-gen.version>${rosetta.bundle.version}</rosetta.code-gen.version>
8888

8989
<xtext.version>2.38.0</xtext.version>

rosetta-source/src/main/resources/ingest/config/test-pack-translate-fpml-confirmation-to-trade-state-fpml-5-12-products-rates.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@
250250
"inputPath" : "ingest/input/fpml-5-12-products-rates/ird-ex32-zero-coupon-swap-normal-rate.xml",
251251
"outputPath" : "ingest/output/fpml-confirmation-to-trade-state/fpml-5-12-products-rates/ird-ex32-zero-coupon-swap-normal-rate.json",
252252
"assertions" : {
253-
"inputPathCount" : 149,
254-
"outputPathCount" : 137,
253+
"inputPathCount" : 153,
254+
"outputPathCount" : 141,
255255
"modelValidationFailures" : 4,
256256
"runtimeError" : false
257257
}

rosetta-source/src/main/resources/ingest/config/test-pack-translate-fpml-confirmation-to-trade-state-fpml-5-13-products-inflation-swaps.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
"inputPath" : "ingest/input/fpml-5-13-products-inflation-swaps/inflation-swap-ex06-zc.xml",
108108
"outputPath" : "ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-inflation-swaps/inflation-swap-ex06-zc.json",
109109
"assertions" : {
110-
"inputPathCount" : 140,
111-
"outputPathCount" : 120,
110+
"inputPathCount" : 150,
111+
"outputPathCount" : 130,
112112
"modelValidationFailures" : 14,
113113
"runtimeError" : false
114114
}

rosetta-source/src/main/resources/ingest/config/test-pack-translate-fpml-confirmation-to-trade-state-fpml-5-13-products-interest-rate-derivatives.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@
448448
"inputPath" : "ingest/input/fpml-5-13-products-interest-rate-derivatives/ird-ex32-zero-coupon-swap-normal-rate.xml",
449449
"outputPath" : "ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-interest-rate-derivatives/ird-ex32-zero-coupon-swap-normal-rate.json",
450450
"assertions" : {
451-
"inputPathCount" : 149,
452-
"outputPathCount" : 137,
451+
"inputPathCount" : 153,
452+
"outputPathCount" : 141,
453453
"modelValidationFailures" : 4,
454454
"runtimeError" : false
455455
}
@@ -503,8 +503,8 @@
503503
"inputPath" : "ingest/input/fpml-5-13-products-interest-rate-derivatives/ird-ex37-zero-coupon-swap-known-amount-schedule.xml",
504504
"outputPath" : "ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-interest-rate-derivatives/ird-ex37-zero-coupon-swap-known-amount-schedule.json",
505505
"assertions" : {
506-
"inputPathCount" : 160,
507-
"outputPathCount" : 143,
506+
"inputPathCount" : 164,
507+
"outputPathCount" : 147,
508508
"modelValidationFailures" : 4,
509509
"runtimeError" : false
510510
}

rosetta-source/src/main/resources/ingest/config/test-pack-translate-fpml-confirmation-to-workflow-step-fpml-5-13-incomplete-processes-execution-advice.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"inputPath" : "ingest/input/fpml-5-13-incomplete-processes-execution-advice/msg-ex100-execution-advice-trs-partial-termination.xml",
99
"outputPath" : "ingest/output/fpml-confirmation-to-workflow-step/fpml-5-13-incomplete-processes-execution-advice/msg-ex100-execution-advice-trs-partial-termination.json",
1010
"assertions" : {
11-
"inputPathCount" : 72,
11+
"inputPathCount" : 75,
1212
"outputPathCount" : 40,
1313
"modelValidationFailures" : 6,
1414
"runtimeError" : false
@@ -74,8 +74,8 @@
7474
"inputPath" : "ingest/input/fpml-5-13-incomplete-processes-execution-advice/msg-ex68-execution-advice-warrant.xml",
7575
"outputPath" : "ingest/output/fpml-confirmation-to-workflow-step/fpml-5-13-incomplete-processes-execution-advice/msg-ex68-execution-advice-warrant.json",
7676
"assertions" : {
77-
"inputPathCount" : 71,
78-
"outputPathCount" : 39,
77+
"inputPathCount" : 74,
78+
"outputPathCount" : 42,
7979
"modelValidationFailures" : 4,
8080
"runtimeError" : false
8181
}

rosetta-source/src/main/resources/ingest/output/fpml-confirmation-to-trade-state/fpml-5-12-products-rates/ird-ex32-zero-coupon-swap-normal-rate.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@
498498
"externalReference" : "tradeSource"
499499
},
500500
"assignedIdentifier" : [ {
501+
"identifier" : {
502+
"value" : "1-2",
503+
"meta" : {
504+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
505+
}
506+
}
507+
}, {
501508
"identifier" : {
502509
"value" : "11111111",
503510
"meta" : {
@@ -506,7 +513,7 @@
506513
}
507514
} ],
508515
"meta" : {
509-
"globalKey" : "6e3e4581"
516+
"globalKey" : "80748ff5"
510517
}
511518
}, {
512519
"issuerReference" : {
@@ -530,6 +537,13 @@
530537
"externalReference" : "clearingDCO"
531538
},
532539
"assignedIdentifier" : [ {
540+
"identifier" : {
541+
"value" : "LCH00000000001",
542+
"meta" : {
543+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
544+
}
545+
}
546+
}, {
533547
"identifier" : {
534548
"value" : "STM",
535549
"meta" : {
@@ -538,7 +552,7 @@
538552
}
539553
} ],
540554
"meta" : {
541-
"globalKey" : "67d19311"
555+
"globalKey" : "5683d2c7"
542556
}
543557
}, {
544558
"issuer" : {
@@ -730,10 +744,10 @@
730744
}
731745
},
732746
"meta" : {
733-
"globalKey" : "33cdbef1"
747+
"globalKey" : "624767"
734748
}
735749
},
736750
"meta" : {
737-
"globalKey" : "33cdbef1"
751+
"globalKey" : "624767"
738752
}
739753
}

rosetta-source/src/main/resources/ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-inflation-swaps/inflation-swap-ex06-zc.json

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@
401401
"externalReference" : "tradeSource"
402402
},
403403
"assignedIdentifier" : [ {
404+
"identifier" : {
405+
"value" : "1",
406+
"meta" : {
407+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
408+
}
409+
}
410+
}, {
404411
"identifier" : {
405412
"value" : "12345678",
406413
"meta" : {
@@ -409,7 +416,7 @@
409416
}
410417
} ],
411418
"meta" : {
412-
"globalKey" : "a6ba5d85"
419+
"globalKey" : "b629afd4"
413420
}
414421
}, {
415422
"issuerReference" : {
@@ -449,6 +456,34 @@
449456
"externalReference" : "clearingDCO"
450457
},
451458
"assignedIdentifier" : [ {
459+
"identifier" : {
460+
"value" : "LCH00000000001",
461+
"meta" : {
462+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
463+
}
464+
}
465+
}, {
466+
"identifier" : {
467+
"value" : "11111111",
468+
"meta" : {
469+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/group-id"
470+
}
471+
}
472+
}, {
473+
"identifier" : {
474+
"value" : "12",
475+
"meta" : {
476+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/group-size"
477+
}
478+
}
479+
}, {
480+
"identifier" : {
481+
"value" : "1111111",
482+
"meta" : {
483+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/link-id"
484+
}
485+
}
486+
}, {
452487
"identifier" : {
453488
"value" : "STM",
454489
"meta" : {
@@ -457,7 +492,7 @@
457492
}
458493
} ],
459494
"meta" : {
460-
"globalKey" : "67d19311"
495+
"globalKey" : "c33bf23"
461496
}
462497
}, {
463498
"issuer" : {
@@ -651,10 +686,10 @@
651686
}
652687
},
653688
"meta" : {
654-
"globalKey" : "7c565b76"
689+
"globalKey" : "26f81193"
655690
}
656691
},
657692
"meta" : {
658-
"globalKey" : "7c565b76"
693+
"globalKey" : "26f81193"
659694
}
660695
}

rosetta-source/src/main/resources/ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-interest-rate-derivatives/ird-ex32-zero-coupon-swap-normal-rate.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@
498498
"externalReference" : "tradeSource"
499499
},
500500
"assignedIdentifier" : [ {
501+
"identifier" : {
502+
"value" : "1-2",
503+
"meta" : {
504+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
505+
}
506+
}
507+
}, {
501508
"identifier" : {
502509
"value" : "11111111",
503510
"meta" : {
@@ -506,7 +513,7 @@
506513
}
507514
} ],
508515
"meta" : {
509-
"globalKey" : "6e3e4581"
516+
"globalKey" : "80748ff5"
510517
}
511518
}, {
512519
"issuerReference" : {
@@ -530,6 +537,13 @@
530537
"externalReference" : "clearingDCO"
531538
},
532539
"assignedIdentifier" : [ {
540+
"identifier" : {
541+
"value" : "LCH00000000001",
542+
"meta" : {
543+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
544+
}
545+
}
546+
}, {
533547
"identifier" : {
534548
"value" : "STM",
535549
"meta" : {
@@ -538,7 +552,7 @@
538552
}
539553
} ],
540554
"meta" : {
541-
"globalKey" : "67d19311"
555+
"globalKey" : "5683d2c7"
542556
}
543557
}, {
544558
"issuer" : {
@@ -730,10 +744,10 @@
730744
}
731745
},
732746
"meta" : {
733-
"globalKey" : "33cdbef1"
747+
"globalKey" : "624767"
734748
}
735749
},
736750
"meta" : {
737-
"globalKey" : "33cdbef1"
751+
"globalKey" : "624767"
738752
}
739753
}

rosetta-source/src/main/resources/ingest/output/fpml-confirmation-to-trade-state/fpml-5-13-products-interest-rate-derivatives/ird-ex37-zero-coupon-swap-known-amount-schedule.json

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,13 @@
478478
"externalReference" : "tradeSource"
479479
},
480480
"assignedIdentifier" : [ {
481+
"identifier" : {
482+
"value" : "1-2",
483+
"meta" : {
484+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
485+
}
486+
}
487+
}, {
481488
"identifier" : {
482489
"value" : "11111111",
483490
"meta" : {
@@ -486,7 +493,7 @@
486493
}
487494
} ],
488495
"meta" : {
489-
"globalKey" : "6e3e4581"
496+
"globalKey" : "80748ff5"
490497
}
491498
}, {
492499
"issuerReference" : {
@@ -526,6 +533,13 @@
526533
"externalReference" : "clearingDCO"
527534
},
528535
"assignedIdentifier" : [ {
536+
"identifier" : {
537+
"value" : "LCH00000000001",
538+
"meta" : {
539+
"scheme" : "http://www.lchclearnet.com/clearlink/coding-scheme/trade-id"
540+
}
541+
}
542+
}, {
529543
"identifier" : {
530544
"value" : "STM",
531545
"meta" : {
@@ -534,7 +548,7 @@
534548
}
535549
} ],
536550
"meta" : {
537-
"globalKey" : "67d19311"
551+
"globalKey" : "5683d2c7"
538552
}
539553
}, {
540554
"issuer" : {
@@ -726,10 +740,10 @@
726740
}
727741
},
728742
"meta" : {
729-
"globalKey" : "7f522a17"
743+
"globalKey" : "a726ebfb"
730744
}
731745
},
732746
"meta" : {
733-
"globalKey" : "7f522a17"
747+
"globalKey" : "a726ebfb"
734748
}
735749
}

rosetta-source/src/main/resources/ingest/output/fpml-confirmation-to-workflow-step/fpml-5-13-incomplete-processes-execution-advice/msg-ex68-execution-advice-warrant.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@
1212
"externalReference" : "ABC"
1313
},
1414
"assignedIdentifier" : [ {
15+
"identifier" : {
16+
"value" : "1234512345",
17+
"meta" : {
18+
"scheme" : "http://www.abcbank.com/coding-scheme/front-office/trade-id"
19+
}
20+
},
21+
"version" : 1
22+
}, {
1523
"identifier" : {
1624
"value" : "4853560",
1725
"meta" : {
@@ -21,7 +29,7 @@
2129
"version" : 1
2230
} ],
2331
"meta" : {
24-
"globalKey" : "ec378e96"
32+
"globalKey" : "5c0cc9d5"
2533
}
2634
} ],
2735
"tradeDate" : {
@@ -139,11 +147,11 @@
139147
}
140148
} ],
141149
"meta" : {
142-
"globalKey" : "1d6a6921"
150+
"globalKey" : "d9933960"
143151
}
144152
},
145153
"meta" : {
146-
"globalKey" : "1d6a6921"
154+
"globalKey" : "d9933960"
147155
}
148156
}
149157
}
@@ -182,6 +190,6 @@
182190
} ],
183191
"action" : "New",
184192
"meta" : {
185-
"globalKey" : "86e09598"
193+
"globalKey" : "9ddb9a57"
186194
}
187195
}

0 commit comments

Comments
 (0)