ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21831) Allow Hiding of PATCH Repository
Date Tue, 29 Aug 2017 10:25:00 GMT

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

Hudson commented on AMBARI-21831:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #74 (See [https://builds.apache.org/job/Ambari-branch-2.6/74/])
AMBARI-21831 Allow Hiding of PATCH Repository.(atkach) (atkach: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9bc450bdad5959a07b28f90491c5e0f9f26c7c2c])
* (edit) ambari-web/app/mappers/repository_version_mapper.js
* (edit) ambari-web/app/models/stack_version/repository_version.js
* (edit) ambari-web/app/views/main/admin/stack_upgrade/versions_view.js
* (edit) ambari-web/test/views/main/admin/stack_upgrade/upgrade_version_box_view_test.js
* (edit) ambari-web/test/views/main/admin/stack_upgrade/version_view_test.js
* (edit) ambari-web/test/controllers/main/admin/stack_and_upgrade_controller_test.js
* (edit) ambari-web/app/utils/ajax/ajax.js
* (edit) ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js
* (edit) ambari-web/app/views/main/admin/stack_upgrade/upgrade_version_box_view.js


> Allow Hiding of PATCH Repository
> --------------------------------
>
>                 Key: AMBARI-21831
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21831
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.6.0
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.6.0
>
>         Attachments: AMBARI-21831.patch, AMBARI-21831_trunk.patch
>
>
> When patches are reverted and no longer desired, there should be a way to remove them
directly from the Stacks and Versions page. Removal of a repository should only be allowed
if:
> - The repository type is {{PATCH}} and is in the {{INSTALLED}} or {{INSTALL_FAILED}}
state
> - The repository is {{NOT_REQUIRED}} (not distributed) regardless of type
> In the dropdown of actions for the repository, we should add a "Discard" action which
does this by executing a {{PUT}} against the {{\{stackName\}/versions/\{stackVersion\}/repository_versions}}
endpoint.
> A new property will be exposed, {{RepositoryVersions/hidden}} which will be set to a
value of {{true}} by the web client. When the web client queries for compatible repositories,
any which expose {{RepositoryVersions/hidden}} as {{true}} should not be shown.



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

Mime
View raw message