You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Vitalyi Brodetskyi <vb...@hortonworks.com> on 2015/03/26 11:34:40 UTC

Review Request 32532: Add os_family to the hosts api

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

Review request for Ambari and Andrew Onischuk.


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


Repository: ambari


Description
-------

Add "/api/v1/hosts/host_name?fields=Hosts/os_family" to the api
Problem:
We have one place to store os_types and related os_families - os_family.json
After adding a new OS to os_family.json host check fails.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java 3a359e5 
  ambari-server/src/main/resources/properties.json 4fee882 

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


Testing
-------

mvn clean test


Thanks,

Vitalyi Brodetskyi


Re: Review Request 32532: Add os_family to the hosts api

Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32532/#review77909
-----------------------------------------------------------

Ship it!


Ship It!

- Andrew Onischuk


On March 26, 2015, 10:34 a.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32532/
> -----------------------------------------------------------
> 
> (Updated March 26, 2015, 10:34 a.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-10213
>     https://issues.apache.org/jira/browse/AMBARI-10213
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Add "/api/v1/hosts/host_name?fields=Hosts/os_family" to the api
> Problem:
> We have one place to store os_types and related os_families - os_family.json
> After adding a new OS to os_family.json host check fails.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostResourceProvider.java 3a359e5 
>   ambari-server/src/main/resources/properties.json 4fee882 
> 
> Diff: https://reviews.apache.org/r/32532/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>