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

Review request for Ambari, Sid Wagle and Tom Beerbower.


Bugs: AMBARI-5578
    https://issues.apache.org/jira/browse/AMBARI-5578


Repository: ambari


Description
-------

Existing names are not consistent with the remaining api which uses an '_' 
instead of camel case. 
Also these names are unnecessarily long. Since these names are not under the 
cluster resource, it is ok to reuse the names service and component for a more 
concise url.
So, the new stack api hierarchy would be:
stacks/versions/services/components/...
stacks/versions/operating_systems/...

Note This will not affect the stacks2 api that the UI uses.


Diffs
-----

  
ambari-server/src/main/java/org/apache/ambari/server/api/services/StacksService.java
 7c5eaf4 

Diff: https://reviews.apache.org/r/20724/diff/


Testing
-------

Functional testing:
- created cluster via blueprint
- tested UI functionality

Unit tests:
Successfully ran unit tests

Results :

Tests run: 1570, Failures: 0, Errors: 0, Skipped: 9

...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:46.259s
[INFO] Finished at: Fri Apr 25 15:07:17 EDT 2014
[INFO] Final Memory: 20M/123M
[INFO] ------------------------------------------------------------------------


Thanks,

John Speidel

Reply via email to