Advertisement
ariswb22

EVENT-FLOATING-RATE-CHANGE

Dec 16th, 2021
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.23 KB | None | 0 0
  1. {
  2.     "settings": {
  3.         "enableTrace": "true"
  4.     },
  5.     "mappingRules": [
  6.         {
  7.             "name": "ContractEventFloatingRateChange",
  8.             "description": "ContractEventFloatingRateChange",
  9.             "condition": null,
  10.             "sequence": 1,
  11.             "mappings": [
  12.                 {
  13.                     "toProperty": "OriginContractId",
  14.                     "transformations": [
  15.                         {
  16.                             "type": "Map",
  17.                             "fromProperty": "LHACCT"
  18.                         }
  19.                     ]
  20.                 },
  21.                 {
  22.                     "toProperty": "OriginSystemId",
  23.                     "transformations": [
  24.                         {
  25.                             "type": "FixedValue",
  26.                             "fromValue": "EMAS"
  27.                         }
  28.                     ]
  29.                 },
  30.                 {
  31.                     "toProperty": "OriginEventId",
  32.                     "transformations": [
  33.                         {
  34.                             "type": "FixedValue",
  35.                             "fromValue": " "
  36.                         }
  37.                     ]
  38.                 },
  39.                 {
  40.                     "toProperty": "EventType",
  41.                     "transformations": [
  42.                         {
  43.                             "type": "FixedValue",
  44.                             "fromValue": "FloatingRateChange"
  45.                         }
  46.                     ]
  47.                 },
  48.                 {
  49.                     "toProperty": "EventDate",
  50.                     "transformations": [
  51.                         {
  52.                             "type": "DateConversion",
  53.                             "fromFormat": "yyyyddd",
  54.                             "toFormat": "yyyy-MM-dd",
  55.                             "parameter": {
  56.                                 "type": "Map",
  57.                                 "fromProperty": "LHEFDT"
  58.                             }
  59.                         }
  60.                     ]
  61.                 },
  62.                 {
  63.                     "toProperty": "EffectiveDate",
  64.                     "transformations": [
  65.                         {
  66.                             "type": "DateConversion",
  67.                             "fromFormat": "yyyyddd",
  68.                             "toFormat": "yyyy-MM-dd",
  69.                             "parameter": {
  70.                                 "type": "Map",
  71.                                 "fromProperty": "LHEFDT"
  72.                             }
  73.                         }
  74.                     ]
  75.                 },
  76.                 {
  77.                     "toProperty": "OldInterestRate",
  78.                     "transformations": [
  79.                         {
  80.                             "type": "Map",
  81.                             "fromProperty": "LHORAT"
  82.                         }
  83.                     ]
  84.                 },
  85.                 {
  86.                     "toProperty": "NewInterestRate",
  87.                     "transformations": [
  88.                         {
  89.                             "type": "Map",
  90.                             "fromProperty": "LHNRAT"
  91.                         }
  92.                     ]
  93.                 }
  94.             ]
  95.         }
  96.     ]
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement