From 05b18274506c5ffe0d237097e9fc622f59ca7b3d Mon Sep 17 00:00:00 2001 From: GME Date: Thu, 14 Mar 2019 20:44:40 +0100 Subject: [PATCH] latest test --- .idea/workspace.xml | 97 +++++++++--------- msp/org1/admin.context | Bin 1729 -> 1729 bytes .../java/blockchain/configuration/Config.java | 3 +- src/test/java/blockchain/query/QueryTest.java | 4 +- 4 files changed, 52 insertions(+), 52 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d7031dc..e548aef 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,13 +3,8 @@ - - - - - @@ -24,11 +19,11 @@ - + - + - + @@ -45,23 +40,23 @@ - + - + - + - - + + @@ -111,11 +106,11 @@ - + - - + + @@ -179,8 +174,8 @@ @@ -201,8 +196,8 @@ - + @@ -417,7 +412,7 @@ - + @@ -557,8 +552,8 @@ - + @@ -601,19 +596,12 @@ + + - - - - - - - - - @@ -635,14 +623,23 @@ + + + + + + + + + - - + @@ -653,7 +650,7 @@ - + @@ -662,7 +659,7 @@ - + @@ -688,7 +685,7 @@ file://$PROJECT_DIR$/src/test/java/blockchain/query/QueryTest.java - 35 + 37 @@ -892,6 +889,20 @@ + + + + + + + + + + + + + + @@ -927,24 +938,10 @@ - - - - - - - - - - - - - - - - + + diff --git a/msp/org1/admin.context b/msp/org1/admin.context index 9cd1a0c9553e9a9c4d9de8e39b69a05367a6f651..837292f63ad270e7d6b7f83ee9cbe89e70957b13 100644 GIT binary patch delta 609 zcmbu%&1=(8008jTZcYmWVQjd=5WLx<>zDn&?(q8Byrk)Cnzm_^fI^zow8@&JN!qjp znI}a&h!lpR2glq&K@dc7#~!>2?xZMsP`u5Hq97jhfAIP{{AP=@#ix=#q(KOzt_nOV z2ULn{XM~u|MtRoF^GZ>l6uTx}9ZQ>HMVQ|7@2^b?5nR_Nt@Zx(KD|i9mLX7L{?e$n`jcL>jEO%Dn1oPz&m5xs9QN zK$KG`kJT}x0acEa2$1q5j`n(kXxhmbGOg3%P-Zln=M1S4vs{gmi3w^3F)$H?eN@AV zOb%cOA}YWI4pJ;^AORtl7Zo*8Cb&AKueWV^1Z|^V7{yS-i5oacSV7cr!flUIVb~^; zZAt2ONUhI=c|v12)HJLV-82MpTsO;Pwcwdd+B2W6&Jq5t+k20g0Dq}Fy|5kKxFIaX zFFwhh-29aI@cr@g74z-s2f?GqLf6RG8v*~qPCk(H%{lDn!xuesI~z)zdB1b;(|P!7 zKXL!%Z28TddrPmr9sb$7zIJN4Yg1pY?1q2;xH|m0J2(hrSF>kVDtGhmj*lGMmo;tm fT+197(~tAF>i<2uz6HisqqtUaee;si>l)TyYzyO^ delta 609 zcmbu%J&)300KjpOdofLj#?3SCN~2K9A(tGQr%$1@UL9{rU>IUnKzOVN@3<-+3C)hp{S6Z>>_?TlHAAAEfJ_2P7w zx%B%S&E9_7;QYN~YL*tS{kro3DR&>=`UK!-BCTwPcdw7!L142xFfZ4;LudYN`C<9L Vk6vK4FfbWZQoX=3X>=^7_Xkn^)lvWe diff --git a/src/main/java/blockchain/configuration/Config.java b/src/main/java/blockchain/configuration/Config.java index 161b839..7434e7b 100644 --- a/src/main/java/blockchain/configuration/Config.java +++ b/src/main/java/blockchain/configuration/Config.java @@ -34,7 +34,8 @@ public class Config { public static final String CHANNEL_NAME = "mychannel"; //public static final String CHAINCODE_NAME = "mycc"; - public static final String CHAINCODE_NAME = "monnethic"; + //public static final String CHAINCODE_NAME = "monnethic"; + public static final String CHAINCODE_NAME = "monnethic-dev-4"; //PEER 0 public static final String ORG1_PEER_0 = "peer0.org1.example.com"; diff --git a/src/test/java/blockchain/query/QueryTest.java b/src/test/java/blockchain/query/QueryTest.java index 9ef3b63..f1b6af0 100644 --- a/src/test/java/blockchain/query/QueryTest.java +++ b/src/test/java/blockchain/query/QueryTest.java @@ -31,7 +31,9 @@ public class QueryTest { ChannelClientWrapper channelClientWrapper = ChannelClientWrapper.setupChannel(fabricClientWrapper); - String[] args1 = {"a"}; + //String[] args1 = {"a"}; + //String[] args1 = {"chef"}; + String[] args1 = {"bitman"}; Collection responseQuery = channelClientWrapper.queryByChainCode(chaincode,"query",args1); for(ProposalResponse pres : responseQuery){