Skip to content

Commit

Permalink
Adding support for queues
Browse files Browse the repository at this point in the history
  • Loading branch information
pcon committed Aug 6, 2020
1 parent e521746 commit febcccf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ant/1.1/properties/sfdc.metadata.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# properties defined below...
#
sf.dirs.folderBased = dashboards documents email reports
sf.dirs.nonFolderBased = assignmentRules escalationRules applications classes components datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts labels layouts letterhead objects objectTranslations pages portals profiles remoteSiteSettings reportTypes scontrols sites staticresources tabs triggers weblinks workflows permissionsets flows flowDefinitions callCenters globalPicklists globalValueSets globalValueSetTranslations standardValueSets customMetadata liveChatAgentConfigs liveChatButtons liveChatDeployments liveChatSensitiveDataRules sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule
sf.dirs.nonFolderBased = assignmentRules escalationRules applications classes components datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts labels layouts letterhead objects objectTranslations pages portals profiles remoteSiteSettings reportTypes scontrols sites staticresources tabs triggers weblinks workflows permissionsets flows flowDefinitions callCenters globalPicklists globalValueSets globalValueSetTranslations standardValueSets customMetadata liveChatAgentConfigs liveChatButtons liveChatDeployments liveChatSensitiveDataRules sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule queues
#
# All the supported directories - each directory has a corresponding metadata name.
# Look to the properties entitles sf.metadata.[director name] or sf.dir.[metadata name]
Expand Down Expand Up @@ -81,6 +81,7 @@ sf.includes.liveChatAgentConfigs = *.liveChatAgentConfig
sf.includes.liveChatButtons = *.liveChatButton
sf.includes.liveChatDeployments = *.liveChatDeployments
sf.includes.liveChatSensitiveDataRules = *.liveChatSensitiveDataRule
sf.includes.queues = *.queue

sf.includes.sharingCriteriaRule = *.sharingCriteriaRule
sf.includes.sharingGuestRule = *.sharingGuestRule
Expand Down Expand Up @@ -132,6 +133,7 @@ sf.suffix.sharingCriteriaRule = .sharingCriteriaRule
sf.suffix.sharingOwnerRule = .sharingOwnerRule
sf.suffix.sharingTerritoryRule = .sharingTerritoryRule
sf.suffix.sharingGuestRule = .sharingGuestRule
sf.suffix.queues = .queue

#
# When performing diffs, these are the directories
Expand Down Expand Up @@ -220,6 +222,7 @@ sf.metadata.liveChatAgentConfigs = LiveChatAgentConfig
sf.metadata.liveChatButtons = LiveChatButton
sf.metadata.liveChatDeployments = LiveChatDeployment
sf.metadata.liveChatSensitiveDataRules = LiveChatSensitiveDataRules
sf.metadata.queues = Queue

sf.metadata.sharingCriteriaRule = SharingCriteriaRule
sf.metadata.sharingOwnerRule = SharingOwnerRule
Expand Down Expand Up @@ -277,6 +280,7 @@ sf.dir.LiveChatAgentConfigs = liveChatAgentConfig
sf.dir.LiveChatButtons = liveChatButton
sf.dir.LiveChatDeployments = liveChatDeployement
sf.dir.LiveChatSensitiveDataRules = liveChatSensitiveDataRule
sf.dir.Queue = queues

sf.dir.SharingCriteriaRule = sharingCriteriaRule
sf.dir.SharingOwnerRule = sharingOwnerRule
Expand All @@ -302,7 +306,7 @@ sf.members = sf.members.objects sf.members.standardValueSets
#
# Denotes which directories support an "all" deploy/retrive.
#
sf.all = assignmentRules escalationRules classes objects components pages triggers applications labels objectTranslations weblinks sites tabs datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts layouts permissionsets portals profiles remoteSiteSettings report reportTypes scontrols staticResources translations workflows flows sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule sharingSets
sf.all = assignmentRules escalationRules classes objects components pages triggers applications labels objectTranslations weblinks sites tabs datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts layouts permissionsets portals profiles remoteSiteSettings report reportTypes scontrols staticResources translations workflows flows sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule sharingSets queues

#
# Additional ancillary properties
Expand Down
3 changes: 3 additions & 0 deletions ant/1.1/util/sfdc-util.xml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ ${sfdc-util.SF-JAR.PATH}
xmlMap.put("entitlementProcesses", "EntitlementProcess");
xmlMap.put("milestoneTypes", "MilestoneType");
xmlMap.put("customMetadata", "CustomMetadata");
xmlMap.put("queues", "Queue");
Map suffixMap = new TreeMap(); // Dir name to suffix...
suffixMap.put("installedPackages", "installedPackage");
Expand Down Expand Up @@ -361,6 +362,7 @@ ${sfdc-util.SF-JAR.PATH}
suffixMap.put("standardValueSets", "standardValueSet");
suffixMap.put("entitlementProcesses", "entitlementProcess");
suffixMap.put("milestoneTypes", "milestoneType");
suffixMap.put("queues", "queue");
Set wildcardSet = new TreeSet(); // Member name to wildcard...
wildcardSet.add("InstalledPackages");
Expand Down Expand Up @@ -423,6 +425,7 @@ ${sfdc-util.SF-JAR.PATH}
wildcardSet.add("GlobalValueSets");
wildcardSet.add("GlobalValueSetTranslations");
wildcardSet.add("StandardValueSets");
wildcardSet.add("Queues");
Set folderSet = new TreeSet(); // Dir name to folder.
folderSet.add("reports");
Expand Down

0 comments on commit febcccf

Please sign in to comment.