Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1AFC511E22 for ; Tue, 22 Jul 2014 17:38:39 +0000 (UTC) Received: (qmail 64391 invoked by uid 500); 22 Jul 2014 17:38:38 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 64361 invoked by uid 500); 22 Jul 2014 17:38:38 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 64348 invoked by uid 99); 22 Jul 2014 17:38:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 17:38:38 +0000 Date: Tue, 22 Jul 2014 17:38:38 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-6566) Provide properties_attributes to blueprints endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Srimanth Gunturi created AMBARI-6566: ---------------------------------------- Summary: Provide properties_attributes to blueprints endpoint Key: AMBARI-6566 URL: https://issues.apache.org/jira/browse/AMBARI-6566 Project: Ambari Issue Type: Task Components: controller Affects Versions: 1.7.0 Reporter: Srimanth Gunturi Assignee: Srimanth Gunturi Fix For: 1.7.0 API callers should be able to provide {{properties_attributes}} in blueprin= ts using the below format {code} "configurations" : [ { "global" : { =E2=80=9Cproperties=E2=80=9D: { "hive_database" : "Existing PostgreSQL Database", "nagios_contact" : "foo@ffl.dsfds", } =E2=80=9Cproperties_attributes=E2=80=9D: { =E2=80=9Cfinal=E2=80=9D: { =E2=80=9Cnagios_contact=E2=80=9D: =E2=80=9Ctrue=E2=80=9D } } } } ] {code} This format should be supported for POST, PUT and GET calls. Since there are already users of existing format below, POST and PUT calls = should tolerate it and assume there are no properties_attributes. {code} "configurations" : [ { "global" : { "hive_database" : "Existing PostgreSQL Database", "nagios_contact" : "foo@ffl.dsfds" } } ] {code} -- This message was sent by Atlassian JIRA (v6.2#6252)