stable

Clone or download

Read-only

refacto: build the Tracker representation from Project resource in a dedicated class

Part of story #28823 [modal] create artifact This is step is needed to make easier the implementation of the new key `with_creation_semantic_check` No functionnal change expected Change-Id: I677add0c8783809181666b70a3bdb8797f01b137

Modified Files

Name
M plugins/tracker/include/REST/CompleteTrackerRepresentation.class.php +2 −0 Go to diff View file
M plugins/tracker/include/REST/MinimalTrackerRepresentation.php +2 −0 Go to diff View file
M plugins/tracker/include/REST/TrackerRestBuilder.class.php +4 −2 Go to diff View file
A plugins/tracker/include/REST/v1/BuildCompleteTrackerRESTRepresentation.php +35 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php +68 −98 Go to diff View file
A plugins/tracker/include/REST/v1/TrackerRepresentationBuilder.php +71 −0 Go to diff View file
A plugins/tracker/include/Tracker/RetrieveTrackersByGroupIdAndUserCanView.php +34 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +4 −3 Go to diff View file
M plugins/tracker/tests/unit/Builders/TrackerTestBuilder.php +3 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/BuildCompleteTrackerRESTRepresentationStub.php +73 −0 Go to diff View file
A plugins/tracker/tests/unit/Stub/RetrieveTrackersByGroupIdAndUserCanViewStub.php +55 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/REST/v1/TrackerRepresentationBuilderTest.php +98 −0 Go to diff View file