Introduced a Cordapp class which contains all relevant information about a Cordapp. The Cordapp loader now produces Cordapps instead of lists of classes and services without any relation to the original Cordapp.
Added new static constructor to CordappLoader to be able to take arbitrary paths to load cordapps from in dev mode.
Moved the CordappLoader into the cordapp package.
* Improved support for testing custom schemas using a MockNetwork.
* Removed `requiredSchemas` from CordaPluginREgistry configuration
Custom schema registration now uses classpath scanning (CorDapps) and explicit registration (tests) following same mechanisms as flow registration.
* Updated following PR review feedback.
* Helper function to return Kotlin object instance fixed and moved to core InternalUtils class.
* Fixed auto-scanning Unit test to assert correct registration of custom schema.
* cleanup comment.
* Changes following rebase from master.
Refactoring meant that the secondary constructor wasn't being called any
more and thus the check wasn't being made. Originally, we always
created copies of fields when constructing a schema which meant we always
called the secondary constructor, now we don't
commit 6603c2f5ab68db30f265073138e75e0ff4542b57
Merge: 0347a6da4 cc128aa4f
Author: Joel Dice <joel.dice@gmail.com>
Date: Tue Sep 12 10:20:45 2017 -0600
Merge pull request #550 from corda/chrisr3-exceptions-vmrun
Refactor handling of uncaught exceptions with OpenJDK to use runRaw().
commit cc128aa4f93d4deadd3368fb68397c52ee88fe86
Author: Chris Rankin <chris.rankin@r3.com>
Date: Mon Sep 11 23:41:57 2017 +0100
Refactor handling of uncaught exception with OpenJDK to use runRaw().
If the serializer is going to support enumerated types then the class
carpenter also has to
Refactor the Carpenter schema and fields to add an enum type, add code
in the carpenter to generate enum's and of course add tests
CordappLoader - Added a new cordapp loader class to encapsulate loading of cordapp classes. Added a utils for classloading. Moved a lot of code out of abstract node into the new loader.
commit 0347a6da462f724011c4078e9551800fa6455c56
Author: Joel Dice <joel.dice@gmail.com>
Date: Mon Sep 11 10:49:39 2017 -0600
attempt to fix Travis-CI build regression linked to Trusty upgrade
commit 06cae8a63c9a9b986b75d25b87af5e5a7610e0e5
Merge: 0056f2885 e94b191e6
Author: Joel Dice <joel.dice@gmail.com>
Date: Mon Sep 11 10:41:58 2017 -0600
Merge pull request #548 from corda/chrisr3-log-uncaught-exceptions
Allow any uncaught exception to be logged as the thread exits.
commit 0056f2885285de374464436a9d6a6cea3a0e3c1b
Merge: a25c09bb7 7b3bedf0a
Author: Joel Dice <joel.dice@gmail.com>
Date: Mon Sep 11 10:39:57 2017 -0600
Merge pull request #549 from seanhenry/fix-string-builder
Changes return type to StringBuilder
commit 7b3bedf0a4d16d837ec97cdac10dd86aef82953e
Author: Sean Henry <hello@seanhenry.codes>
Date: Sun Sep 10 09:00:09 2017 -0700
Changes return type to StringBuilder
commit e94b191e6dd83d86775079fa3dff218f7fe53005
Author: Chris Rankin <chris.rankin@r3.com>
Date: Wed Sep 6 10:38:34 2017 +0100
Allow any uncaught exception to be logged as the thread exits.
* ContractState's contract type has been moved to TransactionState and is now a string representing the class name of the contract class to allow classloading of arbitrary contracts from custom classloaders.
* Upgraded isolated JAR to new version.
* Enabled confidential identities in:
** IssuerFlow
** Trader demo
** Two party deal flows
** Two party trade flows
** Corda RPC tests
** Cash flows
** Integration testing tutorial
** Node monitor model tests
** CollectSignatureFlow
* Relay local node's confidential identities to counterparties when requesting transaction
signatures, so counterparties know where the inputs come from.
* Require all identities are known in finality flow
* Ensure all identities in FxTransactionBuildTutorial are known to each other
* Add flow for syncing identities to a number of counterparties
* Address PR comments
* Disable anonymisation in example code
* Revert unnecessary changes remaining from earlier rebases
* Corrections after rebase
* Remove unneeded identity registration
Remove unneeded identity registrations from tests, which sometimes cause duplicated entries in the database
* Revert accidental change in examples
* Revert unneeded imports
* Revert changes to CoreFlowHandlers.kt
* * Upgrade to Corda 0.16
* validate X500 name using `validateX500Name` method
* read email from CSR instead of X500Name
* replaced Exposed with hibernate
* * removed unused class
* * make test helper method private
* address PR issue
* Move JavaFX Models functions into Models so that there isn't an empty ModelsKt class generated
for Java interop.
* Move Models functions into their own file as pushing them into the Models class requires significant changes to the Explorer.
* Remove internal state of TransactionGraphSearch from being publicly visible.
* Add Dokka comments for TransactionGraphSearch.Query values.
* Move query into TransactionGraphSearch constructor as it should always be set except for test cases.
* Move TransactionGraphSearch into trader demo
* Remove unneeded identity registrations from tests, which sometimes cause duplicated entries in the database
* Add JvmName annotations to ObservableFold and ObservableUtilities
* Move createMapChange() into ReadOnlyBackedObservableMapBase as the only place it's used, to
improve Java interop.
* Clean up Generator by moving extension functions into the class/companion class.
* Add documentation to the actual functions rather than being only on the top level class.
* Add JvmName to Generators
* Move extension functions into the classes they're used in to try supressing generation of empty RPCClientProxyHandlerKt class.
* Add JvmName to ConcurrencyUtils
* Move Iterable<ServiceInfo>.containsType() into Simulation, as it's only useful when verifying
setup of a simulated case. Resolves ServiceInfoKt class being generated.
* Move FlowHandle.notUsed() into the one place it's actually called, so Kotlin stops creating a FlowHandleKt class.