Salesforce Data Cloud Ingestion Common Library - Source

(0 reviews)

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.

ModuleDescription
map-ingest-api-requestMaps 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 PropertyBeacon PropertyDescription
applicationIdappIdApplication identifier
sourceTypesourceTypeSource system type
sourceIdsourceIdSource system container ID
createdDatecreatedTimeDate and time the resource was created
updatedDatemodifiedTimeDate and time the resource was updated
eventDateTimeeventTimeDate and time the event was created
changeEventTypechangeTypeType of change represented by this event
resourceIdresourceIdIdentifier of the resource in the source system container
resourceNameresourceNameName of the resource
attributesresourceStateCurrent state of the resource as determined by various attributes
resourcePathabsoluteResourcePathRelative path of the resource in the container
resourceLocationcontentLocationConsumer location (typically a full URL) of the resource content
contentTypecontentTypeMIME type of the resource content
resourceTyperesourceTypeType of resource
parentIdparentIdIdentifier of the parent of the resource
parentResourceTypeparentResourceTypeType of parent of the resource
contentVersionversionCurrent version of the resource
contentSizesizeCurrent size of the resource
contentChecksummd5ChecksumMD5 checksum of the resource content
authorNameauthorNameName of the author who created or last updated the resource
authorIdauthorIdIdentifier of the author who created or last updated the resource

(back to top)


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 17, 2024
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.6