2229 Commits

Author SHA1 Message Date
Rodolphe Marques
aa6d4fdcc8 small fix to test 2017-01-10 15:31:16 +01:00
Rodolphe Marques
f4bbf27815 fix indentation error 2017-01-09 16:28:20 +01:00
Rodolphe Marques
24c1f8d804 mongodb at the end of travis matrix 2017-01-09 14:15:01 +01:00
Rodolphe Marques
abf77c04ee Omit mongod log messages.
MongoDB failures no longer allowed
2017-01-09 14:10:49 +01:00
Rodolphe Marques
9bc658b833 fix travis mongodb integration 2017-01-09 14:03:57 +01:00
Rodolphe Marques
c6ea345d86 Updated mongodb queries to work with new transaction model. 2017-01-09 13:49:55 +01:00
Rodolphe Marques
8926178e52 initialize replica set for tests 2017-01-09 13:32:17 +01:00
Rodolphe Marques
7f05974f0f Added a secondary index with uniqueness constraint in backlog.
Several test fixes
2017-01-09 13:25:42 +01:00
Rodolphe Marques
595f7dc701 several fixes to mongodb queries 2017-01-09 13:25:27 +01:00
Trent McConaghy
af39e204c9 "ascribe" -> "BigchainDB" 2017-01-07 11:31:51 +01:00
libscott
f9ed5690a7 Merge pull request #1022 from bigchaindb/flask_routes
Collect http routes into single module
2017-01-06 13:50:56 +01:00
libscott
32930ab4d3 Remove blank line at end of file 2017-01-06 13:43:12 +01:00
Scott Sadler
1d234d3811 collect http routes into single module 2017-01-05 13:31:05 +01:00
libscott
3d74bfbb89 Merge pull request #1014 from bigchaindb/884/sha3-2015
update pysha3 to 1.0b1, sha3 NIST 2015 standard
2017-01-05 11:58:49 +01:00
Scott Sadler
6d3fa10e20 use pysha3 1.0.0 2017-01-05 10:19:20 +01:00
Rodolphe Marques
8e99d18fd6 Merge pull request #994 from bigchaindb/feat/927/implement-mongodb-changefeed
[WIP] Implement mongodb changefeed
2017-01-04 17:10:46 +01:00
Troy McConaghy
70390dd748 Merge pull request #1015 from bigchaindb/feat/843/option-to-disable-web-admin-on-aws
Added ENABLE_WEB_ADMIN config setting to AWS depl. configs
2017-01-04 16:29:34 +01:00
Rodolphe Marques
1b3c909d51 Fixed mongodb queries
Fixed some tests
2017-01-04 15:43:17 +01:00
Rodolphe Marques
ea4d01dec0 Simplify code.
Pop the `_id` when receiving the document on the changefeed
2017-01-04 13:27:08 +01:00
troymc
ca14321a3e Added ENABLE_WEB_ADMIN config setting to AWS depl. configs 2017-01-03 17:05:24 +01:00
Scott Sadler
eeef08a43a mention version of pysha3 and link to pypi page instead 2017-01-03 17:04:43 +01:00
Scott Sadler
c31feaf83d update pysha3 to 1.0b1, sha3 NIST 2015 standard 2017-01-03 16:55:28 +01:00
Rodolphe Marques
0d11c3a7a8 simplify update transaction 2017-01-03 15:54:06 +01:00
Rodolphe Marques
3529bf9114 Fixed mongodb queries to work with pipelines.
Added some logging to the pipeline processes
2017-01-03 15:09:23 +01:00
Brett Sun
8fa3245309 Rename any *util.py to *utils.py (#991) 2016-12-22 17:39:39 +01:00
Brett Sun
438958fdea Rename builtin-in input override in commands (#988)
* Rename commands.bigchain.input to input_on_stderr to avoid confusion

* Allow input_on_stderr to not take a prompt

* Fix tests broken by renaming of commands.bigchaindb.input
2016-12-22 17:03:53 +01:00
Rodolphe Marques
0fdcff90f9 Remove uniqueness constraint of mongodb secondary indexes. 2016-12-22 15:49:20 +01:00
Rodolphe Marques
0f88776537 small fixes to the mongodb changefeed 2016-12-22 15:43:22 +01:00
Rodolphe Marques
a0952df9fb fixed mongodb queries to return genesis block and last voted block 2016-12-22 14:30:19 +01:00
Rodolphe Marques
9f738cd58d re-enable changefeed for mongodb 2016-12-22 14:18:31 +01:00
libscott
5190e0a682 Merge pull request #925 from bigchaindb/inputs-outputs
Inputs & Outputs
2016-12-22 13:52:19 +01:00
Scott Sadler
04a78aacec Merge remote-tracking branch 'origin/master' into inputs-outputs 2016-12-22 13:45:02 +01:00
Rodolphe Marques
00458cfa68 Initial implementation of the mongodb changefedd 2016-12-22 12:07:36 +01:00
Brett Sun
2882bee48e Small flake8 fixes for tests (#987) 2016-12-22 11:57:13 +01:00
Brett Sun
9319583ab4 Remove Asset and AssetLink (#982)
* Remove asset.validate_asset and move its validation checks to other areas

* Move Asset.get_asset_id to Transaction

* Remove Asset and AssetLink models

* Add test against creating TRANSFER transactions with bad asset
2016-12-22 10:19:21 +01:00
Sylvain Bellemare
44391da94a Add genesis block fixture and marker 2016-12-21 17:45:14 +01:00
Rodolphe Marques
5017ece84c Merge pull request #983 from bigchaindb/feat/980/initialise-replica-set-mongo
Initialize mongodb replica set
2016-12-21 17:26:22 +01:00
Rodolphe Marques
9c0d696b7e Better unittests
Simplify code
2016-12-21 16:52:57 +01:00
Rodolphe Marques
5fedabe586 fix test 2016-12-21 15:55:29 +01:00
Rodolphe Marques
1dd6c748b9 Merge remote-tracking branch 'origin/master' into feat/980/initialise-replica-set-mongo 2016-12-21 15:54:02 +01:00
Rodolphe Marques
4a14c7c8f1 Initialize replica set for mongodb when running bigchaindb init 2016-12-21 15:53:25 +01:00
Sylvain Bellemare
3a7fe30a31 Add description for bdb marker 2016-12-20 20:37:28 +01:00
Sylvain Bellemare
57b14c3062 Rename db_name to dbname 2016-12-20 20:37:28 +01:00
Sylvain Bellemare
7db02fa024 Get config from bigchaindb not from fixture
the fixture no longer returns the config, and is meant only to set the
config
2016-12-20 20:37:28 +01:00
Sylvain Bellemare
a269375278 Use pytest custom marker "bdb"
note that the marker, although invoked for the entire module, will be
applied for each function
2016-12-20 20:37:28 +01:00
Sylvain Bellemare
f6a55c78af Implement test utils function to flush mongo db 2016-12-20 20:37:28 +01:00
Sylvain Bellemare
18d5a49097 Take env var value if set for db port 2016-12-20 20:37:28 +01:00
Sylvain Bellemare
11271738f3 Remove unnecessary fixture
it was needed when the root fixture was using autouse
2016-12-20 20:37:28 +01:00
Sylvain Bellemare
fa79fe6783 Add session scope test setup for config and db
resolves #966
2016-12-20 20:37:28 +01:00
Rodolphe Marques
83d37d699f Merge pull request #979 from bigchaindb/bug-mongodb-write-block
fix mongodb write_block
2016-12-20 19:07:15 +01:00