----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46100/#review128489 -----------------------------------------------------------
Ship it! Ship It! - Alejandro Fernandez On April 12, 2016, 4:55 p.m., Nate Cole wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46100/ > ----------------------------------------------------------- > > (Updated April 12, 2016, 4:55 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, and Jayush > Luniya. > > > Bugs: AMBARI-15837 > https://issues.apache.org/jira/browse/AMBARI-15837 > > > Repository: ambari > > > Description > ------- > > Adds a dry_run option to creation of VDF and return the same response as a > GET. This is different from the rest of our API since part of the response > comes from subresources. Subresources are only asked on GET, but there is no > entity to reference in this case, so the POST/dry_run=true must contain all > of it without writing to the DB. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/api/resources/VersionDefinitionResourceDefinition.java > ba4491e > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProvider.java > 963265b > > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/VersionDefinitionResourceProviderTest.java > 5a63606 > > Diff: https://reviews.apache.org/r/46100/diff/ > > > Testing > ------- > > Manual. Automated: > > (Test in error is invalid cert against https://hortonworks.com and unrelated > to this patch) > > Results : > > Tests in error: > AmbariManagementControllerTest.testUpdateRepoUrlController:8524 ยป > IllegalArgument > > Tests run: 4134, Failures: 0, Errors: 1, Skipped: 32 > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 35:44.990s > [INFO] Finished at: Tue Apr 12 12:07:01 EDT 2016 > [INFO] Final Memory: 36M/670M > [INFO] > ------------------------------------------------------------------------ > > > Thanks, > > Nate Cole > >
