Dmytro Sen created AMBARI-22562: ----------------------------------- Summary: Remove stack metainfo.xml from management pack Key: AMBARI-22562 URL: https://issues.apache.org/jira/browse/AMBARI-22562 Project: Ambari Issue Type: Task Components: ambari-server Affects Versions: 3.0.0 Reporter: Dmytro Sen Assignee: Dmytro Sen Fix For: 3.0.0
# The stack metainfo.xml in a management pack is redundant. # We can create the stack metainfo.xml when we install the management pack. # Update the prereqs in mpack.json to include min-jdk and max-jdk properties and then create the metainfo.xml when the mpack is installed. {code} "prerequisites": { "min-ambari-version" : "3.0.0", "max-ambari-version" : "", "min-jdk" : "1.8", "max-jdk" : "1.8" }, {code} # Generate the stack metainfo.xml as {code} <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <metainfo> <minJdk>1.8</minJdk> <maxJdk>1.8</maxJdk> <versions> <active>true</active> </versions> </metainfo> {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)