2092 Commits

Author SHA1 Message Date
Sylvain Bellemare
65dab4f2eb Group std lib imports together (pep 8) 2016-12-15 15:51:09 +01:00
Ryan Henderson
d8256d50f2 remove rethinkdb calls (#953)
* remove rethinkdb calls from db/conftest.py
2016-12-15 14:16:30 +01:00
Rodolphe Marques
588d6eb177 Merge pull request #939 from bigchaindb/feat/905/abstract-db-changefeed
Feat/905/abstract db changefeed
2016-12-14 15:09:46 +01:00
Rodolphe Marques
3cfe8cb160 fixed typo 2016-12-14 13:28:37 +01:00
Rodolphe Marques
14a2c13a06 Removed get_old_transactions
Fixed tests.
2016-12-14 13:12:47 +01:00
Rodolphe Marques
976a3e8254 Merge remote-tracking branch 'origin/master' into feat/905/abstract-db-changefeed 2016-12-14 12:43:47 +01:00
Ryan Henderson
f725279a51 remove old tx recovery on block process start (#903) 2016-12-14 12:33:47 +01:00
libscott
dcede16aae Merge pull request #944 from bigchaindb/docs-warnings-as-errors
Treat warnings as errors in documentation builds
2016-12-13 16:59:52 +01:00
Rodolphe Marques
530681c905 Re-added the get_changefeed methos in the pipelines.
Fixed tests.
Fixed typos.
2016-12-13 15:11:25 +01:00
Scott Sadler
ec31fdeb30 treat warnings as errors in documentation builds 2016-12-13 14:55:46 +01:00
libscott
01c8eb389e Merge pull request #943 from bigchaindb/fix/package_data-yaml
include all .yaml files in package_data
2016-12-13 14:34:59 +01:00
Scott Sadler
731341a43e include all .yaml files in package_data 2016-12-13 14:28:00 +01:00
Brett Sun
0c831e6171 Upgrade python-rapidjson to 0.0.8 (#922) 2016-12-13 14:21:33 +01:00
Troy McConaghy
f75e9e9c0d Merge pull request #929 from bigchaindb/update-cryptography-page-in-docs
Updated the Cryptography page in the docs
2016-12-13 14:18:56 +01:00
troymc
0e100e405c There's no standard for Base58 encoding. 2016-12-13 14:10:18 +01:00
Sylvain Bellemare
7f143dbf57 Add watchdog lib to dev requirements 2016-12-13 13:31:00 +01:00
Rodolphe Marques
d246a1498f Added some tests for changefeed generics
pepify import
googlify docstring
2016-12-13 12:46:52 +01:00
Sylvain Bellemare
dc5fd211c3 Mount Makefile in container 2016-12-13 11:52:56 +01:00
Sylvain Bellemare
d8db71c72e Add Makefile for clean up tasks, etc 2016-12-13 11:52:56 +01:00
Sylvain Bellemare
caeea09d33 Put std lib import at the top 2016-12-13 11:50:04 +01:00
Rodolphe Marques
8c46e40761 fixed documentation 2016-12-13 11:40:20 +01:00
Rodolphe Marques
007b574eb8 fixed missing import 2016-12-13 11:27:29 +01:00
Rodolphe Marques
e303e355db Delete outdated pipelines/utils.py
Reorganized and fixed tests.
2016-12-13 11:17:24 +01:00
Rodolphe Marques
134f9e85a0 Updated vote pipeline to use the changefeed abstraction
Fixed tests.
2016-12-13 11:16:37 +01:00
Rodolphe Marques
f09285d32f Fixed some code typos
Changed election pipeline to use the new changefeed abstraction
2016-12-13 11:16:29 +01:00
Rodolphe Marques
8266dfadb0 Fixed typos
Fixed failing test
2016-12-13 11:15:49 +01:00
Rodolphe Marques
dbf53c80e7 Removed rethinkdb dependencies in pipelines.block 2016-12-13 11:15:26 +01:00
Rodolphe Marques
341f43267a Initial implementation of the changefeed abstraction 2016-12-13 11:14:25 +01:00
Sylvain Bellemare
9f57d57f24 Test rethinkdb and mongodb in separate travis jobs 2016-12-13 10:25:47 +01:00
Sylvain Bellemare
b6293702ce Add todo note about not installing db drivers 2016-12-13 10:22:52 +01:00
Sylvain Bellemare
2486fb3d39 Add pymongo in install requirements 2016-12-13 10:22:52 +01:00
Sylvain Bellemare
2f4ee4d8b9 Set default of database-backend to env var if set 2016-12-13 10:22:39 +01:00
Sylvain Bellemare
b2c6474d35 Parametrize backend config 2016-12-13 10:22:39 +01:00
Troy McConaghy
4493c17476 Merge pull request #930 from bigchaindb/fix-links-in-docs
Fixed broken & redirecting links in the docs
2016-12-12 18:41:47 +01:00
Brett Sun
d7d223801d Add configuration documentation for new database.backend setting (#934) 2016-12-12 18:31:34 +01:00
Sylvain Bellemare
8a68e24e69 Abstract db layer cherrypick docs (#932)
* Add README.md to tests/ to describe test structure and pytest customizations

* Add package-level docstrings to backends

* Add README.md explaining the backend architecture

* Small improvements to docstrings in backend modules

* Restructure the backend automodule docs

* Add more docstrings to backend connections

* Add init to base backend Connection class to document expected interface

* Reword the backend/README.md docs
2016-12-12 18:28:43 +01:00
Sylvain Bellemare
4c3d5f0e2b Merge pull request #788 from bigchaindb/abstract-db-layer
Abstract database interface
2016-12-12 17:45:19 +01:00
Sylvain Bellemare
24a701096d Filter out block id 2016-12-12 17:38:41 +01:00
Sylvain Bellemare
ff583c5546 Test generic backend functions 2016-12-12 17:38:28 +01:00
Brett Sun
5f9c0f7b1b Fix docstring rst errors in the backend modules 2016-12-12 16:07:41 +01:00
Scott Sadler
448ee87944 flatten transaction - code changes 2016-12-12 16:07:41 +01:00
Scott Sadler
32c8b65f08 Remove metadata uuid 2016-12-12 16:07:41 +01:00
Brett Sun
345fc27a39 Remove durability from all database-related calls 2016-12-12 16:07:41 +01:00
Sylvain Bellemare
b9cfc5d9a2 Sync up with master 2016-12-12 15:53:56 +01:00
Sylvain Bellemare
49fca5cf3f Fix tests 2016-12-12 15:53:56 +01:00
vrde
2a820b46f3 Add connection Class 2016-12-12 15:53:56 +01:00
vrde
95b353459d Add pytest option to switch backend in tests 2016-12-12 15:53:56 +01:00
vrde
0a14f97a18 Add option to switch backend 2016-12-12 15:53:56 +01:00
vrde
6814b06c7b Add db connection info to logging 2016-12-12 15:53:56 +01:00
vrde
a634aea5a7 Add logging statement 2016-12-12 15:53:56 +01:00