stable

Clone or download

Read-only

Introduce GET /projects/:id/heartbeats

story #10334: Widget Heartbeat - artifacts Returns nearly the same information as for user history. Last 30 updated artifacts are returned. Only artifacts user can view are returned. Change-Id: I0fdeaec01b88d09fb7f7bccc26ec349263129687

Modified Files

Name
A plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +76 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/dao/Tracker_ArtifactDao.class.php +21 −0 Go to diff View file
M plugins/tracker/include/autoload.php +3 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +14 −0 Go to diff View file
A plugins/tracker/tests/Tracker/Artifact/LatestHeartbeatsCollectorTest.php +98 −0 Go to diff View file
M src/common/REST/ResourcesInjector.class.php +17 −2 Go to diff View file
M src/common/autoload.php +6 −2 Go to diff View file
A src/common/project/HeartbeatsEntry.php +109 −0 Go to diff View file
A src/common/project/HeartbeatsEntryCollection.php +81 −0 Go to diff View file
A src/common/project/REST/HeartbeatsEntryRepresentation.php +62 −0 Go to diff View file
A src/common/project/REST/HeartbeatsRepresentation.php +45 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +41 −2 Go to diff View file