Update config port

This commit is contained in:
GME 2018-10-23 20:47:58 +02:00
parent 57a55272ea
commit 85247dcb46
5 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ public class Config {
public static final String ORG1_PEER_0 = "peer0.org1.example.com";
public static final String ORG1_PEER_0_URL = "grpc://vps577432.ovh.net:7051";
public static final String ORG1_PEER_0_URL = "grpc://vps577432.ovh.net:8051";
public static final String USER_TEST_SECRET = "frwcKfCYPxWA";

View file

@ -27,7 +27,7 @@ public class QueryTest {
Channel channel = channelClientWrapper.getChannel();
Peer peer = fabricClientWrapper.getClient().newPeer(Config.ORG1_PEER_0,Config.ORG1_PEER_0_URL);
EventHub eventHub = fabricClientWrapper.getClient().newEventHub("eventhub01", "grpc://vps577432.ovh.net:7053");
EventHub eventHub = fabricClientWrapper.getClient().newEventHub("eventhub01", "grpc://vps577432.ovh.net:8053");
Orderer orderer = fabricClientWrapper.getClient().newOrderer(Config.ORDERER_NAME,Config.ORDERER_URL);
channel.addPeer(peer);
channel.addEventHub(eventHub);