98 Commits

Author SHA1 Message Date
kansi
832ecb5e63 Handle metadata table during test setup/tear down 2017-11-09 19:17:23 +05:30
kansi
714c1782ac Support for metadata search api and its testing suite 2017-11-07 12:20:51 +05:30
kansi
94ce03cbec Decouple metadata from transaction 2017-11-07 10:50:07 +05:30
kansi
d9d0585228 Added metadata table for mongodb 2017-11-06 20:20:06 +05:30
kansi
263e9a25f6 Unique index for bigchain collection, fixed test case 2017-11-01 21:23:06 +05:30
kansi
421c67c621 Fixed mongodb tests 2017-10-27 15:31:44 +05:30
Krish
9ceea89537 Enable Auth over TLS connections (#1552)
* Changes to support auth on the infrastructure
* Auth over TLS/SSL support in BigchainDB, MongoDB, Monitoring Agent, Backup Agent
* Update certificates: Different OUs specified now
* Code formatting
- Make flake happy!
* Raise proper authentication failed error
* Documentation changes for auth
* Support auth in k8s deployment
* Commit certs for monitoring and backup agents
* Configuration to allow Cloud Manager Backup Agent to backup data
* Update docs and remove authentication error
2017-06-22 16:32:04 +02:00
Krish
f35f01f1cb Add SSL support for MongoDB connections (#1510)
* Add SSL support for MongoDB connections

* Tests for TLS connectivity and other fixes

* Add test for ssl parameters

* Add test for AuthenticationError

* Cleanup branch

* Split env vars as per @r-marques suggestion

* Remove SSL_ENABLED and use BIGCHAINDB_DATABASE_SSL instead

* Changes as per comments from @r-marques

* Remove redundant tests

* Test for ConfigurationError
2017-06-13 12:04:34 +02:00
Rodolphe Marques
00dc44721f Merge remote-tracking branch 'origin/master' into init-timeout-rethinkdb-conn 2017-06-01 14:53:44 +02:00
Rodolphe Marques
cc2e83f07d Added unit test for rethinkdb connection timeout
- Cosmetic changes
2017-06-01 14:30:20 +02:00
Scott Sadler
51be4be2f7 Merge remote-tracking branch 'origin/master' into vote-order-bug 2017-05-29 17:03:36 +02:00
Rodolphe Marques
56379e9bec fix pep8 issue 2017-05-24 12:11:40 +02:00
Rodolphe Marques
285fc03ca9 Merge remote-tracking branch 'origin/master' into feat/1462/text-search 2017-05-24 11:59:49 +02:00
Rodolphe Marques
ccaae91601 Added full text search support for mongodb.
- Create widlcard text index for the assets collection.
- Created backend query to to text search on assets collection.
- Added and updated tests.
2017-05-12 15:22:11 +02:00
Rodolphe Marques
aacba571f8 Added docstrings and tests to new methods 2017-05-11 11:38:07 +02:00
Rodolphe Marques
8c0dbeb281 Added asset decoupling support for rethinkdb
Updated schema.
Created queries for assets table.
Fixed tests.
2017-05-10 17:55:43 +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
2200a7bda4 cleanup 2017-04-24 12:21:00 +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
4f99122758 fast unspents 2017-04-19 15:47:58 +02:00
Scott Sadler
99b4777766 use MongoDBConnection.run() and fix changefeed reconnect 2017-04-13 11:12:04 +02:00
Scott Sadler
8f55febefb rethinkdb changefeed update 2017-04-13 10:53:13 +02:00
Scott Sadler
3bb5973f60 fix block order bug 2017-04-12 17:29:17 +02:00
vrde
31e95f086c
Merge branch 'feat/1281/mongodb-ssl-auth' of https://github.com/tomconte/bigchaindb into tomconte-feat/1281/mongodb-ssl-auth 2017-03-28 15:16:16 +02:00
vrde
441ad914cf
Improve test coverage 2017-03-28 11:24:16 +02:00
Rodolphe Marques
10d83c2ab9 No duplicate vote inserts with mongodb (#1258)
* prevent duplicate vote inserts
2017-03-22 14:25:16 +01:00
Thomas Conte
550b9cb804 Fix unit test 2017-03-17 13:07:15 +01:00
Thomas Conte
8526246f78 Fix unit test 2017-03-17 10:01:58 +01:00
Sylvain Bellemare
c5bad99f4e Add test for get_spent for tx with two inputs 2017-03-16 17:04:50 +01:00
Sylvain Bellemare
72ba9761d4 Use parametrized host & port in test
to support docker-based tests or different test envs
2017-03-10 19:21:25 +01:00
Sylvain Bellemare
7e0e46e820 Pass host and port to rethinkdb connection
This is needed when running the tests in containers for instance
2017-03-06 16:23:47 +01:00
vrde
c5b496b006
Merge branch 'master' into unify-mongodb-and-rethinkdb-connection 2017-03-03 13:52:56 +01:00
vrde
f21811323f
Remove unused import 2017-02-27 11:51:06 +01:00
vrde
213139d4c6
Improve tests and connection class 2017-02-27 02:54:02 +01:00
vrde
c11808ecc5
Move common stuff to generic Connection class 2017-02-23 17:20:21 +01:00
Scott Sadler
6e7534d3c2 cleanup; remove transaction_exists and has_transaction 2017-02-22 13:55:29 +01:00
Scott Sadler
fc04cd7bcd update changefeed test for update 2017-02-15 17:31:36 +01:00
vrde
2962b4a27d
Skip test 2017-02-06 18:06:19 +01:00
vrde
5604e32d57
Try once if AutoReconnect is raised 2017-02-06 16:14:14 +01:00
vrde
01da32d351
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-03 15:25:24 +01:00
vrde
7f50d76d9e
Fix test on changefeed reconnection 2017-02-03 11:58:18 +01:00
libscott
47d6b8038b Merge pull request #1131 from bigchaindb/fix-asset_id-index
Fix asset id index
2017-02-03 11:08:01 +01:00
Scott Sadler
d3e394e7ed refactor get_txids_filtered query to be more efficient and add test to check that appropriate indexes are used 2017-02-03 10:44:06 +01:00
vrde
e3a6d3d343
Add tests for connection.run 2017-02-02 19:58:00 +01:00
vrde
702d74a584
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-02 19:37:14 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
Rodolphe Marques
90eb38e7f1 Merge pull request #1088 from bigchaindb/feat/1055/commands-add-remove-replicas
BigchainDB commands to add and remove nodes from the replica set
2017-02-02 14:00:49 +01:00
Rodolphe Marques
6fd8c7a20b Feat/105/secondary indexes inputs outputs (#1125)
* Added inputs/outputs secondary indexes for rethinkdb

Added tests.

* Added inputs/outputs secondary indexes for mongodb

Fixed tests.

* fixed comment
2017-02-02 09:45:13 +01:00
vrde
157db3e01f
Fix exception in test 2017-01-31 16:59:43 +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