Commit Graph

7592 Commits

Author SHA1 Message Date
Dominic Fox
2173228b27 Unit test covering https://r3-cev.atlassian.net/browse/CORDA-2674 2019-02-27 13:12:32 +01:00
Dominic Fox
74c5b8d127 CORDA-2674 observe the true type of an atomic type 2019-02-27 13:12:32 +01:00
Shams Asari
f52d158f2d CORDA-2665: Updated OwnableState relevancy check put back to V3 version (#4819)
* CORDA-2665: Updated OwnableState relevancy check is now gated on target version 4

https://github.com/corda/corda/pull/3789 changed the relevancy check of OwnableState to include the participants list in addition to the owner. This however breaks existing apps which assume (in their vault query) an OwnableState is recorded to the vault if-and-only-if the owner matches.

* CORDA-2665 Don't switch to new behaviour on target version upgrade.
2019-02-27 12:05:39 +00:00
Rick Parker
2ff7860e4b
ENT-3165 Backport caching changes to OS. (#4821) 2019-02-27 11:40:48 +00:00
Rick Parker
4721b1d095
ENT-3165 Add unit test for reference state consumption. (#4818) 2019-02-26 20:30:47 +00:00
josecoll
c11f42fc05
CORDA-2655 - Document CorDapp upgradeability guarantees in Corda 4. (#4793)
* Document CorDapp upgradeability guarantees.

* Incorporating feedback from RGB.

* Incorporating feedback from MH.

* Minor updates following re-review by RGB

* Updates following review by MH.

* Include new document in index.

* Incorporating review feedback from MH.
2019-02-26 17:30:10 +00:00
Jonathan Locke
d102a8ac11 ENT-3059: RPC disconnect log entry changed to info
When an RPC client disconnects from the RPC server, the log entry created now has its log level set to info rather than warning. It is perfectly normal for an RPC client to disconnect - only the RPC client knows if it was intentional.
2019-02-26 15:35:51 +01:00
Chris Rankin
04ba77732b ENT-3128: Tidy up DemoBench's "built-in CorDapp" management. (#4814) 2019-02-25 18:11:21 +00:00
Chris Rankin
111acc5d6e CORDA-2671: Remove broken ExplorerSimulator from Node Explorer. (#4811)
* CORDA-2671: Remove broken ExplorerSimulator from Node Explorer.

* CORDA-2671: Document that Node Explorer is included with DemoBench.
2019-02-25 18:11:06 +00:00
Mike Hearn
7b93cc8477 Docs: sync static versions list in master with release/4 branch 2019-02-25 16:54:30 +01:00
Chris Rankin
46909feef9 Remove some unused classes from the DJVM. (#4809)
Simplify DJVM Gradle files.
2019-02-25 13:15:32 +00:00
Bernd Stoeger
254d1b1631 Include ch package in quasar instrumentation 2019-02-24 16:40:34 +01:00
Tommy Lillehagen
8fb3d4dc01
CORDA-2669 - Reintroduce pendingFlowsCount (#4806)
* CORDA-2669 - pendingFlowsCount not in public API

Reintroduce `pendingFlowsCount` to public API (as deprecated). Advise
to use the `gracefulShutdown` command in the shell instead.

* CORDA-2669 - Add pendingFlowsCount to api-current.txt
2019-02-23 17:10:32 +00:00
Andrius Dagys
9d04eccc8a CORDA-2668 - TestCordapp – minor refactoring in jar building (#4805) 2019-02-22 18:26:40 +00:00
Andrius Dagys
b52c7a09a3 CORDA-2668 - TestCordapp – use Gradle tooling API for builds (#4794)
TestCordapp – disable daemon on internal gradle process

The TestCordappImpl runs gradle to build cordapp jars required for tests.
The started gradle process reuses a Gradle daemon that's potentially already
used for running the tests causing the JVM to die with SIGBUS.
2019-02-22 16:48:28 +00:00
Chris Rankin
136f6a6be6 CORDA-2667: Fix DJVM SourceClassLoader so that ASM will use it only to load classes from outside the sandbox. (#4804) 2019-02-22 14:03:54 +00:00
josecoll
3a89bc774e
CORDA-2656 Docs: building a CorDapp for both OS and Enterprise (#4797)
* CORDA-2656 Explanation and steps for building a CorDapp for both OS and Enterprise.

* Added details and links to Jar Signing and CorDapp dependencies management.
2019-02-22 10:14:59 +00:00
James Brown
b8ff7aa073 CORDA-2604 update certificate structure diagram 2019-02-22 11:13:17 +01:00
Shams Asari
08ce12f068 CORDA-2610: Internal APIs made much clearer in API doc page 2019-02-22 11:12:17 +01:00
Tommy Lillehagen
26c626f989
CORDA-2664 - Update Docker docs (#4800) 2019-02-21 18:22:49 +00:00
Chris Rankin
800697a907 CORDA-2654: Repair the DJVM CLI tool. (#4796)
* Replace SandboxedRunnable with Function interface.
Remove DJVM from "Key Concepts" release notes.
Update installation of shell tool.
Fix broken sandbox package names.
Make sure we only resolve each class once when loading.
Also remove some unused default parameter values.
Don't discard "bootstrap" sandbox.* classes because SourceClassLoader may need them.

* Restore DJVM to the "Key Concepts" docs.

* Remove all mention of "whitelisting" from the DJVM CLI.
2019-02-21 15:27:08 +00:00
Mike Hearn
c5c4df3037 Docs: address review comments 2019-02-21 12:05:07 +01:00
Mike Hearn
01f0c4b3d2 Docs: minor change to the release notes.
Babies don't typically get delayed by a few months due to backwards compatibility fixes so the opening no longer made sense :)
2019-02-21 12:05:07 +01:00
Mike Hearn
cac9b1cfc7 Docs: note that Corda 3.3 needs a bugfix to be usable with Corda 4 2019-02-21 12:05:07 +01:00
Mike Hearn
4e98ea3bbf Docs: repair a lot of broken docs pages. 2019-02-21 12:05:07 +01:00
Mike Hearn
4ddaad5cef Docs: truncate the changelog to remove obsolete releases. 2019-02-21 12:05:07 +01:00
Mike Hearn
4dee36adc7 Docs: introduce a page about upgrading the node. 2019-02-21 12:05:07 +01:00
Mike Hearn
f932fa591d Docs: introduce a java_version substitution 2019-02-21 12:05:07 +01:00
Mike Hearn
4afa28bc77 Docs: fix changelog for C4 2019-02-21 12:05:07 +01:00
Richard Gendal Brown
c4c0769763 changed corda network url 2019-02-20 18:50:12 +01:00
Richard G Brown
7979c2dfef really minor tweaks to release notes 2019-02-20 18:50:12 +01:00
Richard G Brown
0da07c4371 really minor tweaks to release notes 2019-02-20 18:50:12 +01:00
carolynequinn
d86ef26e68 Update index.rst
Updating the casing from uat.md to UAT.md, as it wasn't linking with the lower case (thanks to @farm !)
2019-02-20 18:49:41 +01:00
Rick Parker
6c4433d0b5 CORDA-2646 - Database connection pools leaking memory on every checkpoint (#4773)
* ENT-3053 Database connection pools leaking memory on every checkpoint. Flip in the thread local from the thread into the fiber.

* Back port to OS (needs some gradle changes) and added TODO, ability for it to avoid erroring if not using Hikari.

* Review feedback to remove warning.
2019-02-20 11:28:32 +00:00
Mike Hearn
96134c8cfa Bugfix: register SwapIdentitiesHandler again. (#4789) 2019-02-19 18:42:32 +00:00
JamesHR3
36665e114b Add a note to the changelog indicating issuableCurrencies is now part of the workflows config (#4787) 2019-02-19 10:52:09 +00:00
Cais Manai
2eb6169a11 Updating wording to make things slightly clearer and indicate when th… (#4785)
* Updating wording to make things slightly clearer and indicate when the Spring Boot server is ready.

* fixing typo
2019-02-19 10:32:41 +00:00
JamesHR3
efabab35c4 [CORDA-2636] Ensure states created with contract upgrades can be migrated (#4786)
* Ensure states created with contract upgrades can be migrated

* Remove line from api-current.txt representing an uncallable constructor
2019-02-19 09:48:39 +00:00
Tommy Lillehagen
21d32681ff
CORDA-2634 - Fix derivation of currentTargetVersion for abstract classes (#4784)
* CORDA-2634 - Fix default currentTargetVersion

* CORDA-2634 - Include abstract flow classes in CorDapp class scanning

* CORDA-2634 - Run test for target platform version 4
2019-02-19 08:47:49 +00:00
JamesHR3
055aabe1bb [CORDA-2627] Fail the custom vault state migration if any states were skipped (#4782)
* Fail the migration if any states were skipped

* Update test case to check running a second time
2019-02-18 15:39:37 +00:00
Tudor Malene
626fa19769 CORDA-2631 - removed unused version mapping and revert tracking test (#4781)
CORDA-2631 - removed unused version mapping and revert tracking test
2019-02-18 14:49:57 +00:00
Mike Hearn
1ed5fce6a6 Backwards compat: Put the confidential-identities module back in the node classpath by default. Separating it out into a standalone "app" needs more thought and design work, if we do it at all. 2019-02-18 14:02:36 +01:00
Mike Hearn
69ba95a961 Minor: Fix deprecation warnings from a unit test. 2019-02-18 14:02:36 +01:00
Shams Asari
b2d0ba7e14 CORDA-2613: FinalityHandler is no longer gated on app target versions
To allow rolling upgrades where members of a BN may not all upgrade at the same time, the FinalityHandler is now always enabled, and not disabled if no old apps are installed.

Previously any attempt to use the FinalityHandler in such a scenerio would send the flow to the hospital, where manual intervention would be required to recover the transaction.
2019-02-18 11:58:23 +01:00
Dominic Fox
6673e499a1 CORDA-2625 remove reference to Corda 4.1 2019-02-18 11:56:05 +01:00
Joel Dudley
9dadf0db96
Update doc to reflect removed RPC client. (#4777) 2019-02-17 17:33:06 +00:00
Tommy Lillehagen
4434a005dd
CORDA-2622 - Fix shell extensions (#4774)
* CORDA-2622 - Fix shell extensions

* CORDA-2622 - Only add auto-completion stuff if enabled
2019-02-17 17:16:57 +00:00
Tommy Lillehagen
f781edccd4
CORDA-2623 - Add help screen to Network Builder CLI tool (#4775) 2019-02-17 16:33:08 +00:00
Shams Asari
e0121f52ac Syncing config file doc page with ENT (#4772) 2019-02-17 13:30:19 +00:00
Shams Asari
a0705c2940 Deleted corda-repo-layout.rst as it's outdated and pointless to have (#4768) 2019-02-17 09:48:18 +00:00