7456 Commits

Author SHA1 Message Date
Stefano Franz
e255ef38cf address review comments re: documentation 2019-01-31 08:12:34 +00:00
Stefano Franz
544d09ea18 update docs to reflect the removal of the bundled finance app 2019-01-31 08:12:34 +00:00
Stefano Franz
41c4016a83 remove bundled finance app 2019-01-31 08:12:34 +00:00
Tudor Malene
37eb93fa76
Tighten no overlap check. () 2019-01-30 22:01:18 +00:00
Christian Sailer
deba96dce9 ENT-2991 Deadlock between AppendOnlyPersistentMap and underlying database ()
* Remove locks around database access in AppendOnlyPersistentMap and introduce
a unit test that checks that known deadlock scenarios of the old version
are avoided.

* Fix Deadlock unit test

* Add some extra latching to try and make timing less fragile.  Can never be perfect though.

* Review feedback, and some thread safety fixes.
2019-01-30 18:20:53 +00:00
josecoll
91c2d75f31
Fix bug in verifier for has to signature constraints (auto-migration). () 2019-01-30 15:54:12 +00:00
Stefano Franz
fab3e113fb do not install documentation with textlive 2019-01-30 15:33:46 +00:00
Stefano Franz
b5d80e0c3c add --rm flag for the windows docs build 2019-01-30 15:33:46 +00:00
Stefano Franz
875d2eb02a run docs build as local user 2019-01-30 15:33:46 +00:00
Stefano Franz
1dcc1c6e05 fix issue with api docs 2019-01-30 15:33:46 +00:00
Stefano Franz
fe0cafd06e dockerize docs building 2019-01-30 15:33:46 +00:00
Roger Willis
365471d9f4
CORDA-2531 State mappings are now also updated for new reference states. ()
* State mappings are now also updated for new reference states.
Added a test to prove the above works.

* Addressed Rick's review comments.
2019-01-30 10:42:43 +00:00
Rick Parker
7dc7313fb7
ENT-3000 Start pooling classpath scanning and related fixes ()
* 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.
2019-01-30 10:35:20 +00:00
Andrius Dagys
9ade410109 Minor: remove redundant Raft migration script 2019-01-30 10:50:17 +01:00
Andrius Dagys
9c8928ee41 ENT-2822: Update notary configuration docs 2019-01-29 19:30:55 +01:00
Katarzyna Streich
6efd54fce1
CORDA-2520: Add FetchParametersFlow ()
* CORDA-2520: Add FetchParametersFlow

* Address comments, add test
2019-01-29 18:16:37 +00:00
Tudor Malene
c3f0dfd8a7 Address code review comments. 2019-01-29 16:48:01 +00:00
Shams Asari
88e4b85537
CORDA-2521: Checkpoint verifier no longer cares about the CorDapp jar name ()
The check on the CorDapp hash is sufficient.
2019-01-29 16:32:07 +00:00
Tudor Malene
262a7ad1b7
Backport merge fixes added to ENT ()
Fix test and address code review comments.
2019-01-29 13:45:04 +00:00
Joel Dudley
8f3e527d98
Table formatting. 2019-01-29 13:26:28 +00:00
Joel Dudley
fc6c1e81e3
Typo 2019-01-29 13:25:09 +00:00
Anthony Keenan
84e7cb231d
Minor docs fix () 2019-01-29 13:10:07 +00:00
Manos Batsis
165520f718 fixed , minor change to support Gradle's Kotlin DSL () 2019-01-29 11:30:58 +00:00
Viktor Kolomeyko
5744614886
ENT-3001: Make subCommands lazy val ()
This is to prevent initialising it multiple times.
Please see linked Jira to understand how this can cause harm.
2019-01-29 10:48:33 +00:00
Andrius Dagys
cfa06853c0 CORDA-2524: Minor – reduce notary service logging noise 2019-01-29 10:23:55 +01:00
JamesHR3
22462cc1e8
[CORDA-1596] Improve error message when CorDapp schema changes ()
* Raise schema exceptions with better error

* Add test and use new exceptions
2019-01-29 08:17:05 +00:00
James Brown
6b0b8b394c CORDA-2367 update threat model diagram 2019-01-28 21:33:04 +01:00
Shams Asari
2262d05d5c
Made NetworkMapTest leaner ()
Merged three tests into one to avoid repeating the same node startups. The assertions the original tests made can be done in one test without any contamination.
2019-01-28 17:50:26 +00:00
JamesHR3
6433401b76
[CORDA-2516] Fix missing ending markers in the node database table () 2019-01-28 14:21:08 +00:00
Tommy Lillehagen
b79cb55ce5
CORDA-2419 - JavaFX requirement for Node Explorer () 2019-01-28 14:11:59 +00:00
Shams Asari
e20278fbfd
Made FlowCheckpointVersionNodeStartupCheckTest leaner ()
* Removed `restart node successfully with suspended flow` as it duplicates `TraderDemoTest#Test restart node during flow works properly`
* Removed the need for a notary
2019-01-28 14:08:54 +00:00
Shams Asari
49e23bca82
Removed AsymmetricCorDappsTests ()
This is only testing the internal cordappForClasses method which is used for internal testing. This method is covered by other unit and integration tests.
2019-01-28 13:59:38 +00:00
Shams Asari
fc7428a40d
CORDA-2503: Added installCordaService to UnstartedMockNode to allow tests with custom test-only services () 2019-01-28 13:49:01 +00:00
Oliver Knowles
631f04e348
Improve documentation surrounding network parameter updates/flag day ()
Improve documentation surrounding network parameter updates and flag days
2019-01-28 13:32:50 +00:00
JamesHR3
f04a2e72e0
[CORDA-2516] Add missing database tables to documentation ()
* Add missing tables to the database documentation
2019-01-28 11:22:53 +00:00
Shams Asari
3db35d8911
Made NodeRegistrationTest leaner () 2019-01-28 10:54:30 +00:00
Shams Asari
19325ebcb0
Removed NodeMonitorModelTest ()
It seems outdated, testing things which are covered elsewhere. Also it's unnecessary to have full nodes for testing GUI components.
2019-01-28 10:21:18 +00:00
Tommy Lillehagen
f76dc96d5e
Fix link to errors.corda.net in release notes () 2019-01-28 08:20:38 +00:00
Shams Asari
5656d8ee80 CORDA-2510: Added missing confidential-identities CorDapp to DemoBench () 2019-01-25 17:48:10 +00:00
Viktor Kolomeyko
0a039e9094 CORDA-2345: Fix Windows build () 2019-01-24 21:35:25 +00:00
Roger Willis
0e1c20a883
CORDA-2497 fix ()
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.
2019-01-24 20:36:33 +00:00
szymonsztuka
f7a6463424
Fix Liquibase AttachmentVersionNumberMigration failure when system property is not provided or was set wrongly (a String "null" and not null) ()
When system property is not provided or was set wrongly (a String with text "null" and not null reference).
2019-01-24 18:19:39 +00:00
Dimos Raptis
16d53505d7
[CORDA-2496] - Adjust CorDappResolver to handle same CorDapp registered multiple times () 2019-01-24 17:06:05 +00:00
szymonsztuka
1b89ece09b CORDA-2504 improve error message of missing contract attachments ()
* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName - additional API overloaded method.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName - unnecessary change.

* Docs

* fix docs

* fix docs 2

* fix docs 3
2019-01-24 15:48:07 +00:00
James Brown
8722e9f0cf
ENT-2945 Update postgresql dependency ()
Update postgresql to 42.2.5
2019-01-24 14:58:30 +00:00
Dominic Fox
d540aa5b17
ENT-2977 resolve custom serializers earlier ()
* ENT-2977 resolve custom serializers earlier

* Remove unnecessary import

* Cache hot serialisation paths

* Remove blank line
2019-01-24 11:31:51 +00:00
szymonsztuka
9f4c8bcea5
CORDA-2490 Attachment in the directory fails to correctly upload ()
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.
2019-01-23 20:29:16 +00:00
Shams Asari
5bb5244e55
CORDA-2228: Exceptions emanating from ReceiveFinalityFlow are sent to the flow hospital () 2019-01-23 16:24:49 +00:00
Katarzyna Streich
e93327bb6a
CORDA-2351 - Fix Demobench readme ()
* CORDA-2351 - Fix Demobench readme

Remove information that BankOfCorda app is automatically loaded. Add
new up-to-date screenshots and information on how to check issuable
currencies on the node.
2019-01-23 13:45:53 +00:00
Katarzyna Streich
35acbc8107
CORDA-2361: Split samples into contracts and workflows () 2019-01-23 13:26:33 +00:00