corda/testing
Shams Asari d4f0e0f8e0
Ordered starting of node components and clear dependencies between them (#3664)
Moved start up logic of the various node components out of their c’tors and into “start” methods, which are called from Node.start(). The components themselves are created in the Node’s c’tor with minimal initialisation logic.

Certain things are not immediately available at construction time, which are instead given to the components at start time in an orderly fashion:

* Certs from the node’s key store and trust store
* The network parameters, and thus access to things like maxMessageSize and the contracts whitelist
* A running database - several components were doing database stuff their c’tors
* The node’s NodeInfo, and thus access to things like identities and addresses

The messaging service couldn’t be created in the Node’s c’tor due to initialisation issues with MockNode. This should be fixed in a later commit.
2018-07-24 16:13:21 +01:00
..
node-driver Ordered starting of node components and clear dependencies between them (#3664) 2018-07-24 16:13:21 +01:00
smoke-test-utils Fixed broken smoke test caused by no notaries in the network parameters (#3461) 2018-06-28 09:43:29 +01:00
test-common CORDA-1660: Wiring up the CordaRPCClient class loader to the p2p serialisation context. (#3454) 2018-06-27 17:02:35 +01:00
test-utils Ordered starting of node components and clear dependencies between them (#3664) 2018-07-24 16:13:21 +01:00