Skip to content

Commit b498a1c

Browse files
Update function expectations
1 parent e9aebf0 commit b498a1c

File tree

3 files changed

+66
-60
lines changed

3 files changed

+66
-60
lines changed

rosetta-source/src/main/resources/cdm-sample-files/functions/fpml-5-10/processes/msg-partial-termination-func-output.json

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,24 @@
2222
} ]
2323
}
2424
} ],
25+
"effectiveDate" : {
26+
"adjustableDate" : {
27+
"adjustedDate" : {
28+
"value" : "2011-06-03",
29+
"meta" : {
30+
"globalKey" : "3ed983"
31+
}
32+
},
33+
"meta" : {
34+
"globalKey" : "0"
35+
}
36+
},
37+
"meta" : {
38+
"globalKey" : "0"
39+
}
40+
},
2541
"meta" : {
26-
"globalKey" : "280b774f"
42+
"globalKey" : "530adf8f"
2743
}
2844
} ],
2945
"direction" : "Replace"
@@ -1448,11 +1464,11 @@
14481464
}
14491465
} ],
14501466
"meta" : {
1451-
"globalKey" : "9d55e4c5"
1467+
"globalKey" : "78ee7405"
14521468
}
14531469
},
14541470
"previousWorkflowStep" : {
1455-
"globalReference" : "22b0c59d"
1471+
"globalReference" : "db4cb4dd"
14561472
},
14571473
"messageInformation" : {
14581474
"messageId" : {
@@ -1592,6 +1608,6 @@
15921608
}
15931609
} ],
15941610
"meta" : {
1595-
"globalKey" : "a1ceb50e"
1611+
"globalKey" : "4115fdce"
15961612
}
15971613
}

rosetta-source/src/main/resources/cdm-sample-files/functions/fpml-5-10/processes/msg-partial-termination-xccy-func-output.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,24 @@
2222
} ]
2323
}
2424
} ],
25+
"effectiveDate" : {
26+
"adjustableDate" : {
27+
"adjustedDate" : {
28+
"value" : "2011-06-03",
29+
"meta" : {
30+
"globalKey" : "3ed983"
31+
}
32+
},
33+
"meta" : {
34+
"globalKey" : "0"
35+
}
36+
},
37+
"meta" : {
38+
"globalKey" : "0"
39+
}
40+
},
2541
"meta" : {
26-
"globalKey" : "a104e1c2"
42+
"globalKey" : "73537942"
2743
}
2844
}, {
2945
"quantity" : [ {
@@ -42,8 +58,24 @@
4258
} ]
4359
}
4460
} ],
61+
"effectiveDate" : {
62+
"adjustableDate" : {
63+
"adjustedDate" : {
64+
"value" : "2011-06-03",
65+
"meta" : {
66+
"globalKey" : "3ed983"
67+
}
68+
},
69+
"meta" : {
70+
"globalKey" : "0"
71+
}
72+
},
73+
"meta" : {
74+
"globalKey" : "0"
75+
}
76+
},
4577
"meta" : {
46-
"globalKey" : "3cb1ee97"
78+
"globalKey" : "d7f0a4d7"
4779
}
4880
} ],
4981
"direction" : "Replace"
@@ -816,11 +848,11 @@
816848
}
817849
} ],
818850
"meta" : {
819-
"globalKey" : "34fe7059"
851+
"globalKey" : "22df1019"
820852
}
821853
},
822854
"previousWorkflowStep" : {
823-
"globalReference" : "c3217eeb"
855+
"globalReference" : "c05f672b"
824856
},
825857
"messageInformation" : {
826858
"messageId" : {
@@ -980,6 +1012,6 @@
9801012
}
9811013
} ],
9821014
"meta" : {
983-
"globalKey" : "7cda9dd"
1015+
"globalKey" : "bc75399d"
9841016
}
9851017
}

rosetta-source/src/main/resources/cdm-sample-files/functions/fpml-5-10/processes/msg-partial-termination-xccy-swap-func-output.json

Lines changed: 9 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,6 @@
55
"instruction" : [ {
66
"primitiveInstruction" : {
77
"quantityChange" : {
8-
"change" : [ {
9-
"quantity" : [ {
10-
"value" : {
11-
"value" : 4000000,
12-
"unit" : {
13-
"currency" : {
14-
"value" : "USD"
15-
}
16-
}
17-
},
18-
"meta" : {
19-
"location" : [ {
20-
"scope" : "DOCUMENT",
21-
"value" : "quantity-2"
22-
} ]
23-
}
24-
} ],
25-
"meta" : {
26-
"globalKey" : "9326c48e"
27-
}
28-
}, {
29-
"quantity" : [ {
30-
"value" : {
31-
"value" : 400000000,
32-
"unit" : {
33-
"currency" : {
34-
"value" : "JPY"
35-
}
36-
}
37-
},
38-
"meta" : {
39-
"location" : [ {
40-
"scope" : "DOCUMENT",
41-
"value" : "quantity-1"
42-
} ]
43-
}
44-
} ],
45-
"meta" : {
46-
"globalKey" : "237b44c1"
47-
}
48-
} ],
498
"direction" : "Replace"
509
},
5110
"transfer" : {
@@ -835,7 +794,6 @@
835794
}
836795
}
837796
} ],
838-
"eventQualifier" : "PartialTermination",
839797
"after" : [ {
840798
"trade" : {
841799
"product" : {
@@ -1207,7 +1165,7 @@
12071165
"priceQuantity" : [ {
12081166
"quantity" : [ {
12091167
"value" : {
1210-
"value" : 4000000,
1168+
"value" : 10000000,
12111169
"unit" : {
12121170
"currency" : {
12131171
"value" : "USD"
@@ -1262,7 +1220,7 @@
12621220
}
12631221
},
12641222
"meta" : {
1265-
"globalKey" : "6eeb1e8d"
1223+
"globalKey" : "93f1bdc2"
12661224
}
12671225
}, {
12681226
"price" : [ {
@@ -1289,7 +1247,7 @@
12891247
} ],
12901248
"quantity" : [ {
12911249
"value" : {
1292-
"value" : 400000000,
1250+
"value" : 1000000000,
12931251
"unit" : {
12941252
"currency" : {
12951253
"value" : "JPY"
@@ -1304,7 +1262,7 @@
13041262
}
13051263
} ],
13061264
"meta" : {
1307-
"globalKey" : "4cd34c72"
1265+
"globalKey" : "ce3ac9dd"
13081266
}
13091267
} ]
13101268
} ],
@@ -1474,7 +1432,7 @@
14741432
}
14751433
} ],
14761434
"meta" : {
1477-
"globalKey" : "7d4f5ce0"
1435+
"globalKey" : "1eedef80"
14781436
}
14791437
},
14801438
"transferHistory" : [ {
@@ -1614,15 +1572,15 @@
16141572
}
16151573
} ],
16161574
"meta" : {
1617-
"globalKey" : "2e03c62f"
1575+
"globalKey" : "eac1878f"
16181576
}
16191577
} ],
16201578
"meta" : {
1621-
"globalKey" : "ab6755a1"
1579+
"globalKey" : "95323b54"
16221580
}
16231581
},
16241582
"previousWorkflowStep" : {
1625-
"globalReference" : "f4cf6806"
1583+
"globalReference" : "457d32d9"
16261584
},
16271585
"messageInformation" : {
16281586
"messageId" : {
@@ -1762,6 +1720,6 @@
17621720
}
17631721
} ],
17641722
"meta" : {
1765-
"globalKey" : "238e7cb2"
1723+
"globalKey" : "efa1e99f"
17661724
}
17671725
}

0 commit comments

Comments
 (0)