Commit Graph

  • 2ee8d78606 Add package-level docstrings to backends Brett Sun 2016-12-08 16:43:59 +01:00
  • 4a0df4943e Add README.md to tests/ to describe test structure and pytest customizations Brett Sun 2016-12-08 14:34:45 +01:00
  • 4c3d5f0e2b Merge pull request #788 from bigchaindb/abstract-db-layer Sylvain Bellemare 2016-12-12 17:45:19 +01:00
  • 24a701096d Filter out block id Sylvain Bellemare 2016-12-12 17:26:30 +01:00
  • ff583c5546 Test generic backend functions Sylvain Bellemare 2016-12-12 15:44:39 +01:00
  • 5f9c0f7b1b Fix docstring rst errors in the backend modules Brett Sun 2016-12-08 16:46:07 +01:00
  • 448ee87944 flatten transaction - code changes Scott Sadler 2016-11-23 10:01:44 +01:00
  • 32c8b65f08 Remove metadata uuid Scott Sadler 2016-11-23 10:40:48 +01:00
  • 345fc27a39 Remove durability from all database-related calls Brett Sun 2016-12-06 14:27:39 +01:00
  • b4781db4f8 Merge branch 'abstract-db-layer' into mongo-utils ryan 2016-12-12 15:59:38 +01:00
  • b9cfc5d9a2 Sync up with master Sylvain Bellemare 2016-12-12 11:54:08 +01:00
  • 49fca5cf3f Fix tests Sylvain Bellemare 2016-12-08 16:57:56 +01:00
  • 2a820b46f3 Add connection Class vrde 2016-11-29 13:57:51 +01:00
  • 95b353459d Add pytest option to switch backend in tests vrde 2016-12-09 10:09:59 +01:00
  • 0a14f97a18 Add option to switch backend vrde 2016-12-06 16:17:26 +01:00
  • 6814b06c7b Add db connection info to logging vrde 2016-12-08 11:08:35 +01:00
  • a634aea5a7 Add logging statement vrde 2016-12-08 10:33:05 +01:00
  • 3c3c1ce880 Improve tests for class initialization vrde 2016-12-07 11:50:47 +01:00
  • d6703e10f3 Remove unnecessary 'backend' setting from test's configuration as it's provided now by a pytest option Brett Sun 2016-12-07 17:51:16 +01:00
  • b51a59e503 Use as the argument name for for clarity Brett Sun 2016-12-07 15:31:27 +01:00
  • ad65e86131 Rename to in schema function arguments to for consistency Brett Sun 2016-12-07 15:29:08 +01:00
  • 3555b7ef94 Add argument to allow an existing connection to be reused when initializing the database Brett Sun 2016-12-07 09:58:46 +01:00
  • af243907dd Fix wrong argument order for python 3.4 Brett Sun 2016-12-06 16:10:44 +01:00
  • ae52e015ce Fix changefeed tests that were mocking the wrong thing Brett Sun 2016-12-06 16:05:17 +01:00
  • 27eaae01a7 Fix base connection's run query interface Brett Sun 2016-12-06 16:05:01 +01:00
  • 8ffdd6a2ce Fix rethinkdb schema index test Brett Sun 2016-12-06 15:31:52 +01:00
  • 9a7e695e18 Fix tests still relying on being able to access removed attribute of the Bigchain class Brett Sun 2016-12-06 15:08:19 +01:00
  • ccd8e74868 Fix initialization-related tests for rethinkdb schema Brett Sun 2016-12-06 15:06:01 +01:00
  • 32b6c50d63 Fix usage of backend functions that weren't getting a connection passed in Brett Sun 2016-12-06 14:38:38 +01:00
  • 8caeed54bf Fix backend module dispatch error tests broken from renaming Brett Sun 2016-12-06 14:28:53 +01:00
  • 2657226573 Fix Bigchain class tests due to changes to internal attributes Brett Sun 2016-12-06 14:23:17 +01:00
  • 597cd778e9 Fix interactive drop database commands Brett Sun 2016-12-06 14:22:13 +01:00
  • dc31f7f607 Fix small module issues related to rethinkdb schema tests Brett Sun 2016-12-06 14:21:14 +01:00
  • 108b5cba30 Fix tests broken by adding a 'backend' key to the config Brett Sun 2016-12-06 14:18:41 +01:00
  • da71b3d84b Fix backend module dispatch decorator tests broken from renaming Brett Sun 2016-12-06 14:17:07 +01:00
  • 941b47d1ac Fix misc tests affected by changes related to database abstraction Brett Sun 2016-12-05 20:13:12 +01:00
  • 9e3bca7e85 Fix schema-related database tests Brett Sun 2016-12-05 20:11:40 +01:00
  • 9ca7f9f270 Move tests/db/test_utils.py to rethinkdb-only schema test Brett Sun 2016-12-05 19:44:36 +01:00
  • fc533bb158 Fix tests for bigchaindb commands Brett Sun 2016-12-05 20:10:35 +01:00
  • 9946147f77 Fix bigchaindb/commands for new connection and database interfaces Brett Sun 2016-12-05 20:07:57 +01:00
  • c6acd8e1f5 Add generic init_database() function to set up database schema Brett Sun 2016-12-05 20:19:26 +01:00
  • 4343a9297c Add docstrings for database schema interface Brett Sun 2016-12-06 10:32:32 +01:00
  • c5d55783fa Move docstrings out of rethinkdb/query.py implementation into interface Brett Sun 2016-12-06 10:32:15 +01:00
  • c9766b5e92 Generalize naming of module dispatch decorator factory Brett Sun 2016-12-06 10:15:13 +01:00
  • eda1c1bf55 Rename backend implementation decorators to be aligned with their action of registering functions Brett Sun 2016-12-06 10:01:45 +01:00
  • 6e14a63291 Add backlog and votes secondary indexes to rethinkdb's create_index() Brett Sun 2016-12-05 19:56:53 +01:00
  • 9c102aa140 Add todos Sylvain Bellemare 2016-12-05 20:15:58 +01:00
  • d43e77ce4a Add docs for backend Sylvain Bellemare 2016-12-05 15:25:27 +01:00
  • 67af0deaae Remove unused exception variable Sylvain Bellemare 2016-12-05 17:06:15 +01:00
  • 261fe8ebf6 Remove superfluous else Sylvain Bellemare 2016-12-05 17:05:10 +01:00
  • be8f3dc69d Remove superfluous parentheses Sylvain Bellemare 2016-12-05 15:21:58 +01:00
  • cd8d038a83 End sentence with period :) Sylvain Bellemare 2016-12-05 15:12:51 +01:00
  • 2be623221f Add line between std lib & 3rd party imports Sylvain Bellemare 2016-12-05 14:44:04 +01:00
  • b8bc1a5af9 Rename test module to plural form --> utils Sylvain Bellemare 2016-12-05 14:38:12 +01:00
  • 8c1dbc86a0 Import std libs at the top Sylvain Bellemare 2016-12-05 14:19:12 +01:00
  • f341bd1586 Rename backend.util to backend.utils Sylvain Bellemare 2016-12-05 13:47:16 +01:00
  • d4da573389 Sync query interface with rethinkdb implementation based on latest changes Brett Sun 2016-12-02 18:31:38 +01:00
  • 75ef0f2fda Import the backend interfaces on module import Brett Sun 2016-12-02 18:30:09 +01:00
  • ab18203b7c Register rethinkdb backend implementation to backend interface dispatchers Brett Sun 2016-12-02 17:29:57 +01:00
  • daa0fe1f51 Add utility decorator for registering backend dispatches based on modules Brett Sun 2016-12-02 17:29:14 +01:00
  • 2eb83b9993 Remove unnecessary export of base Connection from backend/ Brett Sun 2016-12-02 15:04:43 +01:00
  • dabb81ac98 Replace cherrypicked class-based architecture with singledispatch Brett Sun 2016-12-02 14:44:27 +01:00
  • 1d0a7d2153 Remove remnants of db/ folder Brett Sun 2016-12-02 14:42:45 +01:00
  • a08ba013a0 Remove dependency from bigchaindb.config vrde 2016-12-06 10:03:33 +01:00
  • 87c7228bc4 Add docstring, fix name vrde 2016-12-05 14:41:22 +01:00
  • 26c844ec22 Add defaults, fix import vrde 2016-12-05 14:17:19 +01:00
  • 2fd0aeca9f Add error handling vrde 2016-12-05 14:09:40 +01:00
  • c9a3d01112 Move db/ files into backend/ Brett Sun 2016-12-02 14:24:40 +01:00
  • 24e374b860 Cherrypick from class based architecture vrde 2016-11-03 17:30:19 +01:00
  • 4549e2ee4a Update BigchainDB core class vrde 2016-11-29 14:18:22 +01:00
  • 53fb9f3d5f Add connection Class vrde 2016-11-29 13:57:51 +01:00
  • 9615ac22ae Create new modules layout vrde 2016-11-28 16:51:03 +01:00
  • 9fb29f9097 Test generic backend queries Sylvain Bellemare 2016-12-12 15:44:39 +01:00
  • ca4fc88651 Merge pull request #865 from bigchaindb/vote-schema libscott 2016-12-12 15:22:18 +01:00
  • 98ca6ee5ab always try to include all operands on the first level of the statement Scott Sadler 2016-12-09 13:44:19 +01:00
  • a635838c58 few style changes for vote-schema.py Scott Sadler 2016-12-09 11:34:42 +01:00
  • 4f83fce39d address some PR comments on coding style Scott Sadler 2016-12-09 10:00:42 +01:00
  • ea6ae4db20 revert data-models/vote-model documentation Scott Sadler 2016-12-09 09:49:27 +01:00
  • d9bc90e5aa Imports inside tests in test_consensus.py libscott 2016-12-07 15:06:49 +01:00
  • 94df6fc00a merge test_schema tests and tweak Data Models documentation index Scott Sadler 2016-12-01 16:07:31 +01:00
  • 624a0c972a remove misplaced docs/generate Scott Sadler 2016-12-01 16:00:09 +01:00
  • 7cb6c8913b unversion vote.rst since it's JITted now Scott Sadler 2016-12-01 15:55:24 +01:00
  • a690fbee53 documentation fix for vote schema Scott Sadler 2016-11-29 17:42:16 +01:00
  • 6208a93673 fix linting issue Scott Sadler 2016-11-29 17:02:56 +01:00
  • d7e0009ce5 Drop definitions from schemas since they clutter log output Scott Sadler 2016-11-28 16:03:11 +01:00
  • e861353a73 documentation fixes for vote schema and remove vote-model.md in place of vote schema doc, and link to vote schema doc from data-models index Scott Sadler 2016-11-25 18:47:36 +01:00
  • 0f824b071f fix unclear code in drop_schema_descriptions and remove leftover print() Scott Sadler 2016-11-25 15:37:18 +01:00
  • 7453e57e7b remove descriptions from yaml schemas loaded for validating in order to reduce noise in error descriptions Scott Sadler 2016-11-25 15:12:12 +01:00
  • f2e6e4d13d add tests to get coverage of consensus.py Scott Sadler 2016-11-25 14:10:37 +01:00
  • f38028d727 basic tests for vote schema validator Scott Sadler 2016-11-25 12:13:56 +01:00
  • bfb5be3ba4 refactor schema tests into separate modules Scott Sadler 2016-11-25 12:08:35 +01:00
  • 44a43dcf94 make all tests pass after vote schema introduction Scott Sadler 2016-11-25 11:58:41 +01:00
  • ef5f3ddd28 better logging and arrangement for vote verification Scott Sadler 2016-11-25 11:26:04 +01:00
  • c43bf10151 add call to vote schema validate in consensus.py Scott Sadler 2016-11-24 16:57:21 +01:00
  • 855dc7a5e8 refactor schema __init__ slightly Scott Sadler 2016-11-24 16:37:26 +01:00
  • ecbeaa0b25 vote.id doesn't exist in server Scott Sadler 2016-11-24 16:36:38 +01:00
  • b227739d89 render schema/vote.rst Scott Sadler 2016-11-24 15:07:51 +01:00
  • 31be5b3c8a generalize generate_schema_documentation.py Scott Sadler 2016-11-24 14:39:58 +01:00
  • 0d8a53cb68 vote schema Scott Sadler 2016-11-24 13:54:09 +01:00
  • 005d09d8c1 Fix docstring rst errors in the backend modules Brett Sun 2016-12-08 16:46:07 +01:00