stable
Clone or download
Read-only
part of: story #20919 define progress of artifacts How to test: - Query the route /tracker/:id - When the semantic progress is not defined --> No key "progress" in the semantics section of the payload - When the semantic is based on effort --> There is a key "progress" containing a total_effort_field_id and a remaining_effort_field_id, both holding the ids of the two fields chosen in the configuration - When the semantic is based on links count --> There is a key "progress" containing a artifact_link_type key holding the type '_is_child' Change-Id: Iba23f7abea546aeb5c8dee962a32fa3f1d1ae82a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Semantic/Progress/IComputeProgression.php | +1 | −1 | Go to diff View file |
A | plugins/tracker/include/Tracker/Semantic/Progress/IRepresentSemanticProgress.php | +25 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/InvalidMethod.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnEffort.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/MethodBasedOnLinksCount.php | +4 | −2 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/MethodNotConfigured.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgress.php | +1 | −1 | Go to diff View file |
R | plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressRepresentation.php | Go to diff View file | ||
A | plugins/tracker/include/Tracker/Semantic/Progress/SemanticProgressBasedOnLinksCountRepresentation.php | +39 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnEffortTest.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Progress/MethodBasedOnLinksCountTest.php | +4 | −3 | Go to diff View file |