Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 95D74200CF1 for ; Mon, 28 Aug 2017 18:28:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9256E165166; Mon, 28 Aug 2017 16:28:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D9840165164 for ; Mon, 28 Aug 2017 18:28:05 +0200 (CEST) Received: (qmail 59792 invoked by uid 500); 28 Aug 2017 16:28:03 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 59783 invoked by uid 99); 28 Aug 2017 16:28:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2017 16:28:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 6AA9D1A309B for ; Mon, 28 Aug 2017 16:28:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 78t7Q7a1yuaa for ; Mon, 28 Aug 2017 16:28:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 09B1D5F567 for ; Mon, 28 Aug 2017 16:28:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0209FE0012 for ; Mon, 28 Aug 2017 16:28:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 089BD2537B for ; Mon, 28 Aug 2017 16:28:00 +0000 (UTC) Date: Mon, 28 Aug 2017 16:28:00 +0000 (UTC) From: "Andrii Tkach (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21831) Allow Hiding of PATCH Repository MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 28 Aug 2017 16:28:06 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143962#comment-16143962 ] Andrii Tkach commented on AMBARI-21831: --------------------------------------- trunk: 21296 passing (25s) 128 pending > 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 > > > 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)