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 295FC200D3B for ; Fri, 10 Nov 2017 23:14:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 27C0A160BEE; Fri, 10 Nov 2017 22:14:09 +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 6E327160BE0 for ; Fri, 10 Nov 2017 23:14:08 +0100 (CET) Received: (qmail 71888 invoked by uid 500); 10 Nov 2017 22:14:07 -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 71879 invoked by uid 99); 10 Nov 2017 22:14:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2017 22:14:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E97FCC3E1E for ; Fri, 10 Nov 2017 22:14:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, 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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id HUgBhV_oVKKd for ; Fri, 10 Nov 2017 22:14:06 +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 03B145FC9D for ; Fri, 10 Nov 2017 22:14:01 +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 51F49E0BCB for ; Fri, 10 Nov 2017 22:14:00 +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 0DEBF23F05 for ; Fri, 10 Nov 2017 22:14:00 +0000 (UTC) Date: Fri, 10 Nov 2017 22:14:00 +0000 (UTC) From: "Swapan Shridhar (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-22366) POST, GET and UPDATE API for cluster settings. (/clusters/{clusterName}/settings) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 10 Nov 2017 22:14:09 -0000 [ https://issues.apache.org/jira/browse/AMBARI-22366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248083#comment-16248083 ] Swapan Shridhar commented on AMBARI-22366: ------------------------------------------ [^AMBARI-22366.2.patch] fixes review comments. > POST, GET and UPDATE API for cluster settings. (/clusters/{clusterName}/settings) > --------------------------------------------------------------------------------- > > Key: AMBARI-22366 > URL: https://issues.apache.org/jira/browse/AMBARI-22366 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Swapan Shridhar > Assignee: Swapan Shridhar > Fix For: 3.0.0 > > Attachments: AMBARI-22366.1.patch, AMBARI-22366.2.patch, AMBARI-22366.3.patch, AMBARI-22366.patch > > > *Background:* AMBARI-22196 did the following : > (1). Refactoring work of moving all cluster related configs/settings in cluster-env to "cluster-settings" files. > (2). Implementing READ only API to access *cluster-settings* file *setting(s)* : *http://:/api/v1/cluster_settings/ * > - This was done to separate cluster related configs from stack related configs. > *This JIRA implements the following :* > - POST, GET, UPDATE and DELETE APIs for cluster settings with endpoint : > *http://:/api/v1/clusters/[[clusterName]]/settings*, where > -- the cluster settings would be initially read from the above mentioned read-only API : *http://:/api/v1/cluster_settings/*. > - Further, added cluster *settings* as a sub-resource of *cluster* resource. -- This message was sent by Atlassian JIRA (v6.4.14#64029)