com.github.manosbatsis.corda.testacles.containers.cordform / CordformNetworkContainer
CordformNetworkContainer¶
open class CordformNetworkContainer : Startable
Wraps a set of Containers composing a Corda Network,
using the output of the Cordform
Gradle plugin as source.
Constructors¶
Name | Summary |
---|---|
<init> | CordformNetworkContainer(nodesDir: File , network: Network = Network.newNetwork(), imageName: String , imageCordaArgs: String = CordformNetworkConfig.EMPTY, databaseSettings: CordformDatabaseSettings = CordformDatabaseSettingsFactory.H2, cloneNodesDir: Boolean = false, privilegedMode: Boolean = false, clearEnv: Boolean = false, nodeContainerCreator: (dockerImageName: DockerImageName, nodeContainerConfig: NodeContainerConfig ) -> NodeContainer <*> = ::CordformNodeContainer)``CordformNetworkContainer(cordformNetworkConfig: CordaNetworkConfig ) Wraps a set of Containers composing a Corda Network, using the output of the Cordform Gradle plugin as source. |
Properties¶
Name | Summary |
---|---|
cordformNetworkConfig | val cordformNetworkConfig: CordaNetworkConfig |
nodes | lateinit var nodes: Map < String , NodeContainer <*>> |
Functions¶
Name | Summary |
---|---|
buildNodeContainer | fun buildNodeContainer(nodeContainerConfig: NodeContainerConfig ): NodeContainer <*> |
dependsOn | fun dependsOn(startable: Startable): CordformNetworkContainer |
getDependencies | open fun getDependencies(): Set <Startable> |
getNode | fun getNode(nodeIdentity: CordaX500Name): NodeContainer <*> fun getNode(nodeName: String ): NodeContainer <*> |
start | open fun start(): Unit Start the network |
stop | open fun stop(): Unit |
Companion Object Properties¶
Name | Summary |
---|---|
RESOURCE_LOCK | const val RESOURCE_LOCK: String |