Commit Graph

7664 Commits

Author SHA1 Message Date
Rick Parker
0c0101948b
CORDA-2981 Disable slow consumers for RPC since it doesn't work. (#5194)
* CORDA-2981 Disable slow consumers for RPC since it doesn't work.
2019-06-05 11:47:38 +01:00
josecoll
8678bad88d
CORDA-2970 Revert usage of Gradle JUnit 5 Platform Runner (#5173)
* Revert usage of Gradle 5 useJUnitPlatform() which causes significant test execution performance degradation.

* Remove completely top-level Java CordaCaplet unit tests causing consistent TC failure on Azure VMs:

 java.security.NoSuchAlgorithmException: no such algorithm: NONEwithEdDSA for provider BC
2019-06-05 10:17:02 +01:00
James Brown
24c8a5a2dd ENT-3540 Reverting jackson - kotlin runtime issue (#5133)
Jackson was updated to 2.9.8, however this version has a transitive dependency on kotlin 1.3.10 which is incompatible with corda (which uses 1.2 currently).
2019-06-05 09:04:13 +01:00
szymonsztuka
937e467aac CORDA-2971 - added tests for initialiseSchema configuration option (#5153) 2019-06-04 11:37:32 +00:00
Roger Willis
1fc7405c7f
Fix for CORDA-2972. (#5185) 2019-06-04 11:21:56 +01:00
Ryan Fowler
e1853f50d4 CORDA-2945: Catch IllegalArgumentException to avoid shutdown of NodeExplorer 2019-06-04 10:03:53 +02:00
peterli-r3
0234d8eb67 Update tutorial-cordapp.rst 2019-06-03 16:08:18 +02:00
peterli-r3
d932c8b336 Update tutorial-cordapp.rst
Hey,
It is Peter, I am the dev-rel person at NY office. I found the current tutorial on running example cordapp-example on IntelliJ is a bit confusing. So I add a few lines to clarify it.
2019-06-03 16:08:18 +02:00
Mike Hearn
5cee8607f5 Wire format docs: review fixes from Rick. 2019-06-03 14:56:21 +02:00
Mike Hearn
74354580b6 Add some documentation on the wire format. 2019-06-03 14:56:21 +02:00
Tudor Malene
f8d8de7555 CORDA-2975 Remove version uniqueness check - fix tests 2019-06-03 14:41:10 +02:00
Tudor Malene
77ab33d5b0 CORDA-2975 Remove version uniqueness check 2019-06-03 14:41:10 +02:00
Stefan Iliev
3b7f0aff92 ENT-3484 - Added periodic log.warn message to remind that the node has been set into draining mode. (#5151)
* Added periodic message logged from a timer which is switched on and off by the node drain events.

* Timer also spawns on start() to ensure that if a node is shutdown in draining mode and started with it, it will continue logging messages.
2019-06-03 13:49:29 +03:00
Dimitris Christodoulou
d6ea66d0ab Update set-up docs based on recent practical experience. 2019-06-03 11:01:54 +02:00
VCAMP
a4d7da598e Docs update: fixed vaultQuery command in Hello World tutorial (#5182) 2019-06-03 08:57:26 +00:00
James Brown
eed2c78eb3 CORDA-2958 Security policy for corda 2019-06-03 10:38:13 +02:00
James Brown
91f5398ba2 CORDA-2958 Security policy for corda 2019-06-03 10:38:13 +02:00
josecoll
06db5973d5
Reduce test execution times by explicitly configure quasar package exclusions (#5161)
* Reduce test execution times by explicitly configure quasar package exclusions (using new quasar util extension introduced in Corda gradle plugins 5.0.1-SNAPSHOT).

* Remove SNAPSHOT from Corda gradle plugins version identifier.

* Incorporating PR review feedback from CR.

* Minor consolidation clean-up.

* Minor consolidation clean-up.

* Minor consolidation clean-up.
2019-05-30 10:09:11 +01:00
szymonsztuka
d22fd56202 Docs - fix broken link to nssm third-party tool. (#5170) 2019-05-29 15:02:25 +00:00
Anthony Keenan
b06fa62860
Update OWASP dependency checker to v4.0.2 to fix clash with Gradle 5 upgrade (#5177) 2019-05-29 10:43:32 +00:00
Tudor Malene
a4cd859282 Improve performance of the no-overlap check 2019-05-28 17:49:39 +02:00
Shams Asari
a70bd6ffa0 Clean up 2019-05-24 17:50:17 +01:00
Shams Asari
5619debf18 ENT-3496: dumpCheckpoints RPC
Dumps all the node's checkpoints as JSON into a single zip file in the node's directory. The output contains:

* All the fields for the top-level flow
* The current sub-flow call stack, along with the current progress tracker step for each sub-flow
* The event that suspended the flow, which if it's a send or sendAndReceive will show the payload that was sent
* Low level information on the active sessions with other peers
2019-05-24 17:28:36 +01:00
Chris Rankin
aa75157273 CORDA-2961: Migrate the DJVM into its own repository. (#5166)
* Migrate the DJVM into its own repository.

* Update the documentation for DJVM.
2019-05-24 15:09:20 +01:00
Tudor Malene
5edd732615 Revert "CORDA-2773: Support for custom Jackson serializers (#5025)" (#5167)
This reverts commit f7bf1b41
2019-05-24 13:40:13 +01:00
fowlerrr
f273d894ef Extract jackson dependency from finance-workflows (#5163)
Extract jackson dependency from finance-workflows and move it to IRS Demo where it is actually needed
2019-05-23 18:22:56 +01:00
Rick Parker
d6ac4e2393
CORDA-2838 Set Artemis memory config. (#5011)
* CORDA-2838 Set Artemis memory config.

* CORDA-2838 Cannot have page size larger than max size.

* CORDA-2838 Use real slow consumers.  Need to see if the old config settings can work with a global limit to avoid this.
2019-05-23 14:30:11 +01:00
Dan Newton
d611a41ec8 CORDA-2909 Build CURRENT_MAJOR_RELEASE from build.gradle in commons-logging (#5150)
A template directory and file, `Constants`, has been added to allow
gradle to replace the string `"@corda_release_version@"` with the
current corda version provided by gradle. This output will be copied
into the src directory and used for all builds.

The generated `Constants` file has also been checked in to remove
reliance for developers to first run a gradle build to get their
environment fully working. This file does not need to be updated in
the future since gradle will handle building the modules.
2019-05-22 16:52:53 +01:00
Katelyn Baker
9c9f007f55
RELEASE - Fix release tools (#5155) 2019-05-22 11:44:09 +01:00
Shams Asari
71c316ca5a
CORDA-2954: Upgrade to common-lang3 (#5152)
Utilised Fields.getAllFieldsList where we were doing the equivalent
2019-05-21 17:48:32 +01:00
ChrissyAtWork
79616536d4 DEVREL-1297 Ledger - Doc Site Lessonly Conformance (#5128)
* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

Rewrite to bring Doc Site and Lessonly into conformance. Assumption is that Doc Site is more up to date.

* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

Home page describes sections that link from it to enable easier navigation.

* Removed comment
2019-05-21 14:59:11 +01:00
Tudor Malene
860ef5833a CORDA-2639: CorDapp dependencies documentation (#4798) 2019-05-21 10:45:21 +01:00
josecoll
0263650a5f
Revert "Merge pull request #5145 from corda/jdk11-migration-gradle5-upgrade" (#5146)
This reverts commit f46377556c, reversing
changes made to ba675e73b9.
2019-05-20 16:16:49 +01:00
josecoll
f46377556c
Merge pull request #5145 from corda/jdk11-migration-gradle5-upgrade
Jdk11 migration gradle5 upgrade
2019-05-20 15:11:37 +01:00
josecoll
a7966e6176 Fix attempt to access boot classpath from runtimeMXBean (in JDK9+) 2019-05-20 15:09:36 +01:00
josecoll
2595dacd7e Fix quasar path for run-time agent instrumentation. 2019-05-20 15:09:36 +01:00
josecoll
84ca6405c2 Rebase from OS master to incorporate upgrade to Gradle 5.2.1 2019-05-20 15:09:36 +01:00
josecoll
53ab00d91c Revert -Djava.security.debug=provider 2019-05-20 15:09:36 +01:00
josecoll
d2f2f4aaca Display JAVA_HOME 2019-05-20 15:09:36 +01:00
josecoll
077a2f5af6 Remove usage of deprecated URLClassloader (re-coded without scanning and pattern matching on run-time classpath URLs) 2019-05-20 15:09:36 +01:00
josecoll
e1d1563901 Remove invalid compiler flag (--illegal-access=warn is a run-time flag only). 2019-05-20 15:09:36 +01:00
josecoll
b03b5133f6 Added configurable flag to continue on test failure so TC can perform complete test execution sweep. 2019-05-20 15:09:34 +01:00
josecoll
1a70646d02 Temporary remove Kotlin JUnit test that requires module directives to access private packages (sun.security.util, sun.security.x509)
Awaiting Kotlion compiler support: https://youtrack.jetbrains.com/issue/KT-20740
2019-05-20 15:08:27 +01:00
josecoll
9183e401c3 Upgraded Mockito and targetCompatibility to 11 (REVISIT). 2019-05-20 15:08:27 +01:00
josecoll
a0a4318cc0 EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin) 2019-05-20 15:08:27 +01:00
josecoll
2d9ee1d582 Enhanced JDK security debugging for JCA provider(s).
Used whilst investigating "Unrecognized algorithm for signature parameters SHA256withECDSA" JDK bug using Bouncy Castle.
2019-05-20 15:08:27 +01:00
josecoll
da189a3cd2 EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin) 2019-05-20 15:08:27 +01:00
josecoll
877cbb1815 EXPERIMENTAL: tweaks and attempts to set module directives (with/without using gradle module plugin) 2019-05-20 15:08:27 +01:00
josecoll
4603305a35 Move Java unit test into kotlin package to prevent ASM compilation/classloading error (REVISIT)
* What went wrong:
Caused by: org.gradle.api.GradleException: failed to read class file /Users/josecoll/IdeaProjects/corda-jdk11/node/build/classes/java/test/net/corda/node/services/events/FlowLogicRefFromJavaTest$JavaNoArgFlowLogic.class
2019-05-20 15:08:27 +01:00
josecoll
cfd2661385 Move Java unit test into kotlin package to prevent ASM compilation/classloading error (REVISIT)
* What went wrong:
Execution failed for task ':core:test'.
> failed to read class file /Users/josecoll/IdeaProjects/corda-jdk11/core/build/classes/java/test/net/corda/core/flows/FlowsInJavaTest$PrimitiveReceiveFlow.class
2019-05-20 15:08:27 +01:00