Commit Graph

8369 Commits

Author SHA1 Message Date
pnemeth
d037dc0d06
EG-466 - Fix bug: ()
'shutdown' command is repeated twice in the list of available shell commands.
2020-02-28 12:16:53 +00:00
Joel Dudley
1bf311ce4f
Removes use of notaries.first. () 2020-02-27 13:27:38 +00:00
Walter Oggioni
92a437f333
EG-69 - fixed bug with picocli that was causing uncaught exception's stacktrace to always be printed on stderr ()
calling `picocli.CommandLine.AbstractHandler#andExit` causes the exception handler to forcefully terminate the program execution (calling `java.lang.System#exit`) at all costs, even in case of `ExecutionException` being throw by `picocli.CommandLine#parseWithHandlers(picocli.CommandLine.IParseResultHandler2<R>, picocli.CommandLine.IExceptionHandler2<R>, java.lang.String...)`, this was causing the program to always print the exception stack trace on the `stderr` and terminating even before entering the `catch` block from lines 85 to 93
2020-02-26 09:49:14 +00:00
amosmwsmith
4ea74a45b5
ENT-5018: Updated documentation for RPC Settings address field based on client … ()
* Updated documentation for RPC Settings address field based on client feedback explain implications of specifying 0.0.0.0 as host.

* Further updates to p2pAddress and messagingServerAddress sections of node settings.

* Further updates to additionalP2pAddresses and explaining localhost vs loopback address implications.

* Correct messagingServerAddress and amend adminAddress section.
2020-02-25 17:28:04 +00:00
Viktor Kolomeyko
275e801094
ENT-4955: Hide usage of FlowHospital inside StateMachineManager () 2020-02-25 14:10:59 +00:00
Chris Rankin
d2568b9077
NOTICK: Fix potential infinite loop when a SecurityManager is installed. () 2020-02-24 09:36:16 +00:00
Chris Rankin
b3ca720412
NOTICK: Fix more Gradle technical debt. ()
* NOTICK: Use Gradle's "lazy" task API.

* Make Java8 vs Java11 check consisent.
2020-02-20 17:01:24 +00:00
Matthew Nesbit
49b2f10cdf
Merge pull request from corda/chrisr3-driver-shutdown
NOTICK: Tidy up driver shutdown so that resources are always released on error.
2020-02-20 14:34:26 +00:00
Chris Rankin
e9c2af661d NOTICK: Tidy up driver shutdown so that resources are always released on error. 2020-02-19 16:45:41 +00:00
Matthew Nesbit
28cb9e6cf4
Merge pull request from corda/chrisr3-44-merge
Merge from OS 4.4 up to 88008b.
2020-02-19 16:44:38 +00:00
Chris Rankin
4c6f15c40c Merge commit '88008b71f03a539749e32e5e76b2dc5ea98f897f' into chrisr3-44-merge 2020-02-19 14:12:10 +00:00
Matthew Nesbit
88008b71f0
Merge pull request from corda/rfowler-os4.3-0s4.4-20200218
Rfowler os4.3 0s4.4 20200218
2020-02-19 13:53:14 +00:00
Matthew Nesbit
86a4b998d5
Merge pull request from corda/chrisr3-inprocess-whitelists
CORDA-3566: Always add TestCordapps to the classpath when building _driverSerializationEnv.
2020-02-19 13:52:34 +00:00
Chris Rankin
afcab51fe3 Update "in-process" test on basis it can be made to work. 2020-02-19 10:42:44 +00:00
Chris Rankin
d89ce6608a Create a unit test for serialization whitelists via driver. 2020-02-19 10:42:34 +00:00
Matthew Nesbit
d6747ddcd6
Merge pull request from corda/chrisr3-44-merge
Merge from OS 4.4 up to ae478cc8
2020-02-18 16:21:07 +00:00
Ryan Fowler
6ec314fade Merge remote-tracking branch 'origin/release/os/4.3' into rfowler-os4.3-0s4.4-20200218
# Conflicts:
#	.ci/dev/integration/Jenkinsfile
#	.ci/dev/unit/Jenkinsfile
#	Jenkinsfile
#	build.gradle
#	create-jdk8u/build.gradle
#	docs/source/corda-network/UAT.md
#	docs/source/network-builder.rst
#	node/src/integration-test-slow/kotlin/net/corda/node/services/distributed/DistributedServiceTests.kt
2020-02-18 15:48:58 +00:00
nargas-ritu
dc92786d17
Merge pull request from corda/CORDA-3593-shell-exits-after-shutdown-cmd
CORDA-3593: exit the InteractiveShell on shutdown command
2020-02-18 11:10:54 +00:00
Chris Rankin
9fc6a203e0 Merge commit 'ae478cc8ad30d086e6748ba5f35433202d74aeba' into chrisr3-44-merge 2020-02-18 09:25:42 +00:00
Chris Rankin
ae478cc8ad
NOTICK: Add missing test for deserializing Duration for DJVM. () 2020-02-18 09:13:50 +00:00
Chris Rankin
20d1037610
NOTICK: Update Gradle scripts for deterministic modules. () 2020-02-18 09:12:19 +00:00
Chris Rankin
17f5bfc53b
Remove Schedulable states from core-deterministic. () 2020-02-18 09:10:19 +00:00
Chris Rankin
396a579c8b
NOTICK: Always use configured version of deterministic-rt.jar. () 2020-02-18 09:09:18 +00:00
Thomas Schroeter
a18caef56b
CORDA-3495: fix link to network builder () 2020-02-17 16:42:39 +00:00
nargas-ritu
fbf9ec5654
Merge pull request from corda/ENT-4717-add-minimumPlatformVersion-to-docs
CORDA-3509: add documentation about minimumPlatformVersion
2020-02-17 15:32:27 +00:00
Matthew Nesbit
cd39456dab
Merge pull request from corda/chrisr3-plugins-5.0.8
CORDA-3618: Upgrade to Corda Gradle plugins 5.0.8.
2020-02-17 13:28:22 +00:00
Ryan Fowler
9b5080251d CORDA-3593: exit the InteractiveShell on shutdown command 2020-02-17 13:27:00 +00:00
Chris Rankin
12f59e1978 CORDA-3618: Upgrade to Corda Gradle plugins 5.0.8. 2020-02-17 12:29:52 +00:00
Walter Oggioni
98e9b1caa6
EG-65 - Improved error reporting on stdout ()
I modified the `ErrorCodeRewritePolicy` to concatenate all the error messages of the exception's cause chain.
The code will start from the throwable being passed to the logger and concatenate its error message with the one in its cause and proceed recursively until it finds an exception with no cause or it detects a loop (an exception already encountered in the traversal).

This should provide customers with more information about errors without having to look at the logs (that should still remain the primary source of information)
2020-02-17 11:34:00 +00:00
Chris Rankin
872d6ef4df
NOTICK: Update Gradle files for DeteKt plugins. () 2020-02-16 08:21:05 +00:00
Stefano Franz
4c492a797b
Merge pull request from corda/chrisr4-44-merge
Merge from OS 4.4 up to 21325df.
2020-02-15 18:15:02 +00:00
Chris Rankin
73e6a40158 Merge commit '21325dfa4fb8151e77f368e9356c16ae89c70aa3' into chrisr4-44-merge 2020-02-15 14:45:50 +00:00
Stefano Franz
21325dfa4f
delete version from detekt plugins project 2020-02-14 17:40:30 +00:00
Chris Rankin
dec366148b
NOTICK: Add timeouts to serialization-djvm tests too. () 2020-02-14 17:32:18 +00:00
James Higgs
3547b629c3
[NOTICK] Add a detekt rule to catch tests with no timeout ()
* [NOTICK] Add a custom detekt rule for tests with no timeout, and fix remaining missing timeouts

* [NOTICK] Add a test for custom detekt rules and tidying

* add timeout annotation to new test

Co-authored-by: Stefano Franz <roastario@gmail.com>
2020-02-14 17:31:02 +00:00
Matthew Nesbit
014a03575e
Merge pull request from corda/chrisr3-groovy-fix
ENT-4652: Tighten Groovy code for writing META-INF/Cordapp-Dependencies.
2020-02-14 14:16:22 +00:00
James Higgs
da192bcf0d
[EG-140] Allow system property paths with multiple keys to be specified in node.conf ()
* [EG-140] Allow system property paths with multiple keys to be specified in node.conf

* [EG-140] Split property paths to remove quotes

* [EG-140] Quote system properties in docs

* [EG-140] Rename path to key
2020-02-14 11:18:21 +00:00
Dimos Raptis
70e8e69a87
NOTICK - Add tests for handling of user errors in reconnecting observables ()
* Add tests for handling of user errors in reconnecting observables

* detekt
2020-02-14 09:58:32 +00:00
Chris Rankin
d419faa185 ENT-4652: Tighten Groovy code for writing Cordapp-Dependencies. 2020-02-13 19:43:30 +00:00
Matthew Nesbit
da7a5cce4a
Merge pull request from corda/rfowler-os4.4-os4.5-20200213
Rfowler os4.4 os4.5 20200213
2020-02-13 17:53:43 +00:00
Ryan Fowler
292e7764c3 Merge branch 'release/os/4.4' into release/os/4.5 2020-02-13 15:36:12 +00:00
Ryan Fowler
84be738374
CORDA-3752: rethrow non-rpc specific errors rather than try to reconnect to the server () 2020-02-13 14:08:56 +00:00
Christian Sailer
16b2852716
Remove seemingly unused config parsing classes () 2020-02-13 13:26:15 +00:00
Rick Parker
edf0c25e21
Merge pull request from corda/chrisr3-44-merge
Merge from OS 4.4 up to 117108f.
2020-02-13 13:12:41 +00:00
Ryan Fowler
1c80ad8be2
CORDA-3576: Use the connectionMaxRetryInterval configuration when reconnection the RPC client () 2020-02-13 13:11:39 +00:00
Chris Rankin
6d7cc1ef04 Merge commit '117108f45631da44fe7f2097c254f784cd8d8f1e' into chrisr3-44-merge 2020-02-13 10:19:42 +00:00
Chris Rankin
117108f456
ENT-4921: Ensure that CorDapp classloader is not lost with graceful reconnect. () 2020-02-13 09:25:28 +00:00
Chris Rankin
9c743897fd
CORDA-3590: Optimise classloading for DJVM deserialization. () 2020-02-12 17:15:46 +00:00
Denis Rekalov
084bf4d844
Merge pull request from corda/TM-197-4.5Merge
TM-197 OS 4.4 -> OS 4.5 Merge
2020-02-12 16:08:24 +00:00
Schife
a765510cf4 Merge branch 'release/os/4.4' of https://github.com/corda/corda into TM-197-4.5Merge 2020-02-12 14:33:32 +00:00