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 73C7E1033C for ; Wed, 12 Feb 2014 15:09:52 +0000 (UTC) Received: (qmail 62667 invoked by uid 500); 12 Feb 2014 15:09:49 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 62643 invoked by uid 500); 12 Feb 2014 15:09:48 -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 62592 invoked by uid 99); 12 Feb 2014 15:09:42 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 15:09:42 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 755061C011F; Wed, 12 Feb 2014 15:09:41 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1391777148136006685==" MIME-Version: 1.0 Subject: Re: Review Request 18004: Provide ability to forward request headers for Pass Through API From: "Dmitro Lisnichenko" To: "Nate Cole" , "Dmitro Lisnichenko" Cc: "Vitalyi Brodetskyi" , "Ambari" Date: Wed, 12 Feb 2014 15:09:41 -0000 Message-ID: <20140212150941.12058.32540@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/18004/ X-Sender: "Dmitro Lisnichenko" References: <20140212144943.12058.51279@reviews.apache.org> In-Reply-To: <20140212144943.12058.51279@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============1391777148136006685== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/18004/#review34284 ----------------------------------------------------------- Ship it! Ship It! - Dmitro Lisnichenko On Feb. 12, 2014, 2:49 p.m., Vitalyi Brodetskyi wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/18004/ > ----------------------------------------------------------- > > (Updated Feb. 12, 2014, 2:49 p.m.) > > > Review request for Ambari, Dmitro Lisnichenko and Nate Cole. > > > Bugs: AMBARI-4628 > https://issues.apache.org/jira/browse/AMBARI-4628 > > > Repository: ambari > > > Description > ------- > > We need to forward both headers and body in Pass Through API. > For example, Falcon API requires sending Remote-user header in every query. > > > Diffs > ----- > > ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java 6b5681c > ambari-server/src/main/java/org/apache/ambari/server/proxy/ProxyService.java 9f7f108 > ambari-server/src/test/java/org/apache/ambari/server/proxy/ProxyServiceTest.java 80c5c7d > > Diff: https://reviews.apache.org/r/18004/diff/ > > > Testing > ------- > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > Listening for transport dt_socket at address: 5006 > Running org.apache.ambari.server.proxy.ProxyServiceTest > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.34 sec > > Results : > > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0 > > > Thanks, > > Vitalyi Brodetskyi > > --===============1391777148136006685==--