mirror of
https://github.com/corda/corda.git
synced 2025-01-21 03:55:00 +00:00
Simm demo fix (#122)
* Update main to match nodes in deployNodes configuration (no Bank C). * Update simm-valuation-demo documentation and comments.
This commit is contained in:
parent
3d747ff663
commit
ee99d7e9d0
@ -339,6 +339,7 @@ Then, for all three:
|
||||
5. Enter at least 3 trades - via the "Create New Trade" tab
|
||||
6. On the "Agree Valuations" tab, click the "Start Calculations" button
|
||||
|
||||
Additionally, you can confirm that these trades are not visible from `Bank C's node <http://localhost:10009/web/simmvaluationdemo/>`_.
|
||||
Additionally, you can confirm that these trades are not visible from `Bank C's node <http://localhost:10009/web/simmvaluationdemo/>`_
|
||||
and are visible to `Bank B <http://localhost:10007/web/simmvaluationdemo/>`_.
|
||||
|
||||
Please note that any URL path information after `simmvaluationdemo` should not be bookmarked or navigated to directly, as it is only provided for aesthetic purposes.
|
@ -5,15 +5,16 @@ import net.corda.node.driver.driver
|
||||
import net.corda.node.services.transactions.SimpleNotaryService
|
||||
|
||||
/**
|
||||
* Sample main used for running within an IDE. Starts 3 nodes (A, B and Notary) as an alternative to running via gradle
|
||||
* Sample main used for running within an IDE. Starts 4 nodes (A, B, C and Notary/Controller) as an alternative to running via gradle
|
||||
* This does not start any tests but has the nodes running in preparation for a live web demo or to receive commands
|
||||
* via the web api.
|
||||
*/
|
||||
fun main(args: Array<String>) {
|
||||
driver(dsl = {
|
||||
startNode("Notary", setOf(ServiceInfo(SimpleNotaryService.type)))
|
||||
startNode("Controller", setOf(ServiceInfo(SimpleNotaryService.type)))
|
||||
startNode("Bank A")
|
||||
startNode("Bank B")
|
||||
startNode("Bank C")
|
||||
waitForAllNodesToFinish()
|
||||
}, isDebug = true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user