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 6BBF7C43A for ; Wed, 21 Jan 2015 15:24:38 +0000 (UTC) Received: (qmail 88162 invoked by uid 500); 21 Jan 2015 15:24:38 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 88126 invoked by uid 500); 21 Jan 2015 15:24: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 88111 invoked by uid 99); 21 Jan 2015 15:24:37 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 15:24:37 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4ECD91CA91D; Wed, 21 Jan 2015 15:24:34 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2660083411827994736==" MIME-Version: 1.0 Subject: Re: Review Request 30099: Add support for exporting configuration attributes in Blueprints From: "John Speidel" To: "John Speidel" , "Robert Levas" Cc: "Ambari" , "Robert Nettleton" Date: Wed, 21 Jan 2015 15:24:34 -0000 Message-ID: <20150121152434.9401.97495@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "John Speidel" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/30099/ X-Sender: "John Speidel" References: <20150120224534.9401.63898@reviews.apache.org> In-Reply-To: <20150120224534.9401.63898@reviews.apache.org> Reply-To: "John Speidel" X-ReviewRequest-Repository: ambari --===============2660083411827994736== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30099/#review68922 ----------------------------------------------------------- Ship it! Ship It! - John Speidel On Jan. 20, 2015, 10:45 p.m., Robert Nettleton wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30099/ > ----------------------------------------------------------- > > (Updated Jan. 20, 2015, 10:45 p.m.) > > > Review request for Ambari, John Speidel and Robert Levas. > > > Repository: ambari > > > Description > ------- > > This patch resolves AMBARI-9223. > > The ClusterBlueprintRenderer has been modified to obtain the > "properties_attributes" associated with each configuration > type from the Cluster resource, and to include these > attributes in the Blueprint resource that is created > during the export process. > > A new unit test has been added to verify this change. > > This patch also addresses a minor problem in the > BlueprintConfigurationProcessor that was found while > testing the fix for this patch. In addition to this > minor fix, new unit test assertions have been added > to verify this change. > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/api/query/render/ClusterBlueprintRenderer.java a584490 > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessor.java 8f84f62 > ambari-server/src/test/java/org/apache/ambari/server/api/query/render/ClusterBlueprintRendererTest.java 61ea1ad > ambari-server/src/test/java/org/apache/ambari/server/controller/internal/BlueprintConfigurationProcessorTest.java c8d1214 > > Diff: https://reviews.apache.org/r/30099/diff/ > > > Testing > ------- > > 1. Run the ambari-server unit tests, all passing ("Tests run: 2567, Failures: 0, Errors: 0, Skipped: 15"). > 2. Manually verified that properties declared as "final" in a cluster started by the UI are also declared as "final" in a Blueprint exported from this cluster. > 3. Took the exported Blueprint in Step #2, and verified that I can deploy a cluster based on this Blueprint, and that the expected properties are marked as "final" in the Ambari UI once the cluster deployment completes. > > > Thanks, > > Robert Nettleton > > --===============2660083411827994736==--