Skip to content

Instantly share code, notes, and snippets.

@chirino
Created April 21, 2017 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chirino/5c4ab5e4921de99685527384b2850351 to your computer and use it in GitHub Desktop.
Save chirino/5c4ab5e4921de99685527384b2850351 to your computer and use it in GitHub Desktop.
{
"AtlasMapping": {
"jsonType": "com.mediadriver.atlas.v2.AtlasMapping",
"fieldMappings": {
"fieldMapping": [
{
"jsonType": "com.mediadriver.atlas.v2.MapFieldMapping",
"inputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": []
},
"name": "text",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getText",
"primitive": true,
"array": false,
"synthetic": false,
"path": "Text"
},
"fieldActions": null
},
"outputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": [
"PRIVATE"
]
},
"name": "Description",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getDescription",
"setMethod": "setDescription",
"primitive": true,
"array": false,
"synthetic": false,
"path": "Description"
},
"fieldActions": null
}
},
{
"jsonType": "com.mediadriver.atlas.v2.MapFieldMapping",
"inputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": []
},
"name": "email",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getEmail",
"primitive": true,
"array": false,
"synthetic": false,
"path": "User.Email"
},
"fieldActions": null
},
"outputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": [
"PRIVATE"
]
},
"name": "Email",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getEmail",
"setMethod": "setEmail",
"primitive": true,
"array": false,
"synthetic": false,
"path": "Email"
},
"fieldActions": null
}
},
{
"jsonType": "com.mediadriver.atlas.v2.MapFieldMapping",
"inputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": []
},
"name": "name",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getName",
"primitive": true,
"array": false,
"synthetic": false,
"path": "User.Name"
},
"fieldActions": null
},
"outputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": [
"PRIVATE"
]
},
"name": "FirstName",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getFirstName",
"setMethod": "setFirstName",
"primitive": true,
"array": false,
"synthetic": false,
"path": "FirstName"
},
"fieldActions": null
}
},
{
"jsonType": "com.mediadriver.atlas.v2.MapFieldMapping",
"inputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": []
},
"name": "screenName",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getScreenName",
"primitive": true,
"array": false,
"synthetic": false,
"path": "User.ScreenName"
},
"fieldActions": null
},
"outputField": {
"jsonType": "com.mediadriver.atlas.v2.MappedField",
"field": {
"jsonType": "com.mediadriver.atlas.java.v2.JavaField",
"status": "SUPPORTED",
"modifiers": {
"modifier": [
"PRIVATE"
]
},
"name": "TwitterScreenName__c",
"className": "java.lang.String",
"type": "STRING",
"getMethod": "getTwitterScreenName__c",
"setMethod": "setTwitterScreenName__c",
"primitive": true,
"array": false,
"synthetic": false,
"path": "TwitterScreenName__c"
},
"fieldActions": null
}
}
]
},
"name": "UI.741719",
"sourceUri": "atlas:java?className=twitter4j.Status",
"targetUri": "atlas:java?className=com.redhat.ipaas.connector.salesforce.Contact",
"lookupTables": {
"lookupTable": []
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment