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 958741870F for ; Wed, 14 Oct 2015 00:13:16 +0000 (UTC) Received: (qmail 40991 invoked by uid 500); 14 Oct 2015 00:13:16 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 40957 invoked by uid 500); 14 Oct 2015 00:13:16 -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 40944 invoked by uid 99); 14 Oct 2015 00:13:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 00:13:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 997162772FE; Wed, 14 Oct 2015 00:13:14 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0279593344024642356==" MIME-Version: 1.0 Subject: Review Request 39304: Express Upgrade: UX changes for upgrade method selections window From: "Xi Wang" To: "Yusaku Sako" Cc: "Ambari" , "Xi Wang" Date: Wed, 14 Oct 2015 00:13:14 -0000 Message-ID: <20151014001314.28636.46560@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Xi Wang" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/39304/ X-Sender: "Xi Wang" Reply-To: "Xi Wang" X-ReviewRequest-Repository: ambari --===============0279593344024642356== 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/39304/ ----------------------------------------------------------- Review request for Ambari and Yusaku Sako. Bugs: AMBARI-13393 https://issues.apache.org/jira/browse/AMBARI-13393 Repository: ambari Description ------- UI for stack upgrade needs to present the user with two different upgrade methods: Rolling Upgrade, Express Upgrade. Today, the UI invokes the /upgrades API to begin the upgrade. This will need to pass in the type of upgrade as "rolling" or "nonrolling". The upgrade type will only be available if the stack version contains an upgrade pack for it. POST api/v1/clusters/c1/upgrades { "Upgrade": { "repository_version": "2.3.0.0-2545", "type": "NON-ROLLING" } } Further, the Upgrade Wizard dialog box will need to change the title to reflect if it's a "Rolling Upgrade" or "Express Upgrade". Diffs ----- ambari-web/app/controllers/main/admin/stack_and_upgrade_controller.js 880976f ambari-web/app/messages.js b4c32dc ambari-web/app/routes/stack_upgrade_routes.js 9f6034f ambari-web/app/styles/stack_versions.less 4ec60cb ambari-web/app/templates/main/admin/stack_upgrade/stack_upgrade_wizard.hbs f8c4d59 ambari-web/app/templates/main/admin/stack_upgrade/upgrade_options.hbs PRE-CREATION ambari-web/app/utils/ajax/ajax.js 70c6b10 ambari-web/app/views/common/modal_popups/cluster_check_popup.js 6e99102 ambari-web/test/controllers/main/admin/stack_and_upgrade_controller_test.js b034ac4 Diff: https://reviews.apache.org/r/39304/diff/ Testing ------- Tested. All UT passed Thanks, Xi Wang --===============0279593344024642356==--