Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* returning proper error message (hyperledger#77) * isolate test_suspenstion.py since it has test that need to make breaking changes in test environment, what leads to failing of other tests * add missing __init_/_.py to test/replay * fix import of EndpointException * fixing imports * fix import of Looper * fix in tests * cleanup * replacing warn with warning methods * Added code that will create a local pool This code will take server permeters and do all the work to get a pool up and running, including all the stewers and their keys * fixed endpoint check * using correct format for endpoint * use test runner for tests * use test runner for tests * setting resource limit for tests * moving TempStorage to common * fix imports for logging-related things * default value of service * fixing imports and setup * fixed test runner (hyperledger#81) * fix imports in add_leys.py; add function for getting seeds from file * fix imports in load_test.py * merge with master * fixing imports and names * Merge master and make updates to support changes in plenum (hyperledger#83) * add storing of ATTR transaction in state tree * Create StateTreeStore class * remove nonce since it is not used on server side * change logic for enc, raw and hash fields * move putting of attrib to state tree to StateTreeStore * move hashing to function * add did parameter; implement getAttr * merge logic of enc and hash value and key creation * add blank line before class name * cann state tree store's addTxn in node * store ddo in state tree * replace raising of ValueError by logger.debug since implementation not required for now * add gteDdo method * rename _addAttrib to _addAttr and fix getting of item from raw field * use isCommitted=False in StateTreeStore * push test for attrib and ddi storing in state tree * change name of tree store to more appropriate * move instantation of StateTreeStor below super init * remove type annotation for getAttr * add getters for schema and issuer key * add building of path to schema from it's namer, version and did * add tests for schema storing in state tree * rearrange test cases * add test for pathes of issuer key and revoc key * use maxsplit=5 because time in iso format uses : too * add implementation of _makeIssuerKeyPath and _makeRevocKeyPath methods * add test for storing issuer_key in state tree * implement _addIssuerKey and getIssuerKey * add parameter checking for getSchema * create lookup method and use it instead of direct accessing state to get data from it * remove unnecessary comment and todo * add some implementation thoughts * remove functionality related to ddo and revocation * do nothing if unsupported transaction passed * remove did from addTxn param list since it can be fetched from txn * use state tree for getting issuer key * make getters return string instead of bytes * swap did and key parameters in getAttr * remove conversion of keys to string as if it is parsed json, because it is not * use state tree in processGetSchemaReq instead of graph store * add isCommited for all getters * start using state trie store in processGetAttrsReq * create storeTxn method which must be used instead of direct call of storeTxnInStateTree and storeTxnInGraph * add doc-comment storeTxn * make path type markers to have a byte type instead of str * fix imports for logging-related things * fixed test runner (hyperledger#81) * fix imports * remove IDPROOF from IDENTITY_TXN_TYPES * update subclasses of plenum's Requesthandler * merge with master * changes to fix some failures happening in end-to-end test * changes for request handlers * Versioning fix (hyperledger#85) * [Closes SOV-905] Big Fixed: Orientdb is not installing with the latest build 0.3.16 (hyperledger#86) * changing to rlp encoding * [Closes SOV-905] Big Fixed: Orientdb is not installing with the latest build 0.3.16 (hyperledger#88) * Sovrin-common update -> 0.2.25 (hyperledger#89) * changing config req_handler * passing correct args * Attr schema issuerkey in state trie (hyperledger#90) * add storing of ATTR transaction in state tree * Create StateTreeStore class * remove nonce since it is not used on server side * change logic for enc, raw and hash fields * move putting of attrib to state tree to StateTreeStore * move hashing to function * add did parameter; implement getAttr * merge logic of enc and hash value and key creation * add blank line before class name * cann state tree store's addTxn in node * store ddo in state tree * replace raising of ValueError by logger.debug since implementation not required for now * add gteDdo method * rename _addAttrib to _addAttr and fix getting of item from raw field * use isCommitted=False in StateTreeStore * push test for attrib and ddi storing in state tree * change name of tree store to more appropriate * move instantation of StateTreeStor below super init * remove type annotation for getAttr * add getters for schema and issuer key * add building of path to schema from it's namer, version and did * add tests for schema storing in state tree * rearrange test cases * add test for pathes of issuer key and revoc key * use maxsplit=5 because time in iso format uses : too * add implementation of _makeIssuerKeyPath and _makeRevocKeyPath methods * add test for storing issuer_key in state tree * implement _addIssuerKey and getIssuerKey * add parameter checking for getSchema * create lookup method and use it instead of direct accessing state to get data from it * remove unnecessary comment and todo * add some implementation thoughts * remove functionality related to ddo and revocation * do nothing if unsupported transaction passed * remove did from addTxn param list since it can be fetched from txn * use state tree for getting issuer key * make getters return string instead of bytes * swap did and key parameters in getAttr * remove conversion of keys to string as if it is parsed json, because it is not * use state tree in processGetSchemaReq instead of graph store * add isCommited for all getters * start using state trie store in processGetAttrsReq * create storeTxn method which must be used instead of direct call of storeTxnInStateTree and storeTxnInGraph * add doc-comment storeTxn * make path type markers to have a byte type instead of str * fix imports for logging-related things * fixed test runner (hyperledger#81) * fix imports * remove IDPROOF from IDENTITY_TXN_TYPES * update subclasses of plenum's Requesthandler * fix imports of Ledger * remove unused commented method * update processGetNymReq, remove txnid from it * update processGetSchemaReq, remove etxnid from it * update processGetAttrsReq * update processGetIssuerKeyReq * make StateTreeStore store last seqno * move checking of fields presence to addTxn * use cls and self instead of full class name * make lookup reutrn (None, None) if nothing found * support getting of seqno from StateTreeStore in noe * remove storing of all types of transactions except nym in storeTxnInGraph * remove _addTxnsToGraphIfNeeded since it is not used * merage with master * temp-commit * adding load testing script * raising a different exception * adding attribute store * Stp (hyperledger#91) * increment version of sovrin-common * replace addSponsoredIdentity by addTrustAnchoredIdentity, remove redundant args from get*FromInbox methods calls, add logging of error for checkig replies (hyperledger#92) * updated sovrin-common-dev dep version (hyperledger#93) * bump sovrin-common-dev to 0.2.28 (hyperledger#94) * replacing orientdb * Up common version to 0.2.29 (hyperledger#95) * up common version to 23 * up common version to 0.2.29 * sync-up with plenum slow-factor (hyperledger#96) * bump sovrin-common-dev==0.2.32 * sync-up the tests with plenum test code * removing commented code and fixing bug in pool request handler * bump sovrin-client-dev==0.3.45 (hyperledger#97) * added time to get pool started * [Closes SOV-910] Bug Fixed: Latest build of sovrin-node can not be installed (hyperledger#99) * jenkins support for 3pc-batch (hyperledger#100) * made this branch publishable to pypi * fixed sovrin-client version * Bug Fixed: Update works incorrectly after versioning fix (hyperledger#103) * deleting obsolete tests and changing signature of methods * fixed sovrin-client version (hyperledger#104) * Rename ISSUER_KEY to CLAIM_DEF (hyperledger#98) * rename issuer key and related things to claim def * add usage of signature_type to processGetClaimDefReq * remove setting of signature type in schemaDefGvt * up common version * over-riding correct method of node * bumping dependency version * Up client version to 0.3.48 Up client version to 0.3.49 (hyperledger#105) * up client version to 0.3.48 * up client version 0.3.49 * Up client version to 0.3.50 * Feature Added: Deb build * Updated sovrin deps * renaming method * refactoring * Updated sovrin-common dep * deprecating orientdb * Updated sovrin-common dep * updating TestNode class hierarchy * parameterize test timeouts (hyperledger#102) * add 'repeat until fail' mode for test runner * parameterize test timeouts * fix pool upgrade tests * move load test script under scripts and remove unused imports * added missing import * moved to latest sovrin-common * remove obsolete method * remove unused method and incorrect use of cache * Add missing separator to the end of transaction_*files (hyperledger#111) * add missing separator to the end of transaction_*files * up common version to 0.2.37 * up client version to 0.3.54 * up client version to 0.3.57 * jenkins shared api usage update (hyperledger#116) * fixed sovrin-client version * updated to use new API from shared lib * jenkins shared api usage update (master) (hyperledger#115) * +1 * +1 * updated to use new API from shared lib * removed debug line * removed debug line * 3pc batch (hyperledger#117) * bump sovrin-client-dev==0.3.45 (hyperledger#97) * [Closes SOV-910] Bug Fixed: Latest build of sovrin-node can not be installed (hyperledger#99) * Bug Fixed: Update works incorrectly after versioning fix (hyperledger#103) * Rename ISSUER_KEY to CLAIM_DEF (hyperledger#98) * rename issuer key and related things to claim def * add usage of signature_type to processGetClaimDefReq * remove setting of signature type in schemaDefGvt * up common version * Up client version to 0.3.48 Up client version to 0.3.49 (hyperledger#105) * up client version to 0.3.48 * up client version 0.3.49 * Up client version to 0.3.50 * Updated sovrin deps * parameterize test timeouts (hyperledger#102) * add 'repeat until fail' mode for test runner * parameterize test timeouts * fix pool upgrade tests * modify DomainReqHandler to make it use ClaimDef instead of IssuerKey * use get instead of [] * use checkRejects instead of checkNacks in testNonTrustyCannotCancelUpgrade * remove deprecated method * repin sovrin-common * increment sovrin-common version * fix import * skip failing tests * repin sovrin-client * increment sovrin-client * Merge branches '3pc-batch' and 'master' of github.com:sovrin-foundation/sovrin-client into 3pc-batch # Conflicts: # setup.py * updated sovrin-common version (hyperledger#119) * updated sovrin-common version * pin sovrin-common version * fix usage of signature type in claim def in domain_req_handler - it should be used as a part of key instead of value (hyperledger#120) * increment sovrin-client version * fix test * fix pool_upgrade tests * up commons version to 0.2.43, clients to 0.3.61 (hyperledger#121) * [Closes SOV-976] Unable to create the genesis transaction files (hyperledger#122) * Up commons and client version (hyperledger#123) * up client version to 0.3.63 * up common version to 0.2.45 * increment sovrin-common * Updated README.md (hyperledger#125) Updated README.MD to reflect build status * increment sovrin-common version * Common test code extract (hyperledger#126) * Factored out common code related to tests from sovrin-node and sovrin-client to sovrin-common. * - Removed sovrin-node fixtures that duplicate sovrin-client fixtures related to client functionality. - Removed nodeThetaAdded fixture from sovrin-client since it is unused. * Updated sovrin-common-dev and sovrin-client-dev dependencies. * Up versions of dependencies (hyperledger#127) * up commons to 0.2.48 * up client to 0.3.67 * schema stores data in json form * Add support of GET_NYM for load test (hyperledger#128) * change default request type to NYM * add support of GET_NYM to load test script * Common test code extract (hyperledger#129) * Factored out common code related to tests from sovrin-node and sovrin-client to sovrin-common. * - Removed sovrin-node fixtures that duplicate sovrin-client fixtures related to client functionality. - Removed nodeThetaAdded fixture from sovrin-client since it is unused. * Updated sovrin-common-dev and sovrin-client-dev dependencies. * Removed testNodeClass and nodeSet fixtures (now the corresponding fixtures from sovrin-client are used instead). * Removed updatedPoolTxnData, trusteeData, trusteeWallet and trustee fixtures (now the corresponding fixtures from sovrin-client are used instead). * Removed unused imports. * - Removed userWalletB fixture (now the corresponding fixture from sovrin-client is used instead). - Corrected imports and removed unused imports. * Updated sovrin-client-dev dependency. * increment sovrin-common version * increment sovrin-common * Agent generalization (hyperledger#130) * import tweek for changes in client * fix getting started 2 script issues * refactor kv storage interfaces - moved kv storage and state to state repo - fixed docs - get rid of orientdb * split long methods * - Fixed a bug in Upgrader.compareVersions method. (hyperledger#131) - Enhanced testVersions test to verify the fix. * increment sovrin-common * increment sovrin-common * increment sovrin-common * move test that suspends a node to the end of suite * Updated deps (hyperledger#132) * remove unused dependency * increment sovrin-common * fix a case when the value is not cached * fix guide * handling non-existent schema and claim def * move request methods to request handler * refactor and fix documentation * increment sovrin-common; fix import * fix idrCacheDb name * enable debug logging in tests; increment sovrin-common * using reverted changes in state interface * increment state and sovrin-common version * increment sovrin-common * - Removed initial pool transactions files from sovrin-node project. - Removed creation of "sovrin_config.py" in "~/.sovrin" from sovrin-node project. * - Removed initial pool transactions files from sovrin-node project. (hyperledger#133) - Removed creation of "sovrin_config.py" in "~/.sovrin" from sovrin-node project. * Updated sovrin-common-dev dependency. * Updated sovrin-client-dev dependency. * sync up with plenum (hyperledger#136) * fix test timeout * bump sovrin-common-dev==0.2.51 * fix tests * replace import from sovrin_node by import from sovrin_common (hyperledger#137) * Updated sovrin-common-dev dependency. * Updated sovrin-client-dev dependency. * Updated sovrin-client-dev dependency. * tests pass on the minimal configuration, SOV-1026 (hyperledger#140) * speed up suspension tests * make testTrusteeCannotChangeVerkey passed each run * midcommit * node adds txns to graph that it receives from catchup * bumping dependency version * update test to not use orientdb * remove duplicate test * Post merge fixes (hyperledger#144) * remove development options from Jenkinsfile * fix names * up common and client versions * remove cleanup of orientdb (hyperledger#145) * documentation to test and change import * remove a dependency from "eventuallyAll" in load_test.py (hyperledger#143) totalTimeout can be huge for load tests but 'eventually' has an assertion which limit the timeout * Remove query time counter since it is not measured (hyperledger#146) * domain ledger syncs after config ledger which syncs after pool ledger, general refactoring in state storage handling encrypted and hash attribute and update test * bump dependency version * Use Role's names instead of Role's encoded values in error messages (hyperledger#147) * Use Role's names instead of Role's encoded values in error messages * bumping dependency version * Fix for connection loss and refactoring (hyperledger#148) * add exception handling for case when no answers received yet * up common to 0.2.64 * up client to 0.3.100 * up client version to 0.3.101 * bumped sovrin-common and sovrin-client versions * increment sovrin-common versions * Fix usage of ChunkedFileStore (hyperledger#152) * use dafultFile when creating Ledger * up common version to 0.2.67, up client version to 0.3.105 * down client version to 0.3.104 because up is not needed * replace self.config.baseDir by self.basedirpath in node to make base dir be configurable for each node (hyperledger#154) * Bump dependency version * Bump dependency version * Input validation: parameterize the Request class in the Node (hyperledger#153) * Input validation: parameterize the Request class in the Node * bump sovrin-common-dev==0.2.70 * bump sovrin-common-dev==0.2.71 * bump sovrin-common-dev==0.2.72 * Corrected the status comment at the disabled test testUpgradeLatestUncancelledVersion. (hyperledger#158) * Feature/migrations (hyperledger#159) * Updated node control tool * Updated node control tool Added migration_tool * Completed migration_tool * Updated migration tool Added test for migration tool * Custom logger was deprecated * Updated migration tool * Migration test * Updated migration README * Code review fixes * Deps update * Changes needed corresponding to plenum (hyperledger#161) * some refactoring * Update Jenkinsfile * Update setup.py * Update setup.py * Update Jenkinsfile * Update setup.py * Feature/migrations (hyperledger#159) * Updated node control tool * Updated node control tool Added migration_tool * Completed migration_tool * Updated migration tool Added test for migration tool * Custom logger was deprecated * Updated migration tool * Migration test * Updated migration README * Code review fixes * Deps update * bump dependency version * removing some jenkins steps * Update Jenkinsfile * ATTRIB checks, INDY-71 (hyperledger#163) * Enable ATTRIB with "endpoint:None" * Remove ATTRIB checks The checks were moved to the validation logic * bump sovrin-common-dev==0.2.76 * Test migrations (hyperledger#164) * Revert "Test migrations (hyperledger#164)" (hyperledger#165) This reverts commit f263447. * Deps update * bump sovrin-common-dev==0.2.80 * up commons version to 0.2.81 * up client version to 0.3.125 * increment plenum version * removing an unused parameter and adding a test for indy-155 (hyperledger#172) * Non empty verkey (hyperledger#174) * update tests for non-empty verkey * bump dependency version * change idr cache to store batches in list to avoid problems with batches that result to same state roots (hyperledger#175) * change idr cache to store batches in list to avoid problems with batches that result to same state roots * bump dependency version * bugfix and update test * update test * increment sovrin-common * bump sovrin-common-dev==0.2.86 * bump dependency version * set default loglevel to INFO (INDY-197) * set default loglevel to INFO (INDY-197) * repin plenum
- Loading branch information