corda/node
Dan Newton 0762a61aca In AbstractNode check if an initiating flow already has a flow registered to it and throw exception if one has been (#3713)
* In AbstractNode check if an initiating flow already has a flow registered to it and throw exception if one has been

In AbstractNode.internalRegisterFlowFactory check if a flow factory already exists for a initiating flow
If a factory does exist, throw an exception
A few tests needed to be fixed due to this change

* Reorder test setup to prevent flows from being registered multiple times

* Use check instead of if and throws statement in AbstractNode when checking for initiating flow having multiple flows mapped to it

Use check instead of if throws statement
Change names of methods in tests
Improve FlowRegistrationTest to better check if flow has been registered properly

* tidy up FlowFrameworkTests and FlowRegistrationTest
2018-08-01 07:58:00 +01:00
..
capsule ENT-1633 increase node max heap size to 512m (#2851) 2018-03-26 13:41:37 +01:00
src In AbstractNode check if an initiating flow already has a flow registered to it and throw exception if one has been (#3713) 2018-08-01 07:58:00 +01:00
build.gradle Some base picocli classes used in network services (#3706) 2018-07-27 18:25:22 +01:00