Publishing:

- Add latest gdata libs (1.45.0) with source code
 - cleaned the publishing context files out of the top-level application context
 - removed the notion of "content root" from publishing channels
 - added YouTube publishing channel with actions to publish and unpublish
 - added dummy channel types to ease UI development

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Brian Remmington
2011-06-24 14:40:10 +00:00
parent 6b987ab475
commit a6a4054f1e
26 changed files with 1356 additions and 106 deletions

View File

@@ -93,7 +93,6 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
@Autowired
private PublishEventAction action;
private NodeRef root;
private NodeRef channel;
private String eventId;
private ChannelType channelType;
@@ -115,7 +114,7 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
NodeRef publishedNode = channelHelper.mapSourceToEnvironment(source, channel);
assertNotNull(publishedNode);
assertTrue(nodeService.exists(publishedNode));
assertEquals(root, nodeService.getPrimaryParent(publishedNode).getParentRef());
assertEquals(channel, nodeService.getPrimaryParent(publishedNode).getParentRef());
// Check published node type and aspects
assertEquals(TYPE_CONTENT, nodeService.getType(publishedNode));
@@ -410,8 +409,6 @@ public class PublishEventActionTest extends AbstractPublishingIntegrationTest
channelService.createChannel(siteId, channelTypeId, channelName, null);
this.channel = channelHelper.getChannelNodeForEnvironment(environment.getNodeRef(), channelName);
this.root = channelHelper.getChannelRootNode(channel);
assertNotNull(root);
}
@Override