Commit Graph

22 Commits

Author SHA1 Message Date
David Dashyan 9e99c024d3
Replace headers (#2683)
Signed-off-by: David Dashyan <mail@davie.li>
2020-04-06 11:52:18 +02:00
Troy McConaghy 20e6c6a686
Update acceptance Dockerfile to use latest Python driver (#2594)
* Update acceptance Dockerfile to use latest Python driver

* Fixed four Flake8 errors
2018-11-03 17:34:36 +01:00
vrde 4b54e702f8 Problem: Events API is unreliable (#2529)
Solution: Stop getting events from the Tendermint events API. Get the
event right before returning from the COMMIT phase of Tendermint, and
publish it to the events queue.
2018-09-12 16:55:23 +02:00
vrde 41a2687b9b Problem: websocket fails with ELECTION transaction (#2482)
Solution: have a more general approach to process transaction types. If
a transaction does *not* contain `asset.id`, then the `id` of the
`asset` is the `id` of the transaction.
2018-08-27 15:00:02 +02:00
Troy McConaghy abdd23f5a6 Problem: Source files contain no license info (#2455)
* Problem: Source files contain no license info

Solution: Add comments with SPDX license info to source files

* Python 3 files don't need # -*- coding: utf-8 -*-
2018-08-16 12:31:32 +02:00
vrde af2bf61dc8 Problem: websocket might be unresponsive (#2413)
Solution: It might be related on how aiohttp 2.x handles `send_str`.
AFAIK the call `send_str` was not "fully async". In aiohttp 3.x they
[changed it][1]:

> send_str(), send_bytes(), send_json(), ping() and pong() are genuine
async functions now. (#2475)

So this patch adds support for aiohttp 3.x, and uses the `send_str`
coroutine.

[1]: https://github.com/aio-libs/aiohttp/blob/master/HISTORY.rst#deprecations-and-removals-1
2018-07-26 15:30:10 +02:00
vrde 2087f7090f Problem: abruptly closed sockets still in memory (#2408)
Solution: Catch the proper exception and remove socket from memory.
2018-07-26 15:29:53 +02:00
Vanshdeep Singh ea8ac4b80e Problem: Event stream api crashing (#2173)
Solution: Fix Exchange initialization
2018-04-03 14:57:44 +02:00
vrde e242345327
Remove sample code 2017-11-09 15:59:02 +01:00
vrde c4e0a8e1db
Handle WS CLOSE properly 2017-11-09 14:15:46 +01:00
vrde 0b4c067129 Merge pull request #1540 from bigchaindb/handle-exception-if-conn-closed
Add exception handling
2017-06-22 14:03:54 +02:00
vrde 55e766ce07
Add exception handling 2017-06-14 11:49:05 +02:00
Rodolphe Marques f1a9650679 Consistent naming on the events api 2017-06-14 10:36:23 +02:00
vrde f94a1e020c
Dispatcher is a consumer, no capped queue needed 2017-04-18 16:13:03 +02:00
vrde 414d915033
Snakecaseify keys 2017-04-13 08:54:34 +02:00
vrde be3f62dd10
Update endpoints and docs 2017-04-07 14:57:11 +02:00
vrde aeb8827e30
Use try..except..else 2017-04-07 14:07:24 +02:00
vrde d260e16f11
Add configuration for websocket server 2017-04-07 10:51:00 +02:00
vrde f23faaa65f
Add WebSocket server 2017-04-07 09:16:22 +02:00
vrde 64a033b17a
Code cleanup, rename some vars 2017-04-07 08:42:22 +02:00
vrde 83397de397
Add more tests and utils 2017-04-07 08:42:22 +02:00
vrde 5d39b42b7a
Add dependencies and first test 2017-04-07 08:42:22 +02:00