[
https://issues.apache.org/jira/browse/AMBARI-21552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-21552:
-------------------------------------
Attachment: AMBARI-21552.patch
> 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
>
> Attachments: AMBARI-21552.patch
>
>
> 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)