synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushan Sachinda Abeyruwan (JIRA)" <>
Subject [jira] [Updated] (SYNAPSE-936) Need an Implementation of the HttpGetRequestHandler Interface for the PassThrough Transport
Date Sat, 13 Jul 2013 17:59:48 GMT


Dushan Sachinda Abeyruwan updated SYNAPSE-936:

    Attachment: patch_get_processor_basic.txt

 Please find the Get processor basic implementation, did test with RESTful get invocation
with PPT and was able to access those the services,
  mean time I have noticed that there still bug exiting please refer the following configuration

<api xmlns="" name="RestAPI" context="/jaxrs">
   <resource methods="GET" uri-template="/orders/{id}">
               <address uri="http://localhost:9765/jaxrs_sample_02/services/Starbucks_Outlet_Service"/>
   <resource methods="POST">
               <address uri="http://localhost:9765/jaxrs_sample_02/services/Starbucks_Outlet_Service"/>

client invokes,

curl -v -X GET  http://localhost:8280/jaxrs/orders/123

monitored via tcpmon

GET /jaxrs_sample_02/services/Starbucks_Outlet_Service/jaxrs/orders/123 HTTP/1.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept: */*
Connection: Keep-Alive

and if closely looking to the issue [/jaxrs_sample_02/services/Starbucks_Outlet_Service/jaxrs/orders/123
] prefix rendering is wrong, instead it should be rendered as 

[/jaxrs_sample_02/services/Starbucks_Outlet_Service/orders/123 HTTP/1.1]

I know this is a known issue in earlier  API implementation and belive the patch has been
provided, so we better apply those patches ASAP.


> Need an Implementation of the HttpGetRequestHandler Interface for the PassThrough Transport
> -------------------------------------------------------------------------------------------
>                 Key: SYNAPSE-936
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: NIGHTLY
>            Reporter: Hiranya Jayathilaka
>            Priority: Blocker
>         Attachments: patch_get_processor_basic.txt
> Currently there is no default implementation for the above interface and hence the PT
transport cannot handle any GET requests.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message