> On Dec. 10, 2014, 6:16 p.m., Nate Cole wrote: > >
Thanks for the review! > On Dec. 10, 2014, 6:16 p.m., Nate Cole wrote: > > ambari-server/src/main/java/org/apache/ambari/server/actionmanager/StageStatus.java, > > lines 83-85 > > <https://reviews.apache.org/r/28908/diff/1/?file=788260#file788260line83> > > > > Can use Enum.setOf(e1, ...) instead of new HashSet() > > Nate Cole wrote: > Crap. Sorry, should have been: EnumSet.of(e1, ...) Yes, much nicer. Thanks! - Tom ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28908/#review64583 ----------------------------------------------------------- On Dec. 10, 2014, 6:24 p.m., Tom Beerbower wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28908/ > ----------------------------------------------------------- > > (Updated Dec. 10, 2014, 6:24 p.m.) > > > Review request for Ambari and Nate Cole. > > > Bugs: AMBARI-8643 > https://issues.apache.org/jira/browse/AMBARI-8643 > > > Repository: ambari > > > Description > ------- > > Initial checkin of API changes for manually triggered/continuable upgrade > item. > > Note : this is incomplete but intended to unblock UI development by making > the APIs available. Additional backend work and testing is required. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/actionmanager/StageStatus.java > PRE-CREATION > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StageResourceProvider.java > c25152d > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeItemResourceProvider.java > 85d2c9a > > ambari-server/src/test/java/org/apache/ambari/server/actionmanager/StageStatusTest.java > PRE-CREATION > > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StageResourceProviderTest.java > e2d4d9f > > Diff: https://reviews.apache.org/r/28908/diff/ > > > Testing > ------- > > Added unit tests for state transition. Additional unit tests are required. > > All existing unit tests pass. > > Results : > > Tests run: 2402, Failures: 0, Errors: 0, Skipped: 22 > > > Thanks, > > Tom Beerbower > >
