Commit Graph

22 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
Muawia Khan 2b39566a4b Problem: Some configurations are defunct (#2338)
* Problem: BigchainDB config has stale/deprecated parameters

- Remove `keyring` and `keypair` from config
- Update tests
- Add `tendermint` config

* Fix flake8

* Update some naming conventions and redundant changes

* Remove redundant routine `fast_query`

* Remove deprecated parameters and descriptions

* remove some more unwanted code

* Problem: Two flake8 errors made Travis fail

Solution: Fix the two flake8 errors

* Address comments

- Remove reference of nodes_except_me and me_private and me
  as attributes of BigchainDB instances
- Update and re-add test(s)
- Do not introduce `tendermint` in configuration instead handle that
  in a separate PR along with docs

* Address comments

- Remove tests that are already covered with 2.0
- Remove tests that are no longer relevant
- Add TODO for more cleanup

* Remove tendermint config from configure command
2018-06-08 15:50:50 +02:00
kansi 375cd0b499 Problem: No tests for `GET /api/v1/validators`
Solution: Add tests for the same
2018-02-27 13:31:44 +05:30
Troy McConaghy 1b6d0adc01 removed code for all /statuses endpoints 2018-02-19 12:04:10 +01:00
Sylvain Bellemare 35012a6452 Fix flake8 errors 2017-11-29 16:55:32 +01:00
muawiakh 82cd3a61ed Add metadata endpoint to info view
- Metadata search was recently added and works seamlessly
- The endpoint was not reflected in the info view i.e.
  when someone queries at root / or api/v1 endpoints.
- Handle unit tests for the change as well.
2017-11-22 18:31:35 +01:00
Sylvain Bellemare 26f14aadec Parametrize websocket api tests for docker 2017-07-03 15:23:50 +02:00
tim 673062f892 Remove host+port from / and /api/v1/ 2017-06-16 09:52:47 +02:00
Rodolphe Marques cc9c8a4d0d fixed broken test 2017-06-14 10:51:57 +02:00
Rodolphe Marques 27b1292497 Renamed `streams_v1` to `streams`
- Updated tests
- Updated documentation
2017-06-12 17:39:49 +02:00
Rodolphe Marques e0e27dc121 Consolidate root urls
- All information added to root url `/`
- Information specific to v1 under `/api/v1`
- Removed `_links`
- Removed `self`
2017-06-12 15:13:42 +02:00
Troy McConaghy d7ccc7c00f Merge branch 'master' into docs/1170/move-http-api-docs-to-top-level-section 2017-04-18 14:34:53 +02:00
Troy McConaghy 8964ba33b4 updated links to the HTTP API docs in this repo 2017-04-10 15:14:18 +02:00
vrde be3f62dd10
Update endpoints and docs 2017-04-07 14:57:11 +02:00
vrde f23faaa65f
Add WebSocket server 2017-04-07 09:16:22 +02:00
Rodolphe Marques 96daa98699
Adverstise Event stream api in api info endpoint.
Updated tests.
2017-04-07 08:42:22 +02:00
Troy McConaghy f2a05c9e3b Fixed the docs URL in HTTP API responses 2017-02-09 11:10:58 +01:00
Scott Sadler 990d863dc7 tests for informational endpoints 2017-01-06 14:46:40 +01:00
Scott Sadler 80f3bb3809 /api/v1/ informational endpoint 2017-01-06 14:46:40 +01:00
troymc 29d783425d Remove or comment-out the api_endpoint setting everywhere 2016-11-15 17:05:09 +01:00
tim 85eccb48be Test file for info.py 2016-11-15 12:05:54 +01:00