Commit Graph

5326 Commits

Author SHA1 Message Date
3066926f0f Improved classloader closing (#2650)
* Better handling of classloader closing
2018-02-27 11:15:23 +00:00
3391810101 CORDA-1004 Quasar-friendly ThreadLocal solution (#2594)
* Use FastThreadLocalThread in fiber scheduler
* Test that thread locals aren't serialized
2018-02-27 10:22:30 +00:00
f7c9f0d10e Wrong file name. 2018-02-27 10:21:03 +00:00
147f46fbf4 [CORDA-1119] Sign in DB transaction (#2645) 2018-02-27 10:00:30 +00:00
0adc203d7a CORDA-696: Fix conflict resolution error, fix filename type 2018-02-27 09:48:39 +00:00
3c8db47b5a Updates shell example of starting flow to reflect cash API change. 2018-02-26 18:16:25 +00:00
9da3a8ee05 [ENT-1552] Delete temporary truststore once the test is complete. (#484) (#2634) 2018-02-26 17:11:10 +00:00
f1c3f584ac Showcase link in Quickstart guide. Remove Utilities link (merged with Samples). 2018-02-26 16:47:53 +00:00
2da28c574e CORDA-1040 docs for FlowLogic.sleep (#2625) 2018-02-26 16:07:40 +00:00
b91ef43e0f Remove the debug helper which should never make it into master (#2633)
* Remove IRS Docker demo helpers
2018-02-26 15:47:04 +00:00
cc84b34dca Close classloader to release associated file (#2635)
[CORDA-1113] Close classloader to release associated file
2018-02-26 15:01:57 +00:00
7517270dde Improves node.conf page. Shows the defaults used. 2018-02-26 14:53:13 +00:00
0edfef2409 CORDA-696 - Create separate transaction types for contract upgrade transactions (#2589)
* CORDA-986 and CORDA-985 CompositeKey and Signature verification performance fixes (#2467)

* CORDA-696: Create separate transaction types for contract upgrade transactions.

Add rationale around upgrade transactions

Move contract upgrade transaction resolution logic into internal until it's stabilised.

Throw a better exception when contract attachment not found

Default legacy contract constraint to always accepting - needs to be changed to whitelist constraint before merging

Introduce a new upgraded contract interface that allows specifying the legacy constraint.

Remove StateLoader, make all tx resolution functions take in ServicesForResolution

Contract upgrade transactions can handle whitelist by zone constraints

When creating a contract upgrade transaction, make sure the attachment of the old cordapp gets attached when using hash constraints.
Attachment lookup for a given contract class name only scans currently loaded cordapps, and we don't load old versions of cordapps.

CORDA-696: Update upgrade docs
2018-02-26 11:29:25 +00:00
a483e7e8ce CORDA-1096 - Performance when loading multiple states from the vault (#2614)
* CORDA-1096 - Performance when loading multiple states from the vault (#2609)

* Provide efficient `loadStates()` implementation

* Replace loops using `loadState` with calls to `loadStates`

* Replace `map`/`flatMap` with just a single `flatMap`
2018-02-26 09:37:32 +00:00
50ccb32700 Adds a 'provision the certificates' step to the Windows deployment instructions. 2018-02-26 09:21:27 +00:00
1bca591dd1 Disable unit test for experimental projects (#2627)
* Disable unit test for experimental projects
2018-02-23 20:48:39 +00:00
fd491d91ff WebServer init failure on config produced by plugins >= 4.0.2 [CORDA-877] (#2624) 2018-02-23 18:29:49 +00:00
5be0e4b39e [CORDA-941]: Add NetworkParameters contract implementation whitelist. (#2580) 2018-02-23 14:29:02 +00:00
977836f4eb Enable tests which were ignored due to recent flakiness on TC and issue with maxTransactionSize which should now be resolved. (#2621) 2018-02-23 13:45:18 +00:00
1552e992e7 ENT-1443 Add cert role to CSR and doorman issue cert according to the cert role (#2620)
* ENT-1443 Add cert role to CSR and doorman issue cert according to the cert role (#431)

* Doorman and HSM create certificate base on requested cert role specified in the certificate signing request.

(cherry picked from commit 94f7392)

* remove R3 corda code
2018-02-23 13:38:09 +00:00
c8672d373f CORDA-973 Compression support for serialization (#2473)
* Serialization magic is now 7 bytes
* Introduce encoding property and whitelist
2018-02-23 13:07:51 +00:00
2af0feee04 Various cleanup of the network map code (#2604) 2018-02-23 09:13:00 +00:00
e91b74962b [CORDA-1098]: Fixed Artemis filters for flows draining mode. (#2613) 2018-02-22 20:45:56 +00:00
67f9266b24 Merge pull request #2597 from corda/aslemmer-CORDA-1043
CORDA-1043
2018-02-22 14:56:20 +00:00
904f706e10 [CORDA-1035] Flow test API docs 2018-02-22 14:38:02 +00:00
c94b606cf0 Fixes a typo in the node deployment docs. 2018-02-22 14:15:25 +00:00
5db4882668 [CORDA-1089]: Ensure graceful error message is shown on node startup if RPC settings are invalid. (#2595) 2018-02-22 09:47:56 +00:00
731cb1b67e Remove unused occurrences of 'exportJMXto' (#2588) 2018-02-21 19:05:55 +00:00
51704cd7a4 Merge pull request #2591 from corda/aslemmer-fix-mocknetwork-networkparams
Pass network params to InternalMockNetwork
2018-02-21 18:00:02 +00:00
31c278d460 Update API 2018-02-21 16:03:00 +00:00
66cbe8c56d CORDA-1043 2018-02-21 15:56:29 +00:00
ffd726d592 Docs: discuss zone constraints, flow drains and more upgrade related topics (#2585)
Docs: discuss zone constraints, flow drains and more upgrade related topics.
2018-02-21 15:33:28 +01:00
9ddd47ea39 [CORDA-1059]: Fix Driver hanging on duplicate node names. (#2590) 2018-02-21 11:28:51 +00:00
1592c18770 Pass network params to InternalMockNetwork 2018-02-21 11:28:29 +00:00
4e13523d64 Merge pull request #2583 from corda/aslemmer-remove-log-line
Remove spurious logline
2018-02-21 09:50:51 +00:00
2cf2fdbc06 Address review comments 2018-02-20 18:45:38 +01:00
55a33acc32 Address review comments 2018-02-20 18:45:38 +01:00
7548c6c901 Docs: some work on the network map docs. 2018-02-20 18:45:38 +01:00
68c2dd16d9 Remove spurious logline 2018-02-20 17:09:48 +00:00
a223fdb8d3 DOCS - Separate parameter names in exceptions in a clear fashion (#2577) 2018-02-20 16:38:47 +00:00
18f81ba973 Eliminate references to Java target "1.6"
Also for "client/rpc" explicitly specify "jvmTarget" (similar to what "experimental/behave" does) to avoid ambiguity.

Without this change the following compilation error been observed in IntelliJ:
Z:\corda\experimental\behave\src\main\kotlin\net\corda\behave\node\Node.kt
Error:(163, 44) Kotlin: Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
2018-02-20 14:05:55 +00:00
979aef1308 Removed DriverParameters.initialiseSerialization (#2572) 2018-02-20 12:57:59 +00:00
ad959c7af1 Changed the wither methods in DriverParameters and NodeParameters to begin with "with" and not "set" (#2570) 2018-02-19 18:11:20 +00:00
dc268ebe63 Merge pull request #2477 from corda/aslemmer-corda/issues/2300
Add RPC deduplication to client and server
2018-02-19 16:25:36 +00:00
c704ff6370 Fix a build issue caused by a bad auto-import. 2018-02-19 16:58:28 +01:00
4f0c692831 Minor: reduce the size of the MockNetwork API a bit, add some better documentation 2018-02-19 16:58:28 +01:00
32bcf0a06c Address more comments 2018-02-19 15:16:12 +00:00
7f1bfac8b0 Write better test for dupes 2018-02-19 14:53:28 +00:00
65681e8e9d plugins folder renamed to cordapps 2018-02-19 14:22:20 +00:00
71c94f8a9d Reversing the introduction of GlobalProperties (by CORDA-961), and added NetworkParameters to ServicesForResolution instead. (#2563)
Also, replaced the maxTransactionSize parameter of the driver and MockNetwork with NetworkParameters.
2018-02-19 12:23:59 +00:00