Commit Graph

24 Commits

Author SHA1 Message Date
codegeschrei dd84d4eb6f Problem: There are unnecessary markers (#2522)
* Problem: we have unused and outdated fixtures
Solution: clean up fixtures and tests accordingly

* Problem: there are still unused fixtures
Solution: remove Merlin keys

* Problem: There are unnecessary markers
Solution: remove the tendermint marker for tests
2018-09-10 09:53:18 +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
Lev Berman 89b28b8471 Remove unsupported backends (#2289)
* Problem: RethinkDB, change feed, old mongo, admin interface are not supported any longer.

Solution: Remove unsupported functionality. Bring the MongoDB backend implementation completely to the localmongodb package. Fix the test setup.

* Problem: Nothing depends on multipipes any longer.

Solution: Remove multipipes from setup.py.

* Problem: The how-to-run-tests doc uses --database-backend.

Solution: Do not include the --database-backend option into the documented pytest usage.

* Problem: The backends docs are outdated.

Solution: Document MongoDB as the default and only backend for BigchainDB.

* Problem: The inputs fixtures uses old blocks API.

Solution: Change the inputs fixtures to use the new blocks API.

* Problem: rethinkdb package is not used anymore.

Solution: Remove the rethinkdb dependency from setup.py.

* Problem: The abci-marked tests use outdated Mongo conn.

Solution: Replace MongoDBConnection with LocalMongoDBConnection for them.
2018-05-23 11:34:00 +02:00
kansi d9d0585228 Added metadata table for mongodb 2017-11-06 20:20:06 +05:30
Scott Sadler 51be4be2f7 Merge remote-tracking branch 'origin/master' into vote-order-bug 2017-05-29 17:03:36 +02:00
Rodolphe Marques 23954ccc8a Merge remote-tracking branch 'origin/master' into feat/1275/asset-decoupling 2017-05-24 12:44:04 +02:00
Rodolphe Marques 92392b51a7 Initial implementation to decouple assets from transactions.
Most changes done to how we write and read blocks to the database.
Created schema, indexes and queries for mongodb.
Fixed tests.
2017-05-10 16:43:52 +02:00
Scott Sadler 5d767c1162 light refactoring to remove some redundancies and fix test coverage 2017-04-21 12:23:53 +02:00
Scott Sadler 3bb5973f60 fix block order bug 2017-04-12 17:29:17 +02:00
Scott Sadler 6e7534d3c2 cleanup; remove transaction_exists and has_transaction 2017-02-22 13:55:29 +01:00
Rodolphe Marques c9af57943b Merge remote-tracking branch 'origin/master' into feat/1055/commands-add-remove-replicas 2017-01-31 16:29:18 +01:00
Rodolphe Marques 426b02a3f1 Merge pull request #1082 from bigchaindb/feat/1057/mongodb-configure
Update configure command to support multiple backends
2017-01-31 16:21:35 +01:00
Rodolphe Marques 555745abbf fixed pep8 issue 2017-01-31 10:04:45 +01:00
Rodolphe Marques 86542fd745 remove unnecessary test 2017-01-31 09:58:20 +01:00
Rodolphe Marques 391da2cf60 Added tests 2017-01-25 12:36:08 +01:00
Rodolphe Marques f12264773c bigchaindb configure now requires a positional backend argument.
Created and fixed tests.
Updated `b` fixture
2017-01-23 16:49:59 +01:00
Scott Sadler dbb3414fd0 generalise get_txids_by_asset_id into get_txids_filtered and remove get_transactions_by_asset_id 2017-01-18 15:42:47 +01:00
Sylvain Bellemare 4d6df06236 Resolves #948 2017-01-16 07:12:25 -05:00
Brett Sun 2882bee48e Small flake8 fixes for tests (#987) 2016-12-22 11:57:13 +01:00
Rodolphe Marques c1a5d5e86f Merge remote-tracking branch 'origin/master' into docker-mongo 2016-12-16 12:54:42 +01:00
Rodolphe Marques 14a2c13a06 Removed get_old_transactions
Fixed tests.
2016-12-14 13:12:47 +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 b87baaaa1d Test backend.schema.init_database 2016-12-13 11:59:57 +01:00
Sylvain Bellemare 24a701096d Filter out block id 2016-12-12 17:38:41 +01:00