ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-21894) PATCH and MAINT Repositories Should Indicate that they can be Reverted
Date Wed, 06 Sep 2017 20:28:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-21894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Hurley updated AMBARI-21894:
-------------------------------------
    Description: 
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}


  was:
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.


> 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)

Mime
View raw message