mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed ALF-10333: Publishing: Multiple publishing events are processed sequentially rather than in parallel
Publishing: Remove some operations from the Channel and ChannelType interface that really shouldn't be exposed. Also removed the PublishingQueue interface - the two operations it had are now on the PublishingService. WQS: Removed obsolete references to publishing channels. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -75,7 +75,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
Calendar schedule = Calendar.getInstance();
|
||||
schedule.add(Calendar.HOUR, 2);
|
||||
|
||||
PublishingDetails details = publishingService.getPublishingQueue().createPublishingDetails()
|
||||
PublishingDetails details = publishingService.createPublishingDetails()
|
||||
.addNodesToPublish(firstNode, secondNode)
|
||||
.setPublishChannel(channelId)
|
||||
.setSchedule(schedule)
|
||||
@@ -142,7 +142,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
|
||||
List<String> statusChannels = Arrays.asList("test://channel/Channel1", "test://channel/Channel2", "test://channel/Channel3" );
|
||||
String message = "The message";
|
||||
PublishingDetails details = publishingService.getPublishingQueue().createPublishingDetails()
|
||||
PublishingDetails details = publishingService.createPublishingDetails()
|
||||
.setPublishChannel(channelId)
|
||||
.addNodesToPublish(firstNode, secondNode)
|
||||
.setStatusMessage(message)
|
||||
@@ -180,7 +180,7 @@ public class PublishingQueueImplTest extends AbstractPublishingIntegrationTest
|
||||
personManager.setUser(user1);
|
||||
|
||||
// Publish an event
|
||||
PublishingDetails details = publishingService.getPublishingQueue().createPublishingDetails();
|
||||
PublishingDetails details = publishingService.createPublishingDetails();
|
||||
details.addNodesToPublish(firstNode, secondNode);
|
||||
details.setPublishChannel(publishChannel.getId());
|
||||
try
|
||||
|
Reference in New Issue
Block a user