[ 
https://issues.apache.org/jira/browse/THRIFT-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14501713#comment-14501713
 ] 

ASF GitHub Bot commented on THRIFT-2820:
----------------------------------------

Github user uvwxy commented on the pull request:

    https://github.com/apache/thrift/pull/413#issuecomment-94244430
  
    Hi Henrique,
    
    the dependecy is only needed when $http is not initialised correctly. In 
this case I fall back to the jqRequest mechanism to complete the tests.


> Implement an alternative Transport for JS using the AngularJS $http-service
> ---------------------------------------------------------------------------
>
>                 Key: THRIFT-2820
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2820
>             Project: Thrift
>          Issue Type: New Feature
>          Components: JavaScript - Library
>    Affects Versions: 0.9.2
>         Environment: AngularJS, Browser
>            Reporter: David Sautter
>            Priority: Minor
>              Labels: features
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Since the architecture of the Thrift-library for Javascript-clients allows us 
> to use custom Transports, I would like to have a Transport using the 
> AngularJS $http-service. This would allow us to mock a Thrift Server in Tests 
> as well as intercepting and customizing Thrift requests (e.g. authentication).
> The Tansport can be included into your AngularJS App via a module so that you 
> can use it to instantiate your clients.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to