[ 
https://issues.apache.org/jira/browse/AMBARI-21923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161113#comment-16161113
 ] 

Hudson commented on AMBARI-21923:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8034 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/8034/])
AMBARI-21923. Web Client Should Only Show Revert Action On Revertable 
(aantonenko: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4bbbe1f66075e1898ab814c27676439123ba0288])
* (edit) 
ambari-web/test/controllers/main/admin/stack_and_upgrade_controller_test.js
* (edit) ambari-web/test/mixins/common/configs/configs_saver_test.js
* (edit) ambari-web/test/mixins/main/service/configs/config_overridable_test.js
* (edit) 
ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_box_view.js
* (edit) ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
* (edit) ambari-web/app/models/stack_version/version.js
* (edit) 
ambari-web/test/views/main/admin/stack_upgrade/upgrade_version_box_view_test.js
* (edit) ambari-web/app/mappers/stack_version_mapper.js
* (edit) 
ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_column_view.js
* (edit) 
ambari-web/app/templates/main/admin/stack_upgrade/upgrade_version_column.hbs
* (edit) ambari-web/app/styles/stack_versions.less


> Web Client Should Only Show Revert Action On Revertable Repositories
> --------------------------------------------------------------------
>
>                 Key: AMBARI-21923
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21923
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.6.0
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21923_branch26.patch, AMBARI-21923_trunk.patch
>
>
> Register, install, and apply several different PATCH repositories and the web 
> client allows each of them to be reverted in any order. The backend needs to 
> provide a way to indicate that only the most recent applied patch can be 
> reverted.
> The backed should return a value, such as 
> ClusterStackVersions/supports_revert which clients, such as the web client, 
> can use. 
> The backend will also now return ClusterStackVersions/revert_upgrade_id in 
> the event that the upgrade is revertable. This will fix a bug where the web 
> client was choosing the wrong upgrade to revert. This value should be used 
> when making the call to the upgrades endpoint Upgrade/revert_upgrade_id when 
> initiating an upgrade reversion.



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

Reply via email to