Commit Graph

5368 Commits

Author SHA1 Message Date
Tudor Malene
0bce5311a7 CORDA-1847 - Fix hibernate observer issue (#3694)
* CORDA-1847 Fix hibernate observer issue

* CORDA-1847 Fix merge
2018-07-26 12:12:53 +01:00
szymonsztuka
f5d26aa25d Remove two test backported as part of #3617 / CORDA-1548 Hibernate session not flushed before handing over raw JDBC session to user code.
The are incompatible with the v3.2 code and may fail due a notary node not found "Don't know about party".
2018-07-25 16:52:42 +01:00
szymonsztuka
ef35b9d8c9 Remove two test backported as part of #3617 / CORDA-1548 Hibernate session not flushed before handing over raw JDBC session to user code.
The are incompatible with the v3.2 code and may fail due a notary node not found "Don't know about party".
2018-07-25 16:50:31 +01:00
Katelyn Baker
0df35a1aec RELEASE - Create patch release branch for 1847 and update vno 2018-07-25 16:41:20 +01:00
Katelyn Baker
d75da5363a
RELEASE - Release notes and bootstrapper docs for release-3.2
* RELEASE: initial changes to release docs

* wip

* wip

* Upgrade notes for a table name change. (#3566)

Document table change name from v3.0 to v3.2, change introduced in v3.1 but not mentioned in v3.1 upgrade notes, back-port of PR #3567.

* wip

* wip

* wip

* CORDA-1812 - upgrade notes (#3618)

* CORDA-1812 upgrade notes

* CORDA-1812 upgrade notes

* CORDA-1804 - upgrade notes for CORDA-1804 (#3619)

* Missing upgrade notes for table change in v3.1 - related to CORDA-1804 (#3567)

Document different upgrade notes for table name change from v3.0 or from v3.1/v3.2 to the current version (a table change introduced in v3.1 was not documented in upgrade notes).

(cherry picked from commit 9f905da036)

* Move different table name upgrade paths under one section.

* Addressing PR comments.

* Addressing PR comments.

* review comments

* WIP

* WIP

* WIP

* Doc for bootstrapper (#3638)

* network-builder-docs

* docs for network-builder

* wip@

* final comments
2018-07-18 16:52:17 +01:00
Stefano Franz
8585ade599 Netowrk Bootstrapper CLI enhancements (#3634) 2018-07-18 15:26:49 +01:00
Katelyn Baker
baeb72366c REVIEW: Update bno for release 2018-07-18 13:55:14 +01:00
Stefano Franz
8a205934b3 RELEASE - publish tools for bootstrapper and blob-inspector(#3632) 2018-07-18 09:55:30 +01:00
Katelyn Baker
7374772fed RELEASE: Bump RC number 2018-07-16 13:12:44 +01:00
szymonsztuka
95ea150e1f CORDA-154 - Hibernate session not flushed before handing over raw JDBC session to user code (e.g. coin selection) (#3266) (#3617)
* Hibernate session flushed before handing over raw JDBC session to user code + test - inserting and selecting cash in the same transaction
* Additional two tests copied from Enterprise repo

(cherry picked from commit ed70fea3a7)
2018-07-16 13:01:10 +01:00
Tudor Malene
1f48210e1f CORDA-1812 - fix Postgres db bloat issue (#3614) 2018-07-16 11:47:19 +01:00
Tudor Malene
a90a5bb75a CORDA-1790 - Roll back flow transaction on exception (#3597)
* CORDA-1790 Roll back flow transaction on exception

* CORDA-1790 Roll back flow transaction on exception

* CORDA-1790 Roll back flow transaction on exception
2018-07-16 11:07:28 +01:00
szymonsztuka
a8cd1eea2b Back-ports CORDA-1499 and CORDA-1804 (#3607)
* Fix a typo in node_attchments_contracts table name. (#3202)

(cherry picked from commit 57d379597b)

* CORDA-1804 Corda node stops when detecting not migrated node_attachments_contracts table name (#3593)

Database table NODE_ATTACHMENTS_CONTRACT_CLASS_NAME in v3.0 was changed to NODE_ATTCHMENTS_CONTRACTS in v3.1 and then finally NODE_ATTACHMENTS_CONTRACTS on current master. Users may omit the upgrade note and run into errors. After the change the node will not start if the new table name is not found and any other older ones is found.

(cherry picked from commit 208ac49da0)

* Fixes after cherry-pick of 208ac49da0.
2018-07-16 09:58:37 +01:00
Katelyn Baker
eaf4575beb
CORDA-1727 - Document more clearly the supported version of IntelliJ and the IntelliJ Kotlin Plugins. (#3550) (#3589) 2018-07-13 13:52:17 +01:00
Katelyn Baker
46ba780c7b CORDA-1510 - Split Doorman / NM config - fix 2018-07-12 13:50:08 +01:00
James Brown
c2ca2d000b CORDA-1744 - update jolokia to latest version (#3539) 2018-07-09 21:15:48 +01:00
Katelyn Baker
cac98ecbab RELEASE: Fix API ref with anontation diffs in backport 2018-07-06 10:39:10 +01:00
Shams Asari
c93c661190 CORDA-1709 - The MVP blob inspector, able to inspect network service blobs (#3503)
* Cleanup and improvements to the serialisation format of JacksonSupport (needed for CORDA-1238) (#3102)

Also deprecated all the public members that shouldn't have leaked into the public API.

(cherry picked from commit 3bb95c3)

* CORDA-1238: Updated JacksonSupport to support SerializedBytes, CertPath, X509Certificate and the signature classes (#3145)

SerializedBytes are first converted to the object it represents before being serialised as a pojo.

These changes will be needed to support the the blob inspector when it will output to YAML/JSON.

(cherry picked from commit b031e66)

* Cherry picked part of commit 824adca to port over *only* the JackSupport refactoring.

* CORDA-1238: Moved the blob inspector out of experimental and wired it to JackonSupport (#3224)

The existing output format was not complete and so was deleted to avoid it becoming a tech debt. We can always resurrect it at a later point.

(cherry picked from commit 4e0378d)

* Added back support for parsing OpaqueBytes as UTF-8 strings in JacksonSupport (#3240)

(cherry picked from commit d772bc8)

* Cleaned up blob inspector doc (#3284)

(cherry picked from commit b7fbebb)

* Blobinspector: trace level logging with --verbose (#3313)

(cherry picked from commit 6a2e50b)

* Cherry picked part of commit 3046843 to fix issue with --version

* Fixes to the api file
2018-07-06 10:39:10 +01:00
Katarzyna Streich
ba37b3ea57 CORDA-866 - backport event horizon + serialization fixes (#3489)
Implement removal of stale nodes from network - backport (#3128)
Implement removal of stale nodes from network

Add eventHorizon to network parameters structure. Add republishing of
node info on 1 day intervals - it is treated by network map as heartbeat from node indicating if it's alive or not. Add removal of old node infos on network map signing.

Add copy method to network parameters data class

Add JvmOverloads annotation to the constructor, because it's data class
exposed in API
make NetworkParameters serialization compatible (#3234)

Cope with API checker inlining annotations
2018-07-03 14:38:48 +01:00
Stefano Franz
881509ab0d CORDA-1717 - backport bootstrapper to 3.2 (#3496) 2018-07-03 12:58:43 +01:00
Tommy Lillehagen
29b6a55bbb CORDA-1711 - Remove dependency on PathUtilsKt in net.corda.core.internal - Fixes Finance App(#3492) 2018-07-03 11:06:09 +01:00
Katelyn Baker
f7aa2f8294
CORDA-1510 - Allow Doorman and NetworkMap to be configured independently (#3485)
* CORDA-1510 - Allow Doorman and NetworkMap to be configured independently (#3220)

* CORDA-1510 - Allow Doorman and NetworkMap to be configured independently

Currently only one compatabilityZoneURL can be specified, however the
two services can be run on as separate servers. Allow nodes to be
configured in this manner

* Partial review comments

* Review comments

* review comments

* Test fix

* spell fix
2018-07-02 15:32:51 +01:00
Katelyn Baker
d2bb19e095
CORDA-1530 - Generics break default evolver (#3232) (#3487)
* CORDA-1530 - Generics break default  evolver

When selecting an annotated constructor for evolving a type make sure
we treat generics in the same manner we did when serialized. Effectively
throw away the template information and treat lists as lists and maps
as maps
2018-07-02 15:10:00 +01:00
Katelyn Baker
6bc7f5d7d8 RELEASE: Bump release number on new (potential) release branch 2018-06-19 20:58:32 +01:00
Katelyn Baker
d193dd85e0 REVIEW: Final release vno 2018-04-11 13:08:15 +01:00
Katelyn Baker
673d8cbf2a
Pre release v3.1 releasenote (#2937)
* RELEASE - 3.1 upgrade and release notes

* Update docs for change to vno

* address vno change in release notes

* Update release-notes.rst

* make corda links

* Review comments

* Review comments

* review comments

* remove ref to reverted bugfix

* Review comments
2018-04-11 13:05:50 +01:00
Kat Baker
a047a1ed5e RELEASE - Update vno for RC02 testing 2018-04-10 19:25:25 +01:00
Katelyn Baker
ddec72674c
REVERT - CORDA-1264 - Needs more thought prior to release (#2952)
* REVERT - CORDA-1264 - Needs more thought prior to release

This reverts commit 33af80ac55.

Since this causes regressions in the way errors are propogated to
clients it seems best to not break or hold up 3.1 but revert this commit
and move on

* fix revert
2018-04-10 18:18:57 +01:00
Shams Asari
4e4901825a CORDA-1181 - Add back information on initial registration (#2945)
(cherry picked from commit 2792716)
2018-04-07 17:24:14 +01:00
Katelyn
b158102b10 RELEASE: swap version number around
Was corda-3.1 now it's 3.1-corda

should work better with external tools
2018-04-06 17:21:02 +01:00
Anthony Keenan
de13c9030c CORDA-1292 - Add CordaService testing documentation and improve tests in irs-demo (#2929) (#2938)
* Add CordaService testing documentation and improve tests in irs-demo

* Addressed review comments
2018-04-06 14:24:31 +01:00
Katelyn Baker
ecea71437b RELEASE: update vno for release testing (#2933)
* RELEASE: update vno for release testing

* [CORDA-1292] Add CordaService testing documentation and improve tests in irs-demo (#2929)

* Add CordaService testing documentation and improve tests in irs-demo

* Addressed review comments

* [CORDA-1292] Add CordaService testing documentation and improve tests in irs-demo (#2929)

* Add CordaService testing documentation and improve tests in irs-demo

* Addressed review comments
 (reverted from commit 4d39be10a5)
2018-04-06 10:12:27 +01:00
Andras Slemmer
7501e87a54 CORDA-1295: Clean up client->observable association on observable finish (#2915) 2018-04-04 12:40:32 +01:00
Shams Asari
6ae0142bc8 CORDA-1276: Cleaned up creation of node-info object on node start and when using --just-generate-node-info (#2912)
(cherry picked from commit 65ff214)
2018-04-04 09:26:03 +01:00
Michele Sollecito
33af80ac55
[CORDA-1264]: Ensure correct serialisation and masking for throwables raised by a node and propagated through RPC. (#2902) 2018-03-29 14:40:40 +01:00
Katelyn Baker
db29fceb4c
Improve the upgrade-test-packages.sh script to work on macOS. Fixes an issue found by tom on pubslack. (#2894) (#2901) 2018-03-29 13:13:09 +01:00
Katarzyna Streich
becfcf8b6c ENT-1668 - Don't crash on node startup when network map is not available (#2897)
* ENT-1668: Don't crash on node startup when network map is not available (#2887)

Fix ENT-1668

Don't crash on node startup when network map is not available

* Add changelog entry
2018-03-29 12:45:24 +01:00
Michele Sollecito
5ac4c7eda7 CORDA-1267 - Make JPA entities non-final and Serializable. (#2899) 2018-03-29 12:43:42 +01:00
Katelyn Baker
c59f3e0786
Generate a PDF version of the docsite. Request from a user in Slack. (#2900) 2018-03-29 12:43:22 +01:00
Katarzyna Streich
2f0f737c3f ENT-1686 - Improve error message on parameters mismatch (#2891) (#2896)
Improve error message on parameters mismatch
2018-03-29 11:41:39 +01:00
Katelyn Baker
8431616b87
DOCS: Serialization roundtrip removes mutability explanation (#2883)
* DOCS: Serialization roundtrip removes mutability explanation

* review comments

* review comments

* Review comments

* Review comments

* Review comments
2018-03-27 20:21:40 +01:00
Tudor Malene
de40d1dae5 ENT-1564 - add additional uploader check to the HashConstraint (#2845) (#2881)
* ENT-1564 - add additional uploader check to the HashConstraint (#2845)

(cherry picked from commit 1a1cd94)

* ENT-1564 changelog entry

* ENT-1564 ignored tests that were removed in master
2018-03-27 17:09:22 +01:00
Katelyn Baker
190232d1f2
ENT-1665 - Update fast-classpath-scanner version to 2.12.3 (was 2.0.21) (#2880)
Problem manifests now that the classpath scanner is used by the
serialisation framework in factory initialization to locate pluggable
serializers. The actual thrown error is

    java.lang.RuntimeException: Unknown constant pool tag

Given this is a known issue and a fixed bug it makes sense to move the
version forward. Unfortunately at this time we cannot move beyond
2.12.3 as 2.12.4 and later versions (up to the latest 2.18.1) exhibit
some other error that needs investigating. Thus, move to the latest
version that is stable for our current set of use cases.

More information on the nature of the problem exhibited by moving beyond
2.12.3 can be found on the linked Jira (ENT-1665) as well as details on
reproducing the issue moving forward to 2.12.3 fixes.
2018-03-27 16:16:33 +01:00
Joel Dudley
d3495e12c6
Direct bootstrapper link instead of manual build. 2018-03-21 15:35:36 +00:00
Anthony Keenan
3a14ae89c0 CORDA-1178 - Api scanner backport and update of api-current.txt (#2813)
* Api scanner backport and update of api-current.txt

* Updated api-current based on current state of release branch

* Update to most recent version of api scanner

* Fix a couple of issues with the merge and regenerate the api file with the most recent version of the scanner.

* Update changelog/release notes
2018-03-21 11:19:20 +00:00
Andrius Dagys
33b34a306f Update final API for V3 (#2796) 2018-03-14 17:08:25 +00:00
Katelyn Baker
ab0742bf3a
RELEASE: Post cut vno update (#2808) 2018-03-14 10:02:24 +00:00
Katelyn Baker
55a3383238 RELEASE: Fix version number for the docs site 2018-03-12 21:51:39 +00:00
Katelyn Baker
96e7d8db79 RELEASE: Fix version number for the docs site (#2797) 2018-03-12 17:57:51 +00:00
Katelyn Baker
d9d6684f11 CORDA-966 - RELEASE - Final release note tweeks 2018-03-12 13:40:20 +00:00