stable

Clone or download

Read-only

request #20128 Add project fields on GET /projects/{id} rest route

Add description and additional fields on REST route get GET /projects/{id} Change-Id: Ic957f3217a7c6037b1e7da6376f4762f36a69d8f

Modified Files

Name
M site-content/en_US/admin/admin.tab +0 −3 Go to diff View file
M site-content/fr_FR/admin/admin.tab +0 −3 Go to diff View file
M src/common/Project/REST/ProjectRepresentation.class.php +18 −3 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +45 −1 Go to diff View file
A src/common/REST/v1/ProjectFieldsMinimalRepresentation.php +40 −0 Go to diff View file
M src/common/Request/RouteCollector.php +6 −4 Go to diff View file
A src/common/admin/ProjectCreation/ProjectFields/ProjectFieldsDao.php +75 −0 Go to diff View file
R src/common/admin/ProjectCreation/ProjectFieldsDisplayController.php Go to diff View file
R src/common/admin/ProjectCreation/ProjectFieldsUpdateController.php Go to diff View file
R src/common/admin/ProjectCreation/ProjectsFieldDescriptionUpdater.php Go to diff View file
M tests/rest/bin/init_data.php +2 −1 Go to diff View file
M tests/rest/lib/TestDataBuilder.php +10 −0 Go to diff View file
M tests/rest/tests/ProjectFieldsTest.php +13 −1 Go to diff View file
M tests/rest/tests/ProjectTest.php +14 −0 Go to diff View file
M tests/unit/common/Project/Admin/ProjectCreation/ProjectsFieldDescriptionUpdaterTest.php +1 −0 Go to diff View file