-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/41650/
-----------------------------------------------------------
Review request for Ambari, Nate Cole and Sumit Mohanty.
Bugs: AMBARI-14471
https://issues.apache.org/jira/browse/AMBARI-14471
Repository: ambari
Description
-------
When retrieving information about an upgrade, there is a {{display_status}}
field used for {{UpgradeGroup}}. Within an {{UpgradeGroup}} there are
{{UpgradeItem}} instances which have {{task}} instances.
The {{UpgradeItem}} doesn't have a {{display_status}} which can cause problems
when the tasks failed and were skipped since we show the encompassing item as
COMPLETED (green).
This Jira is to track {{UpgradeItem/display_status}} being added to the API.
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/CalculatedStatus.java
0a2a414
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StageResourceProvider.java
492ac34
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeItemResourceProvider.java
48b040e
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StageResourceProviderTest.java
58454e9
Diff: https://reviews.apache.org/r/41650/diff/
Testing
-------
Tests run: 3742, Failures: 0, Errors: 0, Skipped: 29
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28:48 min
[INFO] Finished at: 2015-12-22T09:25:08-05:00
[INFO] Final Memory: 40M/578M
[INFO] ------------------------------------------------------------------------
Thanks,
Jonathan Hurley