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 41cb04ca0a
commit 5672913088
2 changed files with 0 additions and 4 deletions

View File

@@ -90,8 +90,6 @@ public class PublishingModelBuilder
model.put(URL, getUrl(type));
model.put(CHANNEL_NODE_TYPE, type.getChannelNodeType().toString());
model.put(CONTENT_ROOT_NODE_TYPE, type.getContentRootNodeType().toString());
model.put(SUPPORTED_CONTENT_TYPES, toListOfStrings(type.getSupportedContentTypes()));
model.put(SUPPORTED_MIME_TYPES, type.getSupportedMimetypes());

View File

@@ -231,7 +231,6 @@ public class PublishingRestApiTest extends BaseWebScriptTest
String expUrl = "api/publishing/channelTypes/"+URLEncoder.encode(channelType.getId());
check(URL, jsonType, expUrl);
check(CHANNEL_NODE_TYPE, jsonType, channelType.getChannelNodeType().toString());
check(CONTENT_ROOT_NODE_TYPE, jsonType, channelType.getContentRootNodeType().toString());
List<String> contentTypes = CollectionUtils.toListOfStrings(channelType.getSupportedContentTypes());
checkStrings(jsonType.getJSONArray(SUPPORTED_CONTENT_TYPES), contentTypes);
@@ -327,7 +326,6 @@ public class PublishingRestApiTest extends BaseWebScriptTest
channelType = mock(ChannelType.class);
when(channelType.getId()).thenReturn(channelTypeId);
when(channelType.getChannelNodeType()).thenReturn(TYPE_DELIVERY_CHANNEL);
when(channelType.getContentRootNodeType()).thenReturn(ContentModel.TYPE_FOLDER);
channelService.register(channelType);
return channelType;
}