[ 
https://issues.apache.org/jira/browse/AMBARI-18050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Thorpe updated AMBARI-18050:
--------------------------------
    Description: 
Currently each pre-req check must add an entry in the CheckDescription enum.  
This limits the ability for third party stacks and extensions to provide their 
own pre-req checks.  

The CheckDescription enum should be rewritten as a class and each pre-req check 
class should create an instance of it.  This will allow stacks and extensions 
to include their own pre-req checks in separate jar files without requiring 
changes to ambari-server java code.

  was:
Each pre-req check must add an entry in the CheckDescription enum.  This 
obviously requires a change to ambari-server java code.  This limits the 
ability for third party stacks and extensions to provide their own pre-req 
checks.

CheckDescription should be rewritten as a class and each pre-req check class 
should create an instance of it.  This will allow stacks and extensions to 
include their own pre-req checks in separate jar files without requiring 
changes to ambari-server java code.


> Upgrade pre-req check code needs to be decoupled from CheckDescription class
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-18050
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18050
>             Project: Ambari
>          Issue Type: New Feature
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Tim Thorpe
>            Assignee: Tim Thorpe
>         Attachments: AMBARI-18050.patch
>
>
> Currently each pre-req check must add an entry in the CheckDescription enum.  
> This limits the ability for third party stacks and extensions to provide 
> their own pre-req checks.  
> The CheckDescription enum should be rewritten as a class and each pre-req 
> check class should create an instance of it.  This will allow stacks and 
> extensions to include their own pre-req checks in separate jar files without 
> requiring changes to ambari-server java code.



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

Reply via email to