- 22 Aug, 2016 2 commits
-
-
grapebaba authored
It would be cleaner to have a single interface method createIndexes(...) and let the two implementations (Sync and Async) deal with the inherent differences in implementation than require that the caller choose the correct method. Change-Id: Ia040c5aeee2c5fdd1b05cc6f7729931aa6d7d548 Signed-off-by:
grapebaba <281165273@qq.com>
-
Jonathan Levi authored
-
- 21 Aug, 2016 2 commits
-
-
Jonathan Levi authored
-
Jonathan Levi authored
-
- 20 Aug, 2016 1 commit
-
-
grapebaba authored
Currently some methods use fmt.Println to deal with error, this patch fix them to use log.Errorf. Change-Id: I854bfa4155ddf4206ccf39aacb3e26fa57bfa3e9 Signed-off-by:
grapebaba <281165273@qq.com>
-
- 19 Aug, 2016 6 commits
-
-
Christopher Ferris authored
-
Gabor Hosszu authored
-
Jonathan Levi authored
-
sheehan authored
It appears that chaincode.proto was modified, but 'make protos' was not run after making this change. This patch is a a result of running 'make protos' Change-Id: I2365b82418b5da0597dea560600522a2bc7d615f Signed-off-by:
Sheehan Anderson <sheehan@us.ibm.com>
-
xiejunan authored
change logger.Info to logger.Infof Change-Id: I0a3b457d7d5e541a4418a771e2ee0e1066882349 Signed-off-by:
xiejunan <xiejunan@huawei.com>
-
Julian Carrivick authored
The context object passed to bdd_test_util.cli_call is not used by the function and serves no purpose there. Removing it simplifies calls to the function and makes it more clear what the function does. Change-Id: Ibff3b4abf84d8783bf7b1e6f13ff3d532de56f70 Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
- 18 Aug, 2016 9 commits
-
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Christopher Ferris authored
-
sheehan authored
Change-Id: Ie3dc3e6bb994d091657195b53eeba48b06dc5f1e Signed-off-by:
Sheehan Anderson <sranderson@gmail.com>
-
Binh Nguyen authored
-
Gabor Hosszu authored
- no need for function, only one kind of operation is supported by this chaincode - exactly one argument is needed Change-Id: I1700b6fbd1a1c6a5086af075be323c96426da083 Signed-off-by:
Gabor Hosszu <gabor@digitalasset.com>
-
Christopher Ferris authored
-
Chuanjian Wang authored
Change-Id: I02e495fb1d48f69edb1a068a4def7b86a46bfef5 Signed-off-by:
Chuanjian Wang <me@ckeyer.com>
-
- 17 Aug, 2016 7 commits
-
-
Gabor Hosszu authored
This reverts commit 66cc54bb. The commit breaks the build (Jenkins). There is a quick fix https://gerrit.hyperledger.org/r/#/c/533 which as it turned out does not solve the problem. Change-Id: I3f005b85f6fc73e4ff91fd4c830d02da9a39a63c Signed-off-by:
Gabor Hosszu <gabor@digitalasset.com>
-
Christopher Ferris authored
-
Jonathan Levi authored
-
Julian Carrivick authored
During BDDTests decomposing takes a lot longer than it should. This is due to the containers are started using `bash -c "<cmd>"` which does not pass on signals to the specified command. Hence, docker-compose sends a SIGTERM which is ignored and after a timeout, sends SIGKILL. Changing the invocations to `bash -c "exec <cmd>"` ensures the command receives the signals and terminates in a timely manner. This change improves BDDTest times by about 5 minutes. Change-Id: Id0504809740c948758f49ff08961cb377f0a8634 Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
Julian Carrivick authored
When bringing up containers with docker compose during BDD testing a time.sleep call is not very efficient. This commit replaces this with an intelligent probing of the containers to determine when they are ready. It determines this by checking the output of the netstat command on each container for listening or connected TCP connections. Once an active connection is detected on all containers or the timeout period elapses, execution continues or aborts respectively. In combination with change 419 in this change BDDTests complete approximately 4 minutes faster. Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com> Change-Id: I2c89f360d04a8e5e5daeaa2aa5027e5c191a453c
-
Jonathan Levi authored
-
Greg Haskins authored
-
- 16 Aug, 2016 9 commits
-
-
Jonathan Levi authored
-
Ivan Puddu authored
The chaincode specification code creation was repeated line by line for the deploy and invoke/query commands of the peer. The code is now placed in a function called "getChaincodeSpecification". Change-Id: Iae60d8c3640562049a1fad140dd06f32a8af8bfb Signed-off-by:
Ivan Puddu <puddui@student.ethz.ch>
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Christopher Ferris authored
-
Julian Carrivick authored
There are many cases of sleep invocations being made during BDD tests which are not necessary for the tests to pass. This commit removes many of the cases of this occurring. I have also reformatted the tests I have touched to replace tab characters with the standard 4 spaces and make indentation adhere to some semblance of a standard. Additionally, I have reenabled tests for issue 680 and issue 724 which pass. Change-Id: I8695a27f5f35a50b0e84e2c0fddd79dfb885e88a Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
Julian Carrivick authored
Change HLC -> HFC in the Running Unit Tests section Also put line breaks at 80 characters to aid in readability of the markdown source. Change-Id: I29623eae09b3eac7d0a843907a5543e4a2b8218e Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
Brad Gorman authored
Replaced ChaincodeStub with ChaincodeStubInterface to allow unit testing of chaincode. MockStub added to emulate a real chaincode without the storage or network requirements. Unit test examples for chaincode_example02 to 05. I have another changeset to address tables and certificates. Change-Id: I37d6115781436e080a70d5c48c1128ee01fef3ba Signed-off-by:
Bradley Gorman <bgorman@au1.ibm.com>
-
Julian Carrivick authored
Rather than sleeping and 'hoping' the membersrvc is ready once the thread wakes up, add a script which polls the membersrvc rpc port to check if it is open, and if it is, run the peer. For docker-compose configurations that don't use the membersrvc, the peers will start immediately. Change-Id: I65aff6a6432fbca7168309719893ec8a9f4e290f Signed-off-by:
Julian Carrivick <cjulian@au1.ibm.com>
-
- 15 Aug, 2016 2 commits
-
-
bcbrock authored
Due to recent changes in APIs etc., busywork does not work with the current fabric. In the fabricLogger, changed "uuid" to "txid" to match the new protos. In the Tcl library, changed the code to support the new REST API that now simply takes a single list of base64 arguments for invoke and query. Change-Id: I78b8f4343294190c404a1e52a926019c8ad52ae1 Signed-off-by:
Bishop Brock <bcbrock@us.ibm.com>
-
rameshthoomu authored
Add markdown view Jenkins build status url in index.md. This gives flexiblity to the user to view Jenkins build status from documentation. Change-Id: Ic661207d6fce01ebb60c5b4654458af22ccc54f0 Signed-off-by:
rameshthoomu <rameshbabu.thoomu@gmail.com>
-
- 12 Aug, 2016 2 commits
-
-
Gabor Hosszu authored
Change-Id: I65cb38edc245079d6eec0ae49a24dd6379ff1c28 Signed-off-by:
Gabor Hosszu <gabor@digitalasset.com>
-
Gabor Hosszu authored
Change-Id: I41c2147090a538a91f8ebe6b0f78b44ce5bee45c Signed-off-by:
Gabor Hosszu <gabor@digitalasset.com>
-