From fd06a45d63ad9d10d8e102c7388ec4f30a364ac7 Mon Sep 17 00:00:00 2001 From: Andrius Dagys Date: Mon, 6 Feb 2017 15:57:19 +0000 Subject: [PATCH] Demo bug fixes (#217) * Add webAddress back to NMS as it shifts the port allocation for all subsequent nodes and causes all demos to break. * Attachment demo: fix node names * Notary demo: fix certificate paths & ports * IRS demo: role decider fixed to allocate roles properly. Previously it used to pick current node as the Fixer, causing both nodes to initiate the trade flow, resulting in double spend exceptions.. --- .../Raft_Notary_Demo__Run_Notarisation.xml | 2 +- .../kotlin/net/corda/node/driver/Driver.kt | 5 +- .../corda/attachmentdemo/AttachmentDemo.kt | 4 +- .../kotlin/net/corda/irs/flows/FixingFlow.kt | 7 +-- samples/raft-notary-demo/build.gradle | 48 ++++++++++--------- .../kotlin/net/corda/notarydemo/NotaryDemo.kt | 17 ++++++- 6 files changed, 53 insertions(+), 30 deletions(-) diff --git a/.idea/runConfigurations/Raft_Notary_Demo__Run_Notarisation.xml b/.idea/runConfigurations/Raft_Notary_Demo__Run_Notarisation.xml index 0cf5567128..23512d7425 100644 --- a/.idea/runConfigurations/Raft_Notary_Demo__Run_Notarisation.xml +++ b/.idea/runConfigurations/Raft_Notary_Demo__Run_Notarisation.xml @@ -3,7 +3,7 @@