Srimanth Gunturi created AMBARI-7043:
----------------------------------------
Summary: BE: Move stack_advisor.py abstract class one folder up
Key: AMBARI-7043
URL: https://issues.apache.org/jira/browse/AMBARI-7043
Project: Ambari
Issue Type: Task
Components: controller
Affects Versions: 1.7.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 1.7.0
Currently the {{StackAdvisor}} abstract class is located at
{{/ambari-server/src/main/resources/stacks/HDP/stack_advisor.py}}, implying
that this is available only to HDP stack.
However this mechanism could be available to new stacks also, like
{{/ambari-server/src/main/resources/stacks/ABC/1.0/services/stack_advisor.py}}
etc...
Hence, we should move the file containing the abstract class one folder up, to
{{/ambari-server/src/main/resources/stacks/stack_advisor.py}}, and provide
testcases which verify that new stacks also can benefit from this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)