Removing all references to web/example as Spring serves up the page from the home page
Reverting change to one of the ports
minor fixes including the splitting of finance jar into contracts and workflows
* Allow for duplicate (contract class, version) signed attachments in devMode.
* Code clean-up.
* Fix compilation error in test code.
* Additional gating/warning and added Unit test for development mode behaviour.
* Start pooling classpath scanning
Quickly patch synchronisation of attachment class loader cache. Needs a revisit but more complicated due to DJVM.
Annotate away for DJVM
Take ClassGraph utils into their own file so we can exclude for DJVM
Clean up a little
* Daemonize the threads
* Seems to be some concurrency problems with use of ClassGraph. Using a mutex for now to work around.
(cherry picked from commit 7dc7313fb716388c24bd9de4e9d71b6f15ce0038)
* ENT-2967 Various JDK contention points
* Move new private method to bottom of class.
(cherry picked from commit 197a13611dd0f15fe165b3ea0c6738c932c74d17)
CORDA-2497 fix
* Added test to show the fix working.
* Now backwards compatible.
* Refactored out some duped code.
* Added better explanations for what's going on.
* Fixed test which was failing due to the serializationEnvRule problem.
* Addressed Tudor's review comments.
The column 'uploader' was marked as not updatable entity so any update wasn't propagated to the database when the attachment was uploaded again and the uploader field was changed to a trusted one. Also 'saveOrUpdate' removed, the entity is already managed, saveOrUpdate is for detached/new entity.
(cherry picked from commit 9f4c8bcea5bb780eec1c1f663302ed92f2c38733)
* Exit and raise an error if there are V3 states in the vault
* Add a test to check that old vault states are correctly detected
* Fix test to correctly close database transaction
* Update the documentation to add a warning about V3 states
* Address review comments and revert unnecessary refactor
* Address further review comments
* Add configuration option to disable exiting on V3 states
* Fix merge damage to reference.conf
* Fix issue with mock network
* Fix stdout renderer to swap out correctly named appender.
Also fix two compiler warnings
* Add clearer exception when console appender cannot be found
* Change error displayed when appender not found to warning
* Remove type declaration on separate line
* Add back V3 TransactionBuilder c'tor (#4587)
(cherry picked from commit 5bb38e455ca4268500856ab36224c437cd18c860)
* Regen isolated jar to fix failing test(s) (#4583)
https://github.com/corda/corda/pull/4541 removed TransactionBuilder c'tor (which was introduced post-V3) which the frozen isolated jar was using
(cherry picked from commit f5920252735944dc7e28cd633bf79e199b069f7d)
* Fixed AttachmentLoadingTests (#4565)
There were two issues:
* The original "sealing violation: can't seal package net.corda.nodeapi" issue was due to the isolated CorDapp containing some code in the net.corda.nodeapi namespace. This has been moved to the isolated namespace.
* The test was not correctly creating the second transaction with the dummy command
(cherry picked from commit 3b8347e1500ca0c002b11f068d7f7c9cbdc39762)
* Regen isolated.jar to make sure it's based on the branch
The gradle process that runs the tests keeps an exclusive hold on built jars in Windows, which means if a test wants to get hold of the CorDapp, and it's requested from the same module, it will fail. Now instead of deleting the "libs" dir we just use the latest created jar.
(cherry picked from commit 1bbcb8722edf02d6422888095d7195a4f73079d4)
* Add whitelists and custom serializers from cordapps to serialization context
* Remove changes in TransactionBuilder, add caching
* Add whitelists and custom serializers from cordapps to serialization context
* Remove changes in TransactionBuilder, add caching
* Address comments
* Increase node memory for SIMM integration test
* Cache only serialization context
* Increase integ test timeout
* Fix API breakage
* Increase max heap size for web server integ test
* Move classloading utils from separate module to core.internal
* Adjust heap size for more integ tests
* Increase time window for IRS demo transactions
* Fix determinator
* Add parameter in core-deterministic
* Stub out class-loading method for DJVM
* Pass states to record through to transaction resolution
* Add a test case
* Add comment indicating why states are always added in tx resolution
* Update observer node documentation
The version of contract attachments that are whitelisted should be read from NetworkParameters.whitelistedContractImplementations.
It use the lattes network map from db with the highest epoch.