stable

Clone or download

Read-only

Add status color in the REST route /artifacts/:id

part of story #24971 [modal] search for artifacts How to test: Use rest route, an new key `full_status` is provided Change-Id: I7563d2ffef0c7582781ec8052c354fe4affcf3df

Modified Files

Name
M plugins/frs/include/FRS/REST/v1/ReleaseRepresentation.php +2 −1 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/DefinitionRepresentations/DefinitionRepresentationBuilder.php +3 −1 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactRepresentation.class.php +24 −5 Go to diff View file
M plugins/tracker/include/REST/Artifact/ArtifactRepresentationBuilder.php +16 −54 Go to diff View file
A plugins/tracker/include/REST/Artifact/StatusValueRepresentation.php +57 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +20 −50 Go to diff View file
M plugins/tracker/include/REST/v1/Report/MatchingArtifactRepresentationBuilder.php +8 −1 Go to diff View file
M plugins/tracker/include/REST/v1/ReportsResource.class.php +6 −2 Go to diff View file
M plugins/tracker/include/REST/v1/TrackersResource.class.php +10 −22 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/Status/StatusColorForChangesetProvider.php +60 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +12 −0 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactRepresentationBuilderTest.php +25 −18 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactRepresentationTest.php +5 −3 Go to diff View file
M plugins/tracker/tests/unit/Tracker/REST/v1/Report/MatchingArtifactRepresentationBuilderTest.php +5 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/Status/StatusColorForChangesetProviderTest.php +121 −0 Go to diff View file