[ https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Hurley updated AMBARI-21894: ------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > PATCH and MAINT Repositories Should Indicate that they can be Reverted > ---------------------------------------------------------------------- > > Key: AMBARI-21894 > URL: https://issues.apache.org/jira/browse/AMBARI-21894 > Project: Ambari > Issue Type: Task > Affects Versions: 2.6.0 > Reporter: Jonathan Hurley > Assignee: Jonathan Hurley > Priority: Blocker > Fix For: 2.6.0 > > Attachments: AMBARI-21894.patch > > > In the current PU UI, the revert button is shown for any PATCH type > repository. The backend should compute whether a version can be reverted. > The backed should return a value, such as > {{ClusterStackVersions/supports_revert}} which clients, such as the web > client, can use. > {code:title=Example REST Changes} > { > "ClusterStackVersions": { > "cluster_name": "c1", > "id": 51, > "repository_version": 51, > "revert_upgrade_id": 1, > "stack": "HDP", > "supports_revert": true, > "version": "2.6" > } > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)