stable

Clone or download

Read-only

Refactoring: extract frs resources management from core

It used to be done in Core because we thought we had no alternative. But it proved to be false as we already do it for baseline and docman. Will make introduction of /project/:id/frs_service easier. No functional changes expected except some types are now shown in API explorer. Part of story #13654 have detailed permissions in REST API Change-Id: If58e5f77f10dd74b1e68c5cca52096c1f4482172

Modified Files

Name
M plugins/frs/include/FRS/REST/ResourcesInjector.php +14 −20 Go to diff View file
M plugins/frs/include/FRS/REST/v1/PackageMinimalRepresentation.php +17 −3 Go to diff View file
M plugins/frs/include/FRS/REST/v1/ProjectResource.php +105 −5 Go to diff View file
M plugins/frs/include/frsPlugin.class.php +1 −24 Go to diff View file
M src/common/Event/Event.class.php +0 −21 Go to diff View file
M src/common/Project/REST/ProjectRepresentation.class.php +3 −3 Go to diff View file
M src/common/Project/REST/ProjectResourceReference.class.php +7 −4 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +0 −76 Go to diff View file
M src/common/REST/ResourcesInjector.class.php +14 −7 Go to diff View file
D src/common/REST/v1/FRSPackageRepresentationBase.php +0 −38 Go to diff View file
M tests/rest/lib/RequestWrapper.php +2 −1 Go to diff View file