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 7865418CDF for ; Tue, 23 Jun 2015 23:26:54 +0000 (UTC) Received: (qmail 24427 invoked by uid 500); 23 Jun 2015 23:26:54 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 24397 invoked by uid 500); 23 Jun 2015 23:26:54 -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 24380 invoked by uid 99); 23 Jun 2015 23:26:54 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2015 23:26:54 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 2630EA9BE6; Tue, 23 Jun 2015 23:26:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1024432581457076117==" MIME-Version: 1.0 Subject: Review Request 35810: Disable api/v1/proxy and allow ViewURLStreamProvider to filter based on hosts and ports From: "Sumit Mohanty" To: "Mahadev Konar" , "Yusaku Sako" Cc: "Sumit Mohanty" , "Ambari" Date: Tue, 23 Jun 2015 23:26:53 -0000 Message-ID: <20150623232653.3113.62018@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Sumit Mohanty" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/35810/ X-Sender: "Sumit Mohanty" Reply-To: "Sumit Mohanty" X-ReviewRequest-Repository: ambari --===============1024432581457076117== 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/35810/ ----------------------------------------------------------- Review request for Ambari, Mahadev Konar and Yusaku Sako. Bugs: AMBARI-12102 https://issues.apache.org/jira/browse/AMBARI-12102 Repository: ambari Description ------- Disable end point api/v1/proxy Enable host filtering for ViewURLStreamProvider Add unit tests to ViewURLStreamProvider Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java 519c416 ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java e430c98 ambari-server/src/main/java/org/apache/ambari/server/view/ViewURLStreamProvider.java c8ee284 ambari-server/src/test/java/org/apache/ambari/server/view/ViewURLStreamProviderTest.java af48c4b Diff: https://reviews.apache.org/r/35810/diff/ Testing ------- Ran all server unit tests. Manually tested on live clusters. Thanks, Sumit Mohanty --===============1024432581457076117==--