ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juanjo Marron (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-16101) clean up import * at common-services level
Date Tue, 17 May 2016 00:41:12 GMT

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

Juanjo Marron updated AMBARI-16101:
-----------------------------------
    Fix Version/s:     (was: ambari-2.4.0)
                   3.0.0

> clean up import * at common-services level
> ------------------------------------------
>
>                 Key: AMBARI-16101
>                 URL: https://issues.apache.org/jira/browse/AMBARI-16101
>             Project: Ambari
>          Issue Type: Improvement
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.1.0, 2.2.0, 2.2.1
>            Reporter: Juanjo Marron
>            Assignee: Juanjo Marron
>             Fix For: 3.0.0
>
>
> Python code at  at common-services level used generic imports  form   resource_management
(from resource_management import *)
> Ideally, for easier code tracking and performance, these import should be more specific,
such as: 
> from resource_management.libraries.script.script import Script
> from resource_management.core.resources.system import Directory
> This JIRA and subtasks will clean up import * from resource_management and replace it
for specific imports



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

Mime
View raw message