Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "settings": {
- "enableTrace": false
- },
- "mappingRules": [
- {
- "name": "Counterparty stream",
- "description": "Counterparty stream",
- "condition": null,
- "sequence": 1,
- "mappings": [
- {
- "toProperty": "counterpartyId",
- "transformations": [
- {
- "type": "CounterpartyId",
- "parameters": [
- {
- "type": "Map",
- "fromProperty": "VALID_ON"
- },
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_COUNTERPARTY_REF"
- }
- }
- ]
- }
- ]
- },
- {
- "toProperty": "reportingDate",
- "transformations": [
- {
- "type": "DateConversion",
- "fromFormat": "yyyyMMdd",
- "toFormat": "yyyy-MM-dd",
- "parameter": {
- "type": "Map",
- "fromProperty": "VALID_ON",
- "comment": ""
- }
- }
- ]
- },
- {
- "toProperty": "name",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "DES_LONGNAME",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "originCounterpartyId",
- "transformations": [
- {
- "type": "Trim",
- "comment": "Removes all leading and trailing white-space characters.",
- "parameter": {
- "type": "Map",
- "fromProperty": "IDE_COUNTERPARTY_REF"
- }
- }
- ]
- },
- {
- "toProperty": "originSystemId",
- "transformations": [
- {
- "type": "FixedValue",
- "comment": "Apply fixed value to GDM_SECURITY",
- "fromValue": "GDM_COUNTERPARTY"
- }
- ]
- },
- {
- "toProperty": "counterpartyType",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "TYP_CPTY_TYPE",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "enterpriseSize",
- "transformations": [
- {
- "type": "Map",
- "fromProperty": "TYP_ENTERPRISE_SIZE",
- "comment": ""
- }
- ]
- },
- {
- "toProperty": "businessUnit",
- "transformations": [
- {
- "type": "Null",
- "comment": ""
- }
- ]
- }
- ]
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement