ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jayush Luniya (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-3536) Refactor to remove ActionMetadata
Date Tue, 17 Mar 2015 20:00:40 GMT

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

Jayush Luniya updated AMBARI-3536:
----------------------------------
    Fix Version/s:     (was: 2.0.0)
                   2.1.0

> Refactor to remove ActionMetadata
> ---------------------------------
>
>                 Key: AMBARI-3536
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3536
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 1.5.0
>            Reporter: Oleksandr Diachenko
>            Assignee: Oleksandr Diachenko
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-3536.patch
>
>
> {{ActionMetaDdata}} has hard-coded mappings of service-to-action.
> * Clients per service are already indicated in the stack
> * One client can be designated as a "service check" (a client should be able to NOT be
defined as a service check)
> * {{getActions(serviceName)}} is only called two places: one of them uses only the first
element, the other checks to see if a specific string is present in the list.  This can be
refactored.
> * {{getClient(serviceName)}} is called only one time, and is used in {{AmbariManagementControllerImpl.addServiceCheckAction(...)}}
to isolate a hostName
> * {{getServiceCheckAction(serviceName)}} is called only one time and is used to see if
any service has a SERVICE_CHECK action set.



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

Mime
View raw message