[
https://issues.apache.org/jira/browse/THRIFT-2820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-2820.
------------------------------------------
Resolution: Won't Fix
AngularJS reached end of life in December 2021 and receives no further
releases. No AngularJS transport was ever added here: there is no reference to
angular anywhere under
[lib/js|https://github.com/apache/thrift/tree/master/lib/js],
[lib/nodejs/lib|https://github.com/apache/thrift/tree/master/lib/nodejs/lib] or
[test/js|https://github.com/apache/thrift/tree/master/test/js].
Closing as Won't Fix, because the framework this transport targeted is no
longer supported, not because the idea was unwelcome. The framework-neutral
building blocks are in the tree today:
[lib/nodejs/lib/thrift/xhr_connection.js|https://github.com/apache/thrift/blob/master/lib/nodejs/lib/thrift/xhr_connection.js]
and
[lib/nodejs/lib/thrift/ws_connection.js|https://github.com/apache/thrift/blob/master/lib/nodejs/lib/thrift/ws_connection.js],
both exported from the browser bundle
[lib/nodejs/lib/thrift/browser.js|https://github.com/apache/thrift/blob/master/lib/nodejs/lib/thrift/browser.js].
If a binding for a current framework is wanted, please open a new ticket
against that framework.
> 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
(v8.20.10#820010)