stable

Clone or download

Read-only

PUT metadata files/embedded/wiki/link/empty

part of story #12634 Add custom metadata in modal How to test: REST routes for empty/file/embedded/link and wiki are now able to update custom metadata folder will be done in dedicated commit please note that for now there is no check on: - all projects metadata are provided - all required project metadata are provided this will done in a dedicated commit Change-Id: If03be30eae48c943079af1deee2e714838fefee6

Modified Files

Name
M plugins/docman/include/REST/v1/Metadata/CustomMetadataRepresentationRetriever.php +33 −0 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/MetadataToUpdate.php +62 −0 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataUpdator.php +44 −9 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/MetadataUpdatorBuilder.php +21 −1 Go to diff View file
M plugins/docman/include/REST/v1/Metadata/PUTMetadataRepresentation.php +4 −0 Go to diff View file
M plugins/docman/phpunit/Metadata/CustomMetadataRepresentationRetrieverTest.php +85 −0 Go to diff View file
M plugins/docman/phpunit/REST/v1/Metadata/MetadataUpdatorTest.php +93 −3 Go to diff View file
M plugins/docman/tests/rest/Metadata/CustomMetadataTest.php +106 −9 Go to diff View file