-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46100/
-----------------------------------------------------------

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 in progress.


Thanks,

Nate Cole

Reply via email to