stable

Clone or download

Read-only

First REST route for system events

This is a first of request #9113 Having a REST route to monitor Sysevents This route allows forge administrators to retreive all the system events through the REST api. The next step will give the possiblity to filter events. Change-Id: I5c85dd1103e1543f2785a6145eb8f06d33458da3

Modified Files

Name
M src/common/REST/ResourcesInjector.class.php +2 −0 Go to diff View file
M src/common/autoload.php +6 −2 Go to diff View file
M src/common/dao/SystemEventDao.class.php +12 −1 Go to diff View file
A src/common/system_event/REST/v1/PaginatedSystemEventRepresentations.php +48 −0 Go to diff View file
A src/common/system_event/REST/v1/PaginatedSystemEventRepresentationsBuilder.php +54 −0 Go to diff View file
A src/common/system_event/REST/v1/SystemEventRepresentation.php +65 −0 Go to diff View file
A src/common/system_event/REST/v1/SystemEventResource.php +121 −0 Go to diff View file
M src/common/system_event/SystemEventManager.class.php +0 −2 Go to diff View file
A tests/rest/SystemEventTest.php +61 −0 Go to diff View file