Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #69

Merged
merged 15 commits into from
Dec 7, 2017
Merged

Master #69

merged 15 commits into from
Dec 7, 2017

Conversation

spivachuk
Copy link
Owner

No description provided.

andkononykhin and others added 15 commits November 24, 2017 11:19
…ld automation via make, test env setup (#460)

* refactored dockerfile for ci, improved test env setup

Signed-off-by: Andrey Kononykhin <[email protected]>

* added missed script

Signed-off-by: Andrey Kononykhin <[email protected]>

* fixed setup.py settings

Signed-off-by: Andrey Kononykhin <[email protected]>

* added python3-indy to list of tests deps

Signed-off-by: Andrey Kononykhin <[email protected]>

* changed maintainer for dockerfile

Signed-off-by: Andrey Kononykhin <[email protected]>

* added comment about optional flag for pypi setup routine

Signed-off-by: Andrey Kononykhin <[email protected]>

* refactored libindy setup

Signed-off-by: Andrey Kononykhin <[email protected]>

* updated git source for base images routine

Signed-off-by: Andrey Kononykhin <[email protected]>

* removed forgotten comment

Signed-off-by: Andrey Kononykhin <[email protected]>
* removing ReqDigest

req handler and authenticator refactorings

adding txn type to valid ones

Signed-off-by: Lovesh <[email protected]>

* fix authenticator tests and check ledger id in GET_TXN

Signed-off-by: Lovesh <[email protected]>

* fix formatting

Signed-off-by: Lovesh <[email protected]>

* fix more tests

Signed-off-by: Lovesh <[email protected]>

* skipping old style plugin tests and minor changes in wallet from master

Signed-off-by: Lovesh <[email protected]>

* skip test

Signed-off-by: Lovesh <[email protected]>

* use correct method

Signed-off-by: Lovesh <[email protected]>

* using correct method to get request handler

Signed-off-by: Lovesh <[email protected]>

* fix method call in test

Signed-off-by: Lovesh <[email protected]>

* add and update tests and refactor

Signed-off-by: Lovesh <[email protected]>

* add tests

Signed-off-by: Lovesh <[email protected]>

* add tests for wallet multi-sig

Signed-off-by: Lovesh <[email protected]>

* update test

Signed-off-by: Lovesh <[email protected]>

* add more tests

Signed-off-by: Lovesh <[email protected]>

* change error message in test

Signed-off-by: Lovesh <[email protected]>

* change error message

Signed-off-by: Lovesh <[email protected]>

* some refactoring and remova of unneccessary code

Signed-off-by: Lovesh <[email protected]>

* use correct config and revert usage of lazy_field

Signed-off-by: Lovesh <[email protected]>

* remove isSignatureVerificationNeeded and refactor authenticators

Signed-off-by: Lovesh <[email protected]>

* resolve static validation errors

Signed-off-by: Lovesh <[email protected]>

* removing unused constant

Signed-off-by: Lovesh <[email protected]>

* remove unused imports and increase test run time limit

Signed-off-by: Lovesh <[email protected]>
* add-ledgerId field in validator

Signed-off-by: Lovesh <[email protected]>

* uncommenting

Signed-off-by: Lovesh <[email protected]>

* making ledger id optional

Signed-off-by: Lovesh <[email protected]>
* Add sdk tests in plenum

Signed-off-by: Dmitry Surnin <[email protected]>

* Add sdk tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Dlete dirs after tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Add test_no_ordering_during_syncup based on sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Make submit non-block

Signed-off-by: Dmitry Surnin <[email protected]>

* Combine wallet handle and did usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Hold request together with responce to match them

Signed-off-by: Dmitry Surnin <[email protected]>

* Add client wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix func usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Change signer from simple to did in test wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Do not add empty signatures to req

Signed-off-by: Dmitry Surnin <[email protected]>

* Replace static data in tests with generated one; do not add empty signaure field in request serialization

Signed-off-by: Dmitry Surnin <[email protected]>

* Change simplesigner to didsigner for user wallet

Signed-off-by: Dmitry Surnin <[email protected]>

* Replase simple signer with did signer

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some review notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix static code validation

Signed-off-by: Dmitry Surnin <[email protected]>
* Add sdk tests in plenum

Signed-off-by: Dmitry Surnin <[email protected]>

* Add sdk tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Dlete dirs after tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Add test_no_ordering_during_syncup based on sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Make submit non-block

Signed-off-by: Dmitry Surnin <[email protected]>

* Combine wallet handle and did usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Hold request together with responce to match them

Signed-off-by: Dmitry Surnin <[email protected]>

* Add client wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix func usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Change signer from simple to did in test wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Do not add empty signatures to req

Signed-off-by: Dmitry Surnin <[email protected]>

* Replace static data in tests with generated one; do not add empty signaure field in request serialization

Signed-off-by: Dmitry Surnin <[email protected]>

* Change simplesigner to didsigner for user wallet

Signed-off-by: Dmitry Surnin <[email protected]>

* Replase simple signer with did signer

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some review notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix static code validation

Signed-off-by: Dmitry Surnin <[email protected]>

* add helper module and change test_catchup_during_3pc to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Add funct to send and wait; move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Use client instead of steward

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some notes

Signed-off-by: Dmitry Surnin <[email protected]>
* fix test

Signed-off-by: Lovesh <[email protected]>

* fix test

Signed-off-by: Lovesh <[email protected]>
…aths. (#445)

* INDY-878: refactoring of files/directories paths.

Done refactoring for plenum node. Added config helper which constructs
paths based on values specified in config file.

Signed-off-by: Sergey Shilov <[email protected]>

* Do renaming in genesis_txn file.

Signed-off-by: Sergey Shilov <[email protected]>

*  - Add config helper.
 - Re-factor paths usage.
 - Fix several tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Another portion of changes for plenum node tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Another portion of changes for plenum node tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Add passing of config parameter for Replica and Replicas classes.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix bls tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Code style fixes.

Signed-off-by: Sergey Shilov <[email protected]>

* Add stylistical fixes for plenum/server/monitor.py.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix for validator_info test.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix genesis txn file util.

Signed-off-by: Sergey Shilov <[email protected]>

* Another portion of fixes for plenum tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix zmq test helper.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix plugin tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Another portion of fixes for plenum tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix for validator info tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix plenum CLI tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix changeNodeHa() helper.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix fixtures order in validator_info tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Review fixes.

Signed-off-by: Sergey Shilov <[email protected]>

* Implement several logical improvements for plenum tests.

Signed-off-by: Sergey Shilov <[email protected]>

* Rename user_config directory to general_config directory.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix test_network_setup.py script.

Signed-off-by: Sergey Shilov <[email protected]>

* Fix tests that use bootstrapTestNodesCore().

Signed-off-by: Sergey Shilov <[email protected]>
INDY-878: add __init__ file to general_config directory.
* Add sdk tests in plenum

Signed-off-by: Dmitry Surnin <[email protected]>

* Add sdk tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Dlete dirs after tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Add test_no_ordering_during_syncup based on sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Make submit non-block

Signed-off-by: Dmitry Surnin <[email protected]>

* Combine wallet handle and did usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Hold request together with responce to match them

Signed-off-by: Dmitry Surnin <[email protected]>

* Add client wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix func usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Change signer from simple to did in test wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Do not add empty signatures to req

Signed-off-by: Dmitry Surnin <[email protected]>

* Replace static data in tests with generated one; do not add empty signaure field in request serialization

Signed-off-by: Dmitry Surnin <[email protected]>

* Change simplesigner to didsigner for user wallet

Signed-off-by: Dmitry Surnin <[email protected]>

* Replase simple signer with did signer

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some review notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix static code validation

Signed-off-by: Dmitry Surnin <[email protected]>

* add helper module and change test_catchup_during_3pc to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Add funct to send and wait; move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Use client instead of steward

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Change batching_3pc tests to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Fix test_batch_rejection

Signed-off-by: Andrew Nikitin <[email protected]>

* Unused wallet1 fixture

Signed-off-by: Andrew Nikitin <[email protected]>

* [INDY-901] Change test with logging requests.

Signed-off-by: Andrew Nikitin <[email protected]>

* Refactor sdk conftest

Signed-off-by: Dmitry Surnin <[email protected]>

* Refactor sdk conftest and helpers; rename sdk wrapers

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix review notes

Signed-off-by: Dmitry Surnin <[email protected]>
* Add sdk tests in plenum

Signed-off-by: Dmitry Surnin <[email protected]>

* Add sdk tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Dlete dirs after tests

Signed-off-by: Dmitry Surnin <[email protected]>

* Add test_no_ordering_during_syncup based on sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Make submit non-block

Signed-off-by: Dmitry Surnin <[email protected]>

* Combine wallet handle and did usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Hold request together with responce to match them

Signed-off-by: Dmitry Surnin <[email protected]>

* Add client wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix func usage

Signed-off-by: Dmitry Surnin <[email protected]>

* Change signer from simple to did in test wallet generation

Signed-off-by: Dmitry Surnin <[email protected]>

* Do not add empty signatures to req

Signed-off-by: Dmitry Surnin <[email protected]>

* Replace static data in tests with generated one; do not add empty signaure field in request serialization

Signed-off-by: Dmitry Surnin <[email protected]>

* Change simplesigner to didsigner for user wallet

Signed-off-by: Dmitry Surnin <[email protected]>

* Replase simple signer with did signer

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some review notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix static code validation

Signed-off-by: Dmitry Surnin <[email protected]>

* add helper module and change test_catchup_during_3pc to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Add funct to send and wait; move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Move checkpoint tests to sdk

Signed-off-by: Dmitry Surnin <[email protected]>

* Use client instead of steward

Signed-off-by: Dmitry Surnin <[email protected]>

* Fix some notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Change batching_3pc tests to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Fix test_batch_rejection

Signed-off-by: Andrew Nikitin <[email protected]>

* Unused wallet1 fixture

Signed-off-by: Andrew Nikitin <[email protected]>

* [INDY-901] Change test with logging requests.

Signed-off-by: Andrew Nikitin <[email protected]>

* Refactor sdk conftest

Signed-off-by: Dmitry Surnin <[email protected]>

* Refactor sdk conftest and helpers; rename sdk wrapers

Signed-off-by: Dmitry Surnin <[email protected]>

* [INDY-901] Change monitoring tests to using sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Fix review notes

Signed-off-by: Dmitry Surnin <[email protected]>

* Move some primary_selection and view_change tests to sdk usage

Signed-off-by: Dmitry Surnin <[email protected]>

* [INDY-901] Change node_request tests to using indy-sdk

Signed-off-by: Andrew Nikitin <[email protected]>

* Fix some review notes

Signed-off-by: Dmitry Surnin <[email protected]>
@spivachuk spivachuk merged commit 3584800 into spivachuk:master Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants