Jonathan Hurley created AMBARI-21552:
----------------------------------------

             Summary: Pass Repository ID To Upgrade Prechecks
                 Key: AMBARI-21552
                 URL: https://issues.apache.org/jira/browse/AMBARI-21552
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.5.3
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Critical
             Fix For: 2.5.3


When querying for upgrade pre-checks, the target stack version and name are 
required now. It's simple to just supply the repository ID in this case as it 
contains all relevant information and prevents a NamedQuery lookup. 

The new query should look like:
{code}
GET api/v1/clusters/c1/rolling_upgrades_checkfields=*&
UpgradeChecks/repository_version_id=2&
UpgradeChecks/upgrade_type=ROLLING
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to