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 52A53200C33 for ; Sat, 25 Feb 2017 06:04:50 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 46633160B79; Sat, 25 Feb 2017 05:04:50 +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 8B4D6160B69 for ; Sat, 25 Feb 2017 06:04:49 +0100 (CET) Received: (qmail 2823 invoked by uid 500); 25 Feb 2017 05:04:48 -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 2813 invoked by uid 99); 25 Feb 2017 05:04:48 -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; Sat, 25 Feb 2017 05:04:48 +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 D4B741A02F1 for ; Sat, 25 Feb 2017 05:04:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Q--F5EjuMFG5 for ; Sat, 25 Feb 2017 05:04:47 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B8CC85FB9A for ; Sat, 25 Feb 2017 05:04:46 +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 B0816E05F7 for ; Sat, 25 Feb 2017 05:04:45 +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 852A42412D for ; Sat, 25 Feb 2017 05:04:44 +0000 (UTC) Date: Sat, 25 Feb 2017 05:04:44 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-20136) Services should be able to specify that credential store is always enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 25 Feb 2017 05:04:50 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Mohanty updated AMBARI-20136: ----------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Committed to trunk and branch-2.5 > Services should be able to specify that credential store is always enabled > -------------------------------------------------------------------------- > > Key: AMBARI-20136 > URL: https://issues.apache.org/jira/browse/AMBARI-20136 > Project: Ambari > Issue Type: Task > Components: ambari-server > Affects Versions: 2.5.0 > Reporter: Sumit Mohanty > Assignee: Sumit Mohanty > Priority: Critical > Fix For: 2.5.0 > > Attachments: AMBARI-20136.patch > > > At this point, credential store can be enabled or disabled for a service. Some services, such as Ranger and LogSearch should be able to indicate that CS cannot be disabled. The eventual goal is to always have CS enabled for all services that support credential store. > Current metainfo.xml has the following section > {code} > > true > false > > {code} > We need to add a notion of required. A third element called "required" may be added. We can potentially, create an enum for a new field "supportType" and collapse "supported" and "required" but that, while succinct, does not help much in readability. > {code} > > true > false > false > > {code} > The above means, CS is supported, not required, and not enabled. "false" is the default for *required*. > For services that require CS support > {code} > > true > true > true > > {code} > Service create logic should set the CS-enabled flag to be true if *required* is true independent of what *enabled* says. *required* flag is not needed in the service resource REST API but the stacks API should provide access to this flag. > API to disable CS should throw an error if *required* is true. -- This message was sent by Atlassian JIRA (v6.3.15#6346)