stable
Clone or download
Read-only
That returns open artifacts of current user according to criteria. Pagination is not taken into account in this patch, will be done in a dedicated one. Part of story #13856 have a REST end point to get my artifacts Change-Id: I753b22c550c47e7415fe09a606af09da7ce4d37b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/timetracking/phpunit/bootstrap.php | +0 | −1 | Go to diff View file |
A | plugins/tracker/include/REST/Artifact/MyArtifactsRepresentation.php | +67 | −0 | Go to diff View file |
A | plugins/tracker/include/REST/Artifact/UsersArtifactsResource.php | +72 | −0 | Go to diff View file |
A | plugins/tracker/include/REST/Artifact/UsersArtifactsResourceController.php | +101 | −0 | Go to diff View file |
M | plugins/tracker/include/REST/MinimalTrackerRepresentation.php | +3 | −1 | Go to diff View file |
M | plugins/tracker/include/REST/ResourcesInjector.class.php | +3 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Artifact/MyArtifactsCollection.php | +17 | −0 | Go to diff View file |
A | plugins/tracker/phpunit/REST/Artifact/UsersArtifactsResourceControllerTest.php | +146 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/Artifacts/UsersArtifactsTest.php | +98 | −0 | Go to diff View file |
M | plugins/tracker/tests/rest/DataBuilder.php | +4 | −5 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/MyArtifacts/project.xml | +130 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/MyArtifacts/user_map.csv | +2 | −0 | Go to diff View file |
A | plugins/tracker/tests/rest/_fixtures/MyArtifacts/users.xml | +37 | −0 | Go to diff View file |
M | src/common/REST/QueryParameterParser.php | +20 | −0 | Go to diff View file |
M | src/common/User/REST/v1/UserResource.php | +1 | −0 | Go to diff View file |
M | tests/phpunit/common/REST/QueryParameterParserTest.php | +6 | −0 | Go to diff View file |
M | tests/rest/bin/run.sh | +8 | −0 | Go to diff View file |
M | tests/rest/lib/RequestWrapper.php | +5 | −4 | Go to diff View file |
M | tests/rest/lib/TestDataBuilder.php | +13 | −14 | Go to diff View file |