----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/27998/ -----------------------------------------------------------
(Updated Ноя. 14, 2014, 4:34 п.п.) Review request for Ambari, Alejandro Fernandez, Dmitro Lisnichenko, and Nate Cole. Changes ------- Fixed failing tests Bugs: AMBARI-8314 https://issues.apache.org/jira/browse/AMBARI-8314 Repository: ambari Description ------- Add some validation when creating a repo version: * validate the stack exists * upgrade pack specified is available for the stack * validate the OS specified for repositories are all in the stack available * validate that the version specified is valid for the upgrade pack. this will involve changing the upgrade pack "target" element to a regex appropriately Diffs (updated) ----- ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProvider.java 502a94e ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RepositoryVersionResourceProviderTest.java 2debfd3 Diff: https://reviews.apache.org/r/27998/diff/ Testing ------- in progress Thanks, Yurii Shylov