stable

Clone or download

Read-only

Add query to GET /cross_tracker_reports/{id}/content

This is part of story #10678 define a query for title and description semantics How to test: - An empty "expert_query" is returned when you GET a cross tracker report - You must provide an empty "expert_query" entry in the "query" parameter for this REST route. - When you don't provide this entry, an error 400 will be triggered The GET/PUT routes will be updated in dedicated commits Change-Id: I653d7ba65cd2bc9149c91704f7e1d77a3498d5fe

Modified Files

Name
M plugins/crosstracker/db/install.sql +2 −1 Go to diff View file
A plugins/crosstracker/db/mysql/updates/2017/201712111426_update_crosstracker_report.php +52 −0 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerReport.php +13 −3 Go to diff View file
M plugins/crosstracker/include/CrossTracker/CrossTrackerReportFactory.php +2 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportExtractor.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportRepresentation.php +5 −1 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerReportsResource.php +24 −6 Go to diff View file
M plugins/crosstracker/tests/CrossTracker/CrossTrackerReportFactoryTest.php +2 −2 Go to diff View file
M plugins/crosstracker/tests/rest/CrossTracker/CrossTrackerTest.php +10 −7 Go to diff View file
M plugins/crosstracker/www/scripts/cross-tracker/src/app/rest-querier.js +2 −1 Go to diff View file