-----------------------------------------------------------
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