ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 18084: Proxy have some problems with POST, PUT requests when passing xml data in body
Date Thu, 13 Feb 2014 15:11:16 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18084/
-----------------------------------------------------------

Review request for Ambari, Dmitro Lisnichenko and Nate Cole.


Bugs: AMBARI-4651
    https://issues.apache.org/jira/browse/AMBARI-4651


Repository: ambari


Description
-------

For example trying to pass such xml:
{code}
<?xml version="1.0"?>
<cluster colo="default" description="" name="mycluster" xmlns="uri:falcon:cluster:0.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">    
    <interfaces>
        <interface type="readonly" endpoint="hftp://c6401.ambari.apache.org:50070" version="2.2.0.2.0.6.0-76"
/>

        <interface type="write" endpoint="hdfs://c6401.ambari.apache.org:8020" version="2.2.0.2.0.6.0-76"
/>

        <interface type="execute" endpoint="c6401.ambari.apache.org:8050" version="2.2.0.2.0.6.0-76"
/>

        <interface type="workflow" endpoint="http://c6401.ambari.apache.org:11000/oozie"
version="3.1.4" />

        <interface type="messaging" endpoint="tcp://c6401.ambari.apache.org:61616?daemon=true"
version="5.1.6" />
    </interfaces>

    <locations>
        <location name="staging" path="/projects/falcon/staging" />
        <location name="temp" path="/tmp" />
        <location name="working" path="/projects/falcon/working" />
    </locations>
</cluster>
{code}


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/URLStreamProvider.java
be95221 
  ambari-server/src/main/java/org/apache/ambari/server/proxy/ProxyService.java 3ed0b8c 
  ambari-server/src/test/java/org/apache/ambari/server/proxy/ProxyServiceTest.java 1a9a176


Diff: https://reviews.apache.org/r/18084/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: 14.458 sec

Results :

Tests run: 7, Failures: 0, Errors: 0, Skipped: 0


Thanks,

Vitalyi Brodetskyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message