Commit Graph

7527 Commits

Author SHA1 Message Date
Shams Asari
843c3a0190
All uses of CheckpointStorage.getAllCheckpoints() close the stream after use (#5230) 2019-06-19 09:45:38 +01:00
Dominic Fox
f01f8a129e ENT-3444 create test-db module (#5093)
* ENT-3444 define RequiresDB annotation and junit5 extension

* Move to internal

* info to trace

* Limit exposure of gradle imports

* Enable annotation inheritance, and multiple SQL scripts per class or method

* Get the test context class globally for all groups

* usingRemoteDatabase flag
2019-06-18 10:57:20 +01:00
Shams Asari
df19b444dd
CORDA-2333: Reverting jersey and mockito as it currently causes issues with ENT (#5228) 2019-06-17 19:27:35 +01:00
Chris Rankin
632a3f4a7a CORDA-3015: Add StatePointer classes to corda-core-deterministic. (#5227) 2019-06-17 18:05:59 +01:00
Shams Asari
bb3997ed5b
CORDA-2333: Reverting ClassGraph version back to 4.6.12 (#5221)
4.8.38 not working with the changes from 2152961d
2019-06-13 17:22:09 +01:00
Shams Asari
2152961d46
CORDA-2333: Dependency update pass for tests and demos (#5211) 2019-06-13 10:15:13 +01:00
Shams Asari
8480d49e7e
CORDA-2333: Bumped ClassGraph version to latest (#5214) 2019-06-12 13:27:51 +01:00
Shams Asari
c32e3a9e26
Removed experimental/behave (#5212)
The behave framework is in its own repo. This code is no longer used.
2019-06-11 16:27:48 +01:00
Michal Kit
d72ec57c1c CORDA-2974 Fixing x500Prinicipal matching (#5186) 2019-06-11 16:07:52 +01:00
Stefan Iliev
3b73e60605 CORDA-2774 Fix for liquibase changelog warnings. (#5199) 2019-06-11 15:33:05 +01:00
Shams Asari
d685c2154b
ENT-3489: Removing unnecessary @CordaSerializable annotation from exceptions (#5209) 2019-06-11 11:51:30 +01:00
fowlerrr
dfdcf2e00a CORDA-1912: Add documentation on the options for deploying nodes (#5183) 2019-06-10 10:24:06 +01:00
peterli-r3
896d1f3c0d Update tutorial cordapp (#5192)
So for this specific cordapp-example, after you run the nodes, you would not see net.corda.finance.flows.CashExitFlow and etc. I guess this demo code actually have two cordapps running on these nodes. So, for this tutorial, we should delete the last 5 lines of codes.
2019-06-07 14:30:10 +01:00
bpaunescu
726798cce8 ENT-3642: move the crypto service builder method to node-api (#5198)
* ENT-3642: move the crypto service builder method to node-api

* ENT-3642: add arg for different crypto services

* ENT-3642: add arg for cryptoservice config

* ENT-3642: add null check for BCC requirement

* ENT-3642: remove double-bang operator

* ENT-3642: cryptoservice factory method moved to its own class, improve API

* ENT-3642: remove import
2019-06-07 09:10:42 +01:00
josecoll
603da3eeff
CORDA-2984 Re-instate CordaCaplet tests and move CordaCaplet code into :node:cap… (#5197)
* Re-instate CordaCaplet tests and move CordaCaplet code into :node:capsule module.

* Clean-up verbose IntelliJ refactoring.

* Updated buildCordaJAR task references to resolve CordaCaplet from :node:capsule project.

* Incorporating feedback from PR review.
2019-06-07 08:55:19 +01:00
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
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