2800 Commits

Author SHA1 Message Date
Krish
425397f644 NGINX frontend for MongoDB and BigchainDB (#1304)
- Added NGINX deployment to frontend both BDB and MDB.
- Nginx is configured with a whitelist (which is read from a ConfigMap)
to allow only other MDB nodes in the closter to communicate with it.
- Azure LB apparently does not support proxy protocol and hence
whitelisting fails as nginx always observer the LB IP instead of the
real IP in the TCP stream.
- Whitelisting source IPs for MongoDB
- Removing deprecated folder
- Better log format
- Intuitive port number usage
- README and examples
- Addressed a typo in PYTHON_STYLE_GUIDE.md
- Azure LB apparently does not support proxy protocol and hence
whitelisting fails as nginx always observer the LB IP instead of the
real IP in the TCP stream.
- Whitelisting source IPs for MongoDB
- Removing deprecated folder
- Multiple changes:
- Better log format
- Intuitive port number usage
- README and examples
- Addressed a typo in PYTHON_STYLE_GUIDE.md
- Documentation
- add the k8s directory to the ignore list in codecov.yml
2017-03-22 14:25:25 +01:00
Rodolphe Marques
10d83c2ab9 No duplicate vote inserts with mongodb (#1258)
* prevent duplicate vote inserts
2017-03-22 14:25:16 +01:00
Sylvain Bellemare
9987041ac0 Add note about case insensitivity of log levels 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
45ae58448f Correct wording 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
3a81270101 Add link to configuration file settings 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
4338637983 Add docs for allowed log levels for cmd line 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
d867983a89 Document cmd line option for the log level 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
05db44a636 Add documentation for log configuration 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
e4ed122a1c Correct default log datefmt for console 2017-03-21 16:17:32 +01:00
Sylvain Bellemare
f740ebc7ce Use logging module constants for levels 2017-03-21 11:12:46 +01:00
Sylvain Bellemare
87758b8a64 Re-organize imports 2017-03-21 11:12:46 +01:00
Sylvain Bellemare
eff8e3adf3 Update logging related code and tests after rebase 2017-03-21 11:12:46 +01:00
Sylvain Bellemare
53d5232be8 Remove leftover line from rebase 2017-03-21 11:12:46 +01:00
Brett Sun
f549b00813 Add tests for setting log-level from CLI 2017-03-21 11:12:46 +01:00
Brett Sun
d688e695e6 Configure logging in bigchaindb_configure decorator 2017-03-21 11:12:46 +01:00
Brett Sun
c0498abed3 Add log-level option for all CLI commands 2017-03-21 11:12:46 +01:00
Sylvain Bellemare
43f779a18b Add logging infrastructure 2017-03-20 13:54:14 +01:00
Troy McConaghy
9aa243c9f8 Merge pull request #1300 from bigchaindb/update-copyright-year-in-docs
Updated copyright year in docs footers
2017-03-20 09:38:24 +01:00
Troy McConaghy
3e0b4e7b90 Merge pull request #1301 from bigchaindb/rm-docs-load-testing-with-docker
Removed docs re: load testing with Docker
2017-03-18 22:24:04 +01:00
Troy McConaghy
516492d7d4 Merge pull request #1262 from bigchaindb/change-federation-to-consortium
Changed 'federation' to 'cluster' or 'consortium' in docs and some code
2017-03-17 14:27:35 +01:00
Troy McConaghy
da92d1e1c2 Merge branch 'master' into change-federation-to-consortium 2017-03-17 13:51:28 +01:00
Troy McConaghy
10365bae52 docs: removed docs re load testing w/ Docker 2017-03-17 13:40:06 +01:00
Andrej Svenke
3b99daa080 Docker image optimization. (#1277) 2017-03-17 12:18:20 +01:00
Troy McConaghy
d213eacd57 Merge pull request #1295 from bigchaindb/copyedit-docs-1st-node-on-k8s
Copyedited two docs pages re/ BigchainDB on Kubernetes
2017-03-17 12:06:51 +01:00
Rodolphe Marques
e97cee8c84 Merge pull request #1294 from bigchaindb/bug/1291/threshold-conditions-duplicated-pks
_sign_threshold now signs all subconditions for a public key
2017-03-17 10:32:21 +01:00
Sylvain Bellemare
94877cb9c1 Update change log 2017-03-17 09:54:14 +01:00
Troy McConaghy
ff132a9464 Updated copyright year in docs footers 2017-03-17 09:28:16 +01:00
Sylvain Bellemare
b94a9ec7e9 Fix get_spent mongodb-based query
fixes #1271
2017-03-16 17:04:50 +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
c12f08a92c Add test to reproduce false double spend
see issue #1271
2017-03-16 17:04:50 +01:00
Sylvain Bellemare
102406dd35 Add fixtures for alice, bob, and carol 2017-03-16 17:04:50 +01:00
Sylvain Bellemare
b849656d3b Use namedtuple for key pair 2017-03-16 14:58:32 +01:00
Troy McConaghy
7aa94447cd docs: copyedited 2 pages re/ node on k8s 2017-03-16 14:42:32 +01:00
Rodolphe Marques
4aa6ed1067 fixed pep8 error 2017-03-16 14:18:57 +01:00
Rodolphe Marques
f00f68e03f _sign_threshold now signs all subconditions for a public key.
Created test.
2017-03-16 14:10:04 +01:00
Krish
ea6ce5c1a1 Single node/cluster bootstrap and node addition workflow in k8s (#1278)
* Combining configs
*  Combining the persistent volume claims into a single file.
*  Combining the storage classes into a single file.

* Updating documentation

* Multiple changes
*  Support for ConfigMap
*  Custom MongoDB container for BigchainDB
*  Update documentation to run a single node on k8s

* Additional documentation

* Documentation to add a node to an existing BigchainDB cluster

* Commit on rolling upgrades

* Fixing minor documentation mistakes

* Documentation updates as per @ttmc's comments

* Block formatting error

* Change in ConfigMap yaml config
2017-03-15 16:22:49 +01:00
Troy McConaghy
a9f0f9de54 Merge pull request #1261 from bigchaindb/rm-bigchaindb-load-stuff-from-aws-scripts
Removed all stuff related to 'bigchaindb load' in AWS scripts
2017-03-15 16:19:13 +01:00
Troy McConaghy
b0f40894c1 Merge pull request #1283 from bigchaindb/az-acs-tip
Tip for `az acs kubernetes get-credentials...`
2017-03-15 13:15:26 +01:00
Troy McConaghy
4daeff28f8 Tip for az acs kubernetes get-credentials...
Added a tip for when `$ az acs kubernetes get-credentials...` command gives an error after you enter the correct password.
2017-03-14 20:23:46 +01:00
Scott Sadler
c3d9717b07 fix breakage from other branch 2017-03-14 18:42:05 +01:00
Troy McConaghy
270fed04c7 Merge pull request #1273 from bigchaindb/rm-bigchaindb-load-command
Remove 'bigchaindb load' command, tests & docs
2017-03-14 17:35:15 +01:00
libscott
277251b50b Merge pull request #1257 from bigchaindb/tx-structure
Schemas for CREATE and TRANSFER transactions
2017-03-14 17:11:13 +01:00
Scott Sadler
f51b40b6dc some documentation and nomenclature fixes in common.schema 2017-03-14 17:07:18 +01:00
Scott Sadler
1f5a8582b6 Merge branch 'master' into tx-structure 2017-03-14 16:22:14 +01:00
Scott Sadler
7c461e47d7 remove structural and schematic validations from Transaction.validate which is validating the spend 2017-03-14 12:39:57 +01:00
libscott
d57e504cd8 Merge pull request #1215 from bigchaindb/voting-class-integration
Voting class integration
2017-03-14 11:47:05 +01:00
Troy McConaghy
b0f379dba9 Merge pull request #1276 from bigchaindb/fix-bigchaindb-toolbox-dockerfile
Fix comments in bigchaindb/toolbox Dockerfile
2017-03-13 18:39:20 +01:00
Troy McConaghy
e0366468ec Fix comments in bigchaindb/toolbox Dockerfile
The comments were referring to another Docker image (`krish7919/toolbox`).
2017-03-13 18:14:18 +01:00
Scott Sadler
58a1a25d43 test for invalid vote in election pipeline 2017-03-13 16:26:41 +01:00
Scott Sadler
0fb4ea424b remove stray validation 2017-03-13 14:55:03 +01:00