stable

Clone or download

Read-only

Add new route project/id/docman_metadata

part of story #12634 Add custom metadata in modal New route return: - metadata and their configuration - for list, possible list values are returned Change-Id: If92cc88799b6306c1d47c971e178c7aab5f16bff

Modified Files

Name
M plugins/docman/include/Docman_MetadataListOfValuesElementDao.class.php +7 −8 Go to diff View file
M plugins/docman/include/Docman_MetadataListOfValuesElementFactory.class.php +4 −11 Go to diff View file
A plugins/docman/include/Metadata/ListOfValuesElement/MetadataListOfValuesElementListBuilder.php +55 −0 Go to diff View file
M plugins/docman/include/REST/ResourcesInjector.php +7 −0 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/CustomMetadataCollection.php +54 −0 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/CustomMetadataCollectionBuilder.php +93 −0 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/DocmanMetadataListValueRepresentation.php +42 −0 Go to diff View file
A plugins/docman/include/REST/v1/Metadata/DocmanMetadataRepresentation.php +95 −0 Go to diff View file
A plugins/docman/include/REST/v1/ProjectResource.php +157 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.class.php +4 −1 Go to diff View file
A plugins/docman/phpunit/Metadata/ListOfValuesElement/MetadataListOfValuesElementListBuilderTest.php +67 −0 Go to diff View file
A plugins/docman/phpunit/REST/v1/Metadata/CustomMetadataCollectionBuilderTest.php +120 −0 Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +0 −12 Go to diff View file
A plugins/docman/tests/rest/Docman/DocmanProjectMetadataTest.php +80 −0 Go to diff View file
M plugins/docman/tests/rest/Helper/DocmanDataBuildCommon.php +41 −0 Go to diff View file
M plugins/docman/tests/rest/Helper/DocmanTestExecutionHelper.php +12 −0 Go to diff View file
M tests/rest/tests/ProjectTest.php +5 −0 Go to diff View file