Aleksandr Kovalenko created AMBARI-10404:
--------------------------------------------

             Summary: Make assignMasters controller more reusable and add 
support of cardinality
                 Key: AMBARI-10404
                 URL: https://issues.apache.org/jira/browse/AMBARI-10404
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.1.0
            Reporter: Aleksandr Kovalenko
            Assignee: Aleksandr Kovalenko
             Fix For: 2.1.0


{{wizardStep5Controllert}} is used in Install, Add Service, Move, NN HA, RM HA, 
future Ranger Admin HA and Ranger KMS HA wizards. But all these wizards have 
some specific behavior on assign masters step, and in each wizard there is some 
logic redefined. All controllers are extending {{wizardStep5Controllert}} and 
when you are editing some logic for Installer for example, you may break logic 
in some other place. So lets make special mixin with all general logic and make 
this logic more customizable to clearly use it in other controllers.
Also assign masters steps do not use real cardinality of master components, 
user may add as much host components as much hosts are registered in the 
cluster.

This changes are required to provide Select Host step for Ranger Admin HA 
Wizard.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to