Salesforce Data Cloud Ingestion Common Library - Source
Data mappings
This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.
Module | Description |
---|---|
map-ingest-api-request | Maps a canonical resource event to the Beacon API event structure. |
map-ingest-api-request
Maps a canonical resource event to the Beacon API event structure.
Source:
./src/main/resources/dwl/map-ingest-api-request.dwl
Functions
fun mapResourceState (resource)
Map resource state based on attribute flags of the entry.
Mapping Tables
Maps an array of resource events to the Beacon API format.
Canonical Property | Beacon Property | Description |
---|---|---|
applicationId | appId | Application identifier |
sourceType | sourceType | Source system type |
sourceId | sourceId | Source system container ID |
createdDate | createdTime | Date and time the resource was created |
updatedDate | modifiedTime | Date and time the resource was updated |
eventDateTime | eventTime | Date and time the event was created |
changeEventType | changeType | Type of change represented by this event |
resourceId | resourceId | Identifier of the resource in the source system container |
resourceName | resourceName | Name of the resource |
attributes | resourceState | Current state of the resource as determined by various attributes |
resourcePath | absoluteResourcePath | Relative path of the resource in the container |
resourceLocation | contentLocation | Consumer location (typically a full URL) of the resource content |
contentType | contentType | MIME type of the resource content |
resourceType | resourceType | Type of resource |
parentId | parentId | Identifier of the parent of the resource |
parentResourceType | parentResourceType | Type of parent of the resource |
contentVersion | version | Current version of the resource |
contentSize | size | Current size of the resource |
contentChecksum | md5Checksum | MD5 checksum of the resource content |
authorName | authorName | Name of the author who created or last updated the resource |
authorId | authorId | Identifier of the author who created or last updated the resource |