2672 Commits

Author SHA1 Message Date
Sylvain Bellemare
2e398f606f Make some improvements to command line messages and error handling 2017-03-06 14:45:10 +01:00
Sylvain Bellemare
edc5887b42 Use hardcoded (constant) messages
This provides a bit of re-usability and helps testing.
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
24eb18fb59 Add tests for errors on startup 2017-03-06 14:45:10 +01:00
Sylvain Bellemare
d1d994f0e7 Add fixture for run_start cmdline args
Note: has the possibility to be parametrized.
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
4e82615845 Add module to hold messages used in commands 2017-03-06 14:45:10 +01:00
Sylvain Bellemare
894784b9e4 Add pytest-mock - a thin wrapper around mock 2017-03-06 14:45:10 +01:00
Sylvain Bellemare
1002668082 Fix broken tests 2017-03-06 14:45:10 +01:00
Sylvain Bellemare
c1cf79d0e0 Pass a message to the exception
otherwise nothing gets printed when printing the exception
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
6ce8ba9ae3 Replace logging statements with print
that is more or less the recommended approach for command line
interfaces

see https://docs.python.org/3.6/howto/logging.html#when-to-use-logging
2017-03-06 14:45:10 +01:00
libscott
5e91d65348 Merge pull request #1250 from bigchaindb/stray_print_in_connection
remove stray print call
2017-03-06 14:25:00 +01:00
Troy McConaghy
c3ef252438 Merge pull request #1240 from bigchaindb/k8s-node
Run bigchaindb container + RDB/MDB container in a k8s StatefulSet
2017-03-06 14:22:31 +01:00
Scott Sadler
1374f133f9 remove stray print call 2017-03-06 14:18:48 +01:00
Sylvain Bellemare
8bad32dc13 Fix typo [skip ci] 2017-03-06 14:10:07 +01:00
Sylvain Bellemare
1c03ab754c Update change log for 0.9.3 2017-03-06 14:10:07 +01:00
Troy McConaghy
33deff8760 docs: add instructions to deploy MongoDB & BigchainDB on k8s cluster 2017-03-05 17:49:00 +01:00
Troy McConaghy
0ffa93cd44 docs: fixed typo; changed 2Gi to 20Gi in kubectl cmd output 2017-03-05 17:23:42 +01:00
Troy McConaghy
6cda75b44b Merge remote-tracking branch 'origin/master' into k8s-node 2017-03-05 17:20:33 +01:00
Troy McConaghy
880729cac2 minor changes to 2 yml files + added RDB intracluster port 2017-03-05 16:47:12 +01:00
krish7919 (Krish)
93d06b4e2a PVC for MDB in single BDB+MDB StatefulSet 2017-03-04 20:05:30 +01:00
Sylvain Bellemare
f64401eed3 Only append tx if it meets the conditions
fixes #1231
2017-03-03 18:02:57 +01:00
Sylvain Bellemare
56243a57ab Fix indent 2017-03-03 18:02:57 +01:00
diminator
81dee294ea unitest for bug 2017-03-03 18:02:57 +01:00
krish7919 (Krish)
b9e5bc84d9 Merge branch 'k8s-node' of github.com:bigchaindb/bigchaindb into local-k8s-node 2017-03-03 17:35:16 +01:00
krish7919 (Krish)
43284798fe Run bdb:latest with mongodb:3.4.1 as separate containers in the same pod 2017-03-03 17:34:50 +01:00
Troy McConaghy
e1d7f95a8c Switch to PVC for RDB in single BDB+RDB StatefulSet 2017-03-03 15:57:35 +01:00
vrde
042e7d936f
Merge branch 'unify-mongodb-and-rethinkdb-connection' 2017-03-03 15:53:21 +01:00
Troy McConaghy
30db8a4e30 Renamed 'bdb091-server' to 'bdb-server' 2017-03-03 14:20:43 +01:00
vrde
c5b496b006
Merge branch 'master' into unify-mongodb-and-rethinkdb-connection 2017-03-03 13:52:56 +01:00
krish7919 (Krish)
9228e69355 Run bdb:latest with rdb:2.3 as separate containers in the same pod 2017-03-03 12:07:49 +01:00
Troy McConaghy
77fc3fbc4e Merge pull request #1226 from bigchaindb/docs-re-k8s-persistent-storage
Docs on BDB Node Storage Setup in an Existing Kubernetes Cluster
2017-03-03 10:29:49 +01:00
Krish
dc9f93dfbc Enhancements to run with docker locally (#1239) 2017-03-03 10:29:30 +01:00
krish7919 (Krish)
64f4afb7ad Run bdb v0.9.1 as a pod in k8s 2017-03-03 10:19:09 +01:00
Sylvain Bellemare
6702ad192b Update change log for 0.9.2 2017-03-02 13:40:26 +01:00
Sylvain Bellemare
b20278430d Pin down rapidjson 2017-03-02 12:51:27 +01:00
libscott
d48c72682b Merge pull request #1222 from bigchaindb/consensus-cleanup
Don't load consensus in vote pipeline (unneeded)
2017-03-01 17:50:58 +01:00
Troy McConaghy
4e32a492b1 docs: changed PersistentVolumeClaim from 2Gi to 20Gi 2017-03-01 16:26:57 +01:00
Troy McConaghy
77c6b138a8 expanded docs re/ Azure storage accounts & ACS 2017-03-01 15:49:20 +01:00
Trent McConaghy
8be2e20559 Update CONTRIBUTING.md 2017-03-01 15:29:09 +01:00
Troy McConaghy
35ee6e5539 docs: add instructions to update az command 2017-03-01 13:35:31 +01:00
Troy McConaghy
cc8916d782 Merge remote-tracking branch 'origin/master' into docs-re-k8s-persistent-storage 2017-03-01 11:32:44 +01:00
Troy McConaghy
f2f1ee8ef1 docs: create k8s StorageClass & PVC 2017-02-28 19:08:13 +01:00
Troy McConaghy
6821170fcd docs: rm paren. sentence re/ deploying an ACS 2017-02-28 13:58:44 +01:00
Troy McConaghy
0759b6827a Merge pull request #1223 from bigchaindb/docs-to-create-ssh-key-for-k8s-vms
Docs on using special SSH keypair with ACS/Kubernetes
2017-02-28 12:25:07 +01:00
Troy McConaghy
b3e697f05b docs: can SSH to k8s agent via master using private hostname 2017-02-28 11:25:57 +01:00
Troy McConaghy
ffb1d7a624 Docs on using special SSH keypair with ACS/Kubernetes 2017-02-27 15:29:49 +01:00
Scott Sadler
3523036617 don't load consensus in vote pipeline (unneeded) 2017-02-27 15:23:53 +01:00
vrde
f21811323f
Remove unused import 2017-02-27 11:51:06 +01:00
vrde
f9748042c2
Fix exception handling in changefeed 2017-02-27 11:14:11 +01:00
vrde
213139d4c6
Improve tests and connection class 2017-02-27 02:54:02 +01:00
libscott
4a5a5566e7 Merge pull request #1208 from bigchaindb/is_new_transaction
Bigchaindb.is_new_transaction, fix double inclusion in Vote pipeline
2017-02-24 10:17:06 +01:00