mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Removed all references to Site from publishing REST API. Replaced publishing-events-query.post with publishing-events-for-node.get.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -84,7 +84,7 @@ public class PublishingIntegratedTest extends BaseSpringTest
|
||||
NamespaceService.CONTENT_MODEL_1_0_URI, Integer.toString(i)), ContentModel.TYPE_CONTENT).getChildRef());
|
||||
}
|
||||
|
||||
PublishingQueue liveQueue = publishingService.getPublishingQueue(siteId);
|
||||
PublishingQueue liveQueue = publishingService.getPublishingQueue();
|
||||
MutablePublishingPackage publishingPackage = liveQueue.createPublishingPackage();
|
||||
publishingPackage.addNodesToPublish(nodes);
|
||||
|
||||
@@ -117,7 +117,7 @@ public class PublishingIntegratedTest extends BaseSpringTest
|
||||
nodes.add(nodeService.createNode(channel.getNodeRef(), ContentModel.ASSOC_CONTAINS, QName.createQName(
|
||||
NamespaceService.CONTENT_MODEL_1_0_URI, Integer.toString(i)), ContentModel.TYPE_CONTENT).getChildRef());
|
||||
}
|
||||
PublishingQueue liveQueue = publishingService.getPublishingQueue(siteId);
|
||||
PublishingQueue liveQueue = publishingService.getPublishingQueue();
|
||||
MutablePublishingPackage publishingPackage = liveQueue.createPublishingPackage();
|
||||
publishingPackage.addNodesToPublish(nodes);
|
||||
|
||||
|
Reference in New Issue
Block a user