mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
CORDA-670: Correct scanned packages in network visualiser (#1763)
* Add CorDapp dependency of IRS to network visualiser * Set CorDapp directories
This commit is contained in:
parent
f0138dfe17
commit
5d2a69ef51
@ -3,6 +3,7 @@ apply plugin: 'kotlin'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'application'
|
||||
apply plugin: 'net.corda.plugins.quasar-utils'
|
||||
apply plugin: 'net.corda.plugins.cordformation'
|
||||
apply plugin: 'us.kirchmeier.capsule'
|
||||
|
||||
dependencies {
|
||||
@ -19,6 +20,9 @@ dependencies {
|
||||
compile project(':finance')
|
||||
|
||||
// Cordapp dependencies
|
||||
cordapp project(':finance')
|
||||
cordapp project(':samples:irs-demo')
|
||||
|
||||
// GraphStream: For visualisation
|
||||
compileOnly "co.paralleluniverse:capsule:$capsule_version"
|
||||
compile "org.graphstream:gs-core:1.3"
|
||||
|
@ -22,6 +22,7 @@ import net.corda.testing.node.InMemoryMessagingNetwork
|
||||
import net.corda.testing.node.MockNetwork
|
||||
import net.corda.testing.node.TestClock
|
||||
import net.corda.testing.node.setTo
|
||||
import net.corda.testing.setCordappPackages
|
||||
import net.corda.testing.testNodeConfiguration
|
||||
import rx.Observable
|
||||
import rx.subjects.PublishSubject
|
||||
@ -263,6 +264,7 @@ abstract class Simulation(val networkSendManuallyPumped: Boolean,
|
||||
val networkInitialisationFinished = allOf(*mockNet.nodes.map { it.nodeReadyFuture.toCompletableFuture() }.toTypedArray())
|
||||
|
||||
fun start(): Future<Unit> {
|
||||
setCordappPackages("net.corda.irs.contract", "net.corda.finance.contract")
|
||||
mockNet.startNodes()
|
||||
mockNet.registerIdentities()
|
||||
// Wait for all the nodes to have finished registering with the network map service.
|
||||
|
Loading…
x
Reference in New Issue
Block a user