MFG RedShift Machine Data System API - Implementation Template

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.

createMachineDataRequest

Source: ./src/main/resources/dwl/createMachineDataRequest.dwl

Mapping Tables

Redshift Machine Data Create request mapping.

Redshift FieldCreate machine data CIM RequestDescription
Machine_IdmachineIdmachine Id details
Maintenance_Reasonreasonreason for maintenance
Created_ByauditInfo.createdBycreated by details
Updated_ByauditInfo.updatedByupdated by details
Locationlocationname of the location
Sourcesourcesource of the machine data
Temperaturetemperaturetemperature of the device
Temp_DegreetempUnitunits of the temperature
Oil_LeveloilLevellevel of the oil in numbers
Oil_UnitoilUnitunit of the oil
Noise_LevelnoiseLevellevel of the noise in numbers
Noise_UnitnoiseUnitunit of the noise
Vibration_DeltavibrationDeltavalue of the vibration in numbers
Vibration_UnitvibrationUnitunits of the vibration
Commentscommentscomments on the machine data
Maintenance_StatusmaintenanceStatusstatus of the maintenance

(back to top)

getMachineDataResponse

Source: ./src/main/resources/dwl/getMachineDataResponse.dwl

Mapping Tables

Get Redshift Machine Data Response mapping.

CIM Fieldmachine data response fieldDescription
machineIdMachine_Idmachine Id details
nameMachine_Idmachine Id details
temperaturetemperaturetemperature of the device
tempUnittemp_degreeunits of the temperature
oilLeveloil_levellevel of the oil in numbers
oilUnitoil_unitunit of the oil
noiseLevelnoise_levellevel of the noise in numbers
noiseUnitnoise_unitunit of the noise
vibrationDeltavibration_deltavalue of the vibration in numbers
vibrationUnitvibration_unitunits of the vibration
reasonMaintenance_Reasonreason for maintenance
auditInfo.createdByCreatedByIdCreatedBy Id
auditInfo.updatedByLastModifiedByIdUpdatedBy Id
auditInfo.updatedDateLastModifiedDateUpdated Date
auditInfo.createdDateCreatedDateCreated Date
LocationLocationname of the location
sourcesourcesource of the machine data
commentscommentscomments on the machine data
maintenanceStatusmaintenance_statusstatus of the maintenance

(back to top)

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onSep 9, 2022
Asset overview

Asset versions for 1.0.x

Asset versions
VersionActions
1.0.0