AMBARI-4471. Refactor of component lists. (Denys Buzhor via onechiporenko)