Changelog
The following sections describe major changes per version and can be helpful with version upgrades.
0.52-0.53
- Updated dependencies.
0.51
- Updated Corda Testacles to 0.13.
- All instances of
cordapPackageshave been renamed tocordappPackages, including code and properties.
0.50
- Updated dependencies, upgraded to Corda to 4.6
0.49
-
Updated vaultaire, corda-rpc-poolboy
-
Support custom Cordapp Config during test execution using prperty files.
0.47
- Bumped Vaultaire to v0.30
0.46
- Bumped Vaultaire to v0.29
0.45
- Improved support for Corda Accounts
0.43-44
- Corbeans no longer requires a fixed number of nodes.
Nodes (and their RPC connection config) are now completely dynamic,
so no
CordaNodeServicebeans will be registered anymore. Instead, you must useCordaNetworkService.getNodeService(nodeName)to obtain a node service for the target node. - All services now use RPC connection pooling based on
(Corda RPC PoolBoy)[https://github.com/manosbatsis/corda-rpc-poolboy] under the hood. - You should no longer use a
CordaRPCOpsdirectly. Instead, useCordaNetworkService.withNodeRpcConnectionorCordaNodeService.withNodeRpcConnectionto enclose blocks that call flows etc. - Removed the
corbeans.nodes.default.primaryServiceTypeproperty. If you want to customize theCordaNodeServiceimplementastion used, you will need to override/use your ownCordaNetworkServicebean, or use a regular node service as a Kotlin delegate. - Removed
corbeans.nodes.default.bnmsServiceType. You must now usecorbeans.bnmsServiceTypeto specify aCordaBnmsService
implementation class.
0.42
- Fixed generated POMs
0.41
CorbeansMockNodeParametersConfigand thusCorbeansMockNetworkFlowTestwill now ignoredefaultandcordformnode configurations when creating a MockNetwork- Corbeans will no longer add an
ObjectMapperfrom corda-jackson - Added workaround/fix for a Corda
LinkageErrorwhen it’s decoratedAttachmentURLStreamHandlerFactorywas applied - Bumped Corda to 4.4, Vaultaire to 0.25
0.40
- Bumped Vaultaire to 0.20
0.39
- Fixed
com.github.manosbatsis.corbeans.test.integration.CorbeansSpringExtensiontrying to launch multiple Corda networks when using inner test classes
0.38
- Refactored to
com.github.manosbatsis.vaultaire.rpc.NodeRpcConnectioninterface
0.37
- Bumbed vaultaire version
0.37
- Build cleanup
0.36
- Added
disableGracefulReconnectconfiguration property, default isfalse
0.35
- Switched to Corda 4.3’s automatic RPC reconnection
0.34
- Updated to and requiring Corda 4.3, at least for running tests. If you are on Corda 4.1, it is recommended you use Corbeans 0.33.
- Extracted common
CordaRpcServicebase class for node and BNMS services to extend from. - Added alternative method signatures to
CordaBnmsServiceand applied the membership metadata param regularly.
0.30-33
- Misc improvements and fixes.
0.29
0.28
NodeDriverHelpernow explicitly stops and closes nodes- Added
refreshNetworkMapCacheendpoint and service method
0.27
- Refactored and moved
StateServiceto the Vaultaire project
0.26
- Improved
UniqueIdentifierConverterto properly handle externalIDs that contain an underscore. - Return a 404
ResponseStatusExceptionwhen an attachment (hash) is not found - Upgraded to Corda 4.1 and Gradle (wrapper) 4.10.2.
0.25
- From now on Corbeans BNMS controllers will have to be explicitly added if desired, see BNMS Starter.
0.24
- From now on a Corbeans “Node” controller will have to be explicitly added if desired, see Web API
corbeans.nodes.xxx.testPartyNamecan be used to set the Node identity for integration tests- Both X500 and organization names of a Node Party (
Party) can now be used as thenodeNamepath fragment - Updated Spring, Spring Boot dependencies (5.1.8.RELEASE, 2.1.6.RELEASE)
0.23
- Added BNMS starter module
- Added Spring converter for
UniqueIdentifier - Cleaned up nodes/peers endpoints, they now return
List<PartyNameModel> - Added
corbeans.objectmapper.enableRpcproperty
0.22
- Deprecated
WithImplicitNetworkITin favour ofCorbeansSpringExtension - Updated Corda platform to version 4.0
0.21
- Updated Corda platform and plugins to 4.0-RC07 and 4.0.40 respectively.
0.20
- Improved exception handling in
NodeRpcConnectionattempts - Added support for
ClientRpcSslOptionsconfiguration per node inapplication.properties
0.19
- Initial changelog
- Added Corda 4.0 as minimum required version
- Added template project
- Added
corbeans.nodes.default.*properties for global node defaults - Added new config properties per node and
CordaRPCClientConfigurationupdates in Corda 4.0 - Added
CordaNetworkServiceas a convenient, autowirable entry point to API - Added
StateServicehelpers - Removed
WithDriverNodesIT.getCordappPackagesandWithImplicitNetworkIT.getCordappPackagesmethods in favor of usingcorbeans.cordapPackagesconfiguration in application.properties - Added
CorbeansSpringExtensionfor implicit network during integration tests as an alternative to subclassingWithImplicitNetworkIT - Fixed
WithImplicitNetworkITissue with test hanging in some cases - Moved REST controller endpoints from
/nodeand/nodes/{nodeName}to/api/nodeand/api/nodes/{nodeName}respectively - Refactored packages, for example
import com.github.manosbatsis.corbeans.spring.boot.corda.util.NodeParams import com.github.manosbatsis.corbeans.spring.boot.corda.util.NodeRpcConnection import com.github.manosbatsis.corbeans.spring.boot.corda.CordaNodeService import com.github.manosbatsis.corbeans.spring.boot.corda.CordaNodeServiceImplis now
import com.github.manosbatsis.corbeans.corda.common.NodeParams import com.github.manosbatsis.corbeans.spring.boot.corda.rpc.AbstractNodeRpcConnection import com.github.manosbatsis.corbeans.spring.boot.corda.service.CordaNodeService import com.github.manosbatsis.corbeans.spring.boot.corda.service.CordaNodeServiceImpl - Refactored return type of
CordaNodeService.peersandCordaNodeService.peerNamesfromMap<String, List<String>>to simplyList<String> - Added basic Spring boot Actuator components: an info endpoint contributor and a custom corda HTTP/JMX endpoint
- Added endpoints for saving attachments and browsing attachment archive contents
- Added Spring converter for
CordaX500Name - Added ObjectMapper auto-configuration with RPC support
- CorbeansSpringExtension for JUnit5 now starts nodes and the container in the correct order