You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Paul Smith (JIRA)" <ji...@apache.org> on 2015/03/26 20:23:52 UTC
[jira] [Commented] (THRIFT-2820) Implement an alternative Transport
for JS using the AngularJS $http-service
[ https://issues.apache.org/jira/browse/THRIFT-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382483#comment-14382483 ]
Paul Smith commented on THRIFT-2820:
------------------------------------
I started working on this in my spare time:
https://github.com/uvwxy/thrift/commit/6e3167d568911019b543697db337846058ed47c8
> 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)