-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e7b024
commit 61f63a6
Showing
24 changed files
with
2,342 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ | |
"**/.sfdx": true | ||
}, | ||
"salesforcedx-vscode-core.show-cli-success-msg": false, | ||
"vlocity.sfdxUsername": "[email protected]", | ||
"vlocity.projectPath": "/Users/tnascimento/dev/enablement-sessions-orgdevmode/datapacks", | ||
"vlocity.sfdxUsername": "[email protected]", | ||
"vlocity.projectPath": "/Users/fschiozer/Documents/Training/CICD/enablement-sessions-orgdevmode/datapacks", | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
|
50 changes: 50 additions & 0 deletions
50
...ataRaptor/sampleGetAccountDetailsDRExtract/sampleGetAccountDetailsDRExtract_DataPack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"%vlocity_namespace%__BatchSize__c": 200, | ||
"%vlocity_namespace%__CheckFieldLevelSecurity__c": false, | ||
"%vlocity_namespace%__CustomInputClass__c": "", | ||
"%vlocity_namespace%__CustomOutputClass__c": "", | ||
"%vlocity_namespace%__DRMapItem__c": "sampleGetAccountDetailsDRExtract_Mappings.json", | ||
"%vlocity_namespace%__DRMapName__c": "sampleGetAccountDetailsDRExtract", | ||
"%vlocity_namespace%__DeleteOnSuccess__c": false, | ||
"%vlocity_namespace%__Description__c": "Simple single record extract. Notice the AccountId is returned even though it was used in the extract step.", | ||
"%vlocity_namespace%__GlobalKey__c": "9d129e38-b753-27a0-e7be-ea502b01038a", | ||
"%vlocity_namespace%__IgnoreErrors__c": false, | ||
"%vlocity_namespace%__InputCustom__c": "", | ||
"%vlocity_namespace%__InputJson__c": "", | ||
"%vlocity_namespace%__InputType__c": "JSON", | ||
"%vlocity_namespace%__InputXml__c": "", | ||
"%vlocity_namespace%__InterfaceObject__c": "json", | ||
"%vlocity_namespace%__IsDefaultForInterface__c": false, | ||
"%vlocity_namespace%__IsProcessSuperBulk__c": false, | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__OuboundStagingObjectDataField__c": "", | ||
"%vlocity_namespace%__OutboundConfigurationField__c": "", | ||
"%vlocity_namespace%__OutboundConfigurationName__c": "", | ||
"%vlocity_namespace%__OutboundStagingObjectName__c": "", | ||
"%vlocity_namespace%__OutputType__c": "JSON", | ||
"%vlocity_namespace%__OverwriteAllNullValues__c": false, | ||
"%vlocity_namespace%__PreprocessorClassName__c": "", | ||
"%vlocity_namespace%__ProcessNowThreshold__c": -1, | ||
"%vlocity_namespace%__RequiredPermission__c": "", | ||
"%vlocity_namespace%__RollbackOnError__c": false, | ||
"%vlocity_namespace%__SalesforcePlatformCacheType__c": "", | ||
"%vlocity_namespace%__SampleInputCustom__c": "", | ||
"%vlocity_namespace%__SampleInputJSON__c": "sampleGetAccountDetailsDRExtract_SampleInputJson.json", | ||
"%vlocity_namespace%__SampleInputRows__c": "", | ||
"%vlocity_namespace%__SampleInputXML__c": "", | ||
"%vlocity_namespace%__TargetOutCustom__c": "", | ||
"%vlocity_namespace%__TargetOutDocuSignTemplateId__c": "", | ||
"%vlocity_namespace%__TargetOutJson__c": "sampleGetAccountDetailsDRExtract_TargetOutJson.json", | ||
"%vlocity_namespace%__TargetOutPdfDocName__c": "", | ||
"%vlocity_namespace%__TargetOutXml__c": "", | ||
"%vlocity_namespace%__TimeToLiveMinutes__c": "", | ||
"%vlocity_namespace%__Type__c": "Extract", | ||
"%vlocity_namespace%__UseAssignmentRules__c": false, | ||
"%vlocity_namespace%__UseTranslations__c": false, | ||
"%vlocity_namespace%__XmlOutputSequence__c": "", | ||
"%vlocity_namespace%__XmlRemoveDeclaration__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRBundle__c", | ||
"VlocityRecordSourceKey": "%vlocity_namespace%__DRBundle__c/sampleGetAccountDetailsDRExtract" | ||
} |
111 changes: 111 additions & 0 deletions
111
...ataRaptor/sampleGetAccountDetailsDRExtract/sampleGetAccountDetailsDRExtract_Mappings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
[ | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 0, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "Account", | ||
"%vlocity_namespace%__FilterGroup__c": 0, | ||
"%vlocity_namespace%__FilterOperator__c": "=", | ||
"%vlocity_namespace%__FilterValue__c": "AccountId", | ||
"%vlocity_namespace%__GlobalKey__c": "b5716f08-c21e-6f99-de61-989a1b1de630", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Id", | ||
"%vlocity_namespace%__InterfaceObjectLookupOrder__c": 1, | ||
"%vlocity_namespace%__InterfaceObjectName__c": "Account", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtract23739210953902878", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountCountry", | ||
"%vlocity_namespace%__DomainObjectFieldType__c": "String", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:BillingCountry", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtractCustom197", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": true, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountId", | ||
"%vlocity_namespace%__GlobalKey__c": "6b6b907f-cbf7-1438-3625-03398527e1a7", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:Id", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtract9116710466428641", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountName", | ||
"%vlocity_namespace%__GlobalKey__c": "118437fd-a876-c63b-84f2-3220e8d35559", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:Name", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtract13673801718364875", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountPhone", | ||
"%vlocity_namespace%__GlobalKey__c": "e635617a-627c-300a-bafd-25fc9e87a072", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:Phone", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtract20281662614294915", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountPostalCode", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:BillingPostalCode", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtractCustom9942", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
}, | ||
{ | ||
"%vlocity_namespace%__DomainObjectAPIName__c": "json", | ||
"%vlocity_namespace%__DomainObjectCreationOrder__c": 1, | ||
"%vlocity_namespace%__DomainObjectFieldAPIName__c": "AccountWebsite", | ||
"%vlocity_namespace%__GlobalKey__c": "d26aeab7-3f69-0694-7df9-00f265db8c57", | ||
"%vlocity_namespace%__InterfaceFieldAPIName__c": "Account:Website", | ||
"%vlocity_namespace%__IsDisabled__c": false, | ||
"%vlocity_namespace%__IsRequiredForUpsert__c": false, | ||
"%vlocity_namespace%__MapId__c": "sampleGetAccountDetailsDRExtract8263812975041602", | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__UpsertKey__c": false, | ||
"Name": "sampleGetAccountDetailsDRExtract", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRMapItem__c" | ||
} | ||
] |
3 changes: 3 additions & 0 deletions
3
...or/sampleGetAccountDetailsDRExtract/sampleGetAccountDetailsDRExtract_SampleInputJson.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"AccountId": "0015f00000EPdwbAAD" | ||
} |
6 changes: 6 additions & 0 deletions
6
...ptor/sampleGetAccountDetailsDRExtract/sampleGetAccountDetailsDRExtract_TargetOutJson.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"AccountName": "Acme", | ||
"AccountPhone": "2121546450", | ||
"AccountPostalCode": "12345", | ||
"AccountWebsite": "www.acme.com" | ||
} |
50 changes: 50 additions & 0 deletions
50
datapacks/DataRaptor/samplePostXformWeather/samplePostXformWeather_DataPack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"%vlocity_namespace%__BatchSize__c": 200, | ||
"%vlocity_namespace%__CheckFieldLevelSecurity__c": false, | ||
"%vlocity_namespace%__CustomInputClass__c": "", | ||
"%vlocity_namespace%__CustomOutputClass__c": "", | ||
"%vlocity_namespace%__DRMapItem__c": "samplePostXformWeather_Mappings.json", | ||
"%vlocity_namespace%__DRMapName__c": "samplePostXformWeather", | ||
"%vlocity_namespace%__DeleteOnSuccess__c": false, | ||
"%vlocity_namespace%__Description__c": "Example of a DataRaptor Transform with concatenate formulas and mixed subnode and array output.", | ||
"%vlocity_namespace%__GlobalKey__c": "5b6eb5e0-e92d-6bc9-ad8b-5f6059eb38d5", | ||
"%vlocity_namespace%__IgnoreErrors__c": false, | ||
"%vlocity_namespace%__InputCustom__c": "", | ||
"%vlocity_namespace%__InputJson__c": "samplePostXformWeather_InputJson.json", | ||
"%vlocity_namespace%__InputType__c": "JSON", | ||
"%vlocity_namespace%__InputXml__c": "", | ||
"%vlocity_namespace%__InterfaceObject__c": "json", | ||
"%vlocity_namespace%__IsDefaultForInterface__c": false, | ||
"%vlocity_namespace%__IsProcessSuperBulk__c": false, | ||
"%vlocity_namespace%__OMplusSyncEnabled__c": false, | ||
"%vlocity_namespace%__OuboundStagingObjectDataField__c": "", | ||
"%vlocity_namespace%__OutboundConfigurationField__c": "", | ||
"%vlocity_namespace%__OutboundConfigurationName__c": "", | ||
"%vlocity_namespace%__OutboundStagingObjectName__c": "", | ||
"%vlocity_namespace%__OutputType__c": "JSON", | ||
"%vlocity_namespace%__OverwriteAllNullValues__c": false, | ||
"%vlocity_namespace%__PreprocessorClassName__c": "", | ||
"%vlocity_namespace%__ProcessNowThreshold__c": -1, | ||
"%vlocity_namespace%__RequiredPermission__c": "", | ||
"%vlocity_namespace%__RollbackOnError__c": false, | ||
"%vlocity_namespace%__SalesforcePlatformCacheType__c": "", | ||
"%vlocity_namespace%__SampleInputCustom__c": "", | ||
"%vlocity_namespace%__SampleInputJSON__c": "samplePostXformWeather_SampleInputJson.json", | ||
"%vlocity_namespace%__SampleInputRows__c": "", | ||
"%vlocity_namespace%__SampleInputXML__c": "", | ||
"%vlocity_namespace%__TargetOutCustom__c": "", | ||
"%vlocity_namespace%__TargetOutDocuSignTemplateId__c": "", | ||
"%vlocity_namespace%__TargetOutJson__c": "samplePostXformWeather_TargetOutJson.json", | ||
"%vlocity_namespace%__TargetOutPdfDocName__c": "", | ||
"%vlocity_namespace%__TargetOutXml__c": "", | ||
"%vlocity_namespace%__TimeToLiveMinutes__c": "", | ||
"%vlocity_namespace%__Type__c": "Transform", | ||
"%vlocity_namespace%__UseAssignmentRules__c": false, | ||
"%vlocity_namespace%__UseTranslations__c": false, | ||
"%vlocity_namespace%__XmlOutputSequence__c": "", | ||
"%vlocity_namespace%__XmlRemoveDeclaration__c": false, | ||
"Name": "samplePostXformWeather", | ||
"VlocityDataPackType": "SObject", | ||
"VlocityRecordSObjectType": "%vlocity_namespace%__DRBundle__c", | ||
"VlocityRecordSourceKey": "%vlocity_namespace%__DRBundle__c/samplePostXformWeather" | ||
} |
131 changes: 131 additions & 0 deletions
131
datapacks/DataRaptor/samplePostXformWeather/samplePostXformWeather_InputJson.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
{ | ||
"Current": [ | ||
{ | ||
"app_temp": 73.7, | ||
"aqi": 37, | ||
"city_name": "Schenectady", | ||
"clouds": 45, | ||
"country_code": "US", | ||
"datetime": "2019-09-10:22", | ||
"dewpt": 62.1, | ||
"dhi": 59.71, | ||
"dni": 535.73, | ||
"elev_angle": 12.66, | ||
"ghi": 169.35, | ||
"h_angle": 64.3, | ||
"last_ob_time": "2019-09-10T22:29:00", | ||
"lat": 42.8142, | ||
"lon": -73.9396, | ||
"ob_time": "2019-09-10 22:29", | ||
"pod": "d", | ||
"precip": 0, | ||
"pres": 1009.5, | ||
"rh": 68, | ||
"slp": 1023, | ||
"snow": 0, | ||
"solar_rad": 160.4, | ||
"state_code": "NY", | ||
"station": "KSCH", | ||
"sunrise": "10:30", | ||
"sunset": "23:15", | ||
"temp": 73.4, | ||
"timezone": "America/New_York", | ||
"ts": 1568154540, | ||
"uv": 2.17892, | ||
"vis": 3.1, | ||
"weather": { | ||
"code": "802", | ||
"description": "Scattered clouds", | ||
"icon": "c02d" | ||
}, | ||
"wind_cdir": "S", | ||
"wind_cdir_full": "south", | ||
"wind_dir": 170, | ||
"wind_spd": 6.9 | ||
} | ||
], | ||
"Fcast": [ | ||
{ | ||
"app_max_temp": 77.1, | ||
"app_min_temp": 69.3, | ||
"clouds": 43, | ||
"clouds_hi": 12, | ||
"clouds_low": 40, | ||
"clouds_mid": 0, | ||
"datetime": "2019-09-10", | ||
"dewpt": 66.9, | ||
"max_dhi": null, | ||
"max_temp": 76.5, | ||
"min_temp": 68.3, | ||
"moon_phase": 0.970024, | ||
"moonrise_ts": 1568152279, | ||
"moonset_ts": 1568105730, | ||
"ozone": 276.197, | ||
"pop": 20, | ||
"precip": 0.005, | ||
"pres": 1024.82, | ||
"rh": 88, | ||
"slp": 1025.64, | ||
"snow": 0, | ||
"snow_depth": 0, | ||
"sunrise_ts": 1568111801, | ||
"sunset_ts": 1568157356, | ||
"temp": 71.1, | ||
"ts": 1568088060, | ||
"uv": 3.82131, | ||
"valid_date": "2019-09-10", | ||
"vis": 15, | ||
"weather": { | ||
"code": 803, | ||
"description": "Broken clouds", | ||
"icon": "c03d" | ||
}, | ||
"wind_cdir": "SSE", | ||
"wind_cdir_full": "south-southeast", | ||
"wind_dir": 153, | ||
"wind_gust_spd": 26.6, | ||
"wind_spd": 9 | ||
}, | ||
{ | ||
"app_max_temp": 88.8, | ||
"app_min_temp": 68.1, | ||
"clouds": 59, | ||
"clouds_hi": 36, | ||
"clouds_low": 36, | ||
"clouds_mid": 17, | ||
"datetime": "2019-09-11", | ||
"dewpt": 67.8, | ||
"max_dhi": null, | ||
"max_temp": 84.6, | ||
"min_temp": 66.9, | ||
"moon_phase": 0.993411, | ||
"moonrise_ts": 1568240745, | ||
"moonset_ts": 1568195609, | ||
"ozone": 276.717, | ||
"pop": 0, | ||
"precip": 0, | ||
"pres": 1018.9, | ||
"rh": 82, | ||
"slp": 1019.72, | ||
"snow": 0, | ||
"snow_depth": 0, | ||
"sunrise_ts": 1568198257, | ||
"sunset_ts": 1568243657, | ||
"temp": 74.5, | ||
"ts": 1568174460, | ||
"uv": 6.74066, | ||
"valid_date": "2019-09-11", | ||
"vis": 15, | ||
"weather": { | ||
"code": 803, | ||
"description": "Broken clouds", | ||
"icon": "c03d" | ||
}, | ||
"wind_cdir": "SSW", | ||
"wind_cdir_full": "south-southwest", | ||
"wind_dir": 198, | ||
"wind_gust_spd": 29.5, | ||
"wind_spd": 8.9 | ||
} | ||
] | ||
} |
Oops, something went wrong.