Changes MediaRouter to pull emotions tag from header of newly uploaded media. This is then stored
as a string array on a media resource. Also changes MediaRepository to extend MongoResourceRepository, meaning more actions are available for media resources.
Fixes #3
Tested?
Tested with existing unit tests. Unit test of uploading media has been extended to include headers
Description
Changes
MediaRouter
to pull emotions tag from header of newly uploaded media. This is then stored as a string array on amedia
resource. Also changesMediaRepository
to extendMongoResourceRepository
, meaning more actions are available for media resources.Fixes #3
Tested?
Tested with existing unit tests. Unit test of uploading media has been extended to include headers