Commit Graph

5336 Commits

Author SHA1 Message Date
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
Katelyn Baker
da71caa1f2 CORDA-966 - RELEASE - Update static versions for V3 2018-03-12 11:49:00 +00:00
Katelyn Baker
ad2d1f242e CORDA-966 - RELEASE - Update conf.py for V3 2018-03-12 11:49:00 +00:00
Katelyn Baker
f919f34546 CORDA-966 - RELEASE - Update version number to corda-3.0 2018-03-12 11:49:00 +00:00
Katelyn Baker
2d394fc6f6
CORDA-1186 - ACtually move annotaiton into core module, not just core namespace (#2781) 2018-03-11 00:34:23 +00:00
Katelyn Baker
cadde056fa
CORDA-966 - RELEASE - Upgrade notes for V3.0 (#2550)
* DOC: AMQP upgrade notes in brief

* moving test upgrade notes from release notes to upgrade note

* add cordapp/cordformation notes

* Added section for network map changes

* Updated upgrade notes to reflect changes for SSL (#2569)

* Updated upgrade notes to reflect changes for SSL

* Removed some blank lines.

* AMQP Constructor / property mismatch upgrade note

* wip

* Note about feasible (but not recommended) tables that can be migrated from Corda 2.0 to 3.0, basic recipe how to do it.

* Database schema changes - optional partial vault migration described at the end of the paragraph, focus on the overall changes to tables.

* Review Comments

* Database schema changes - split Vault and finance module changes, reformatting, improve migration note.

* Database schema changes - addressing PR comments.

* Database schema changes - move changes to change log, migration to JIRA ticket.

* Finalise versions

* review comments

* CORDA-1171: Add notes on the notary error change

* set release version
2018-03-08 23:08:15 +00:00
Katelyn Baker
5e6d3c3859
CORDA-966 - RELEASE - Update version number for RC03 (#2774) 2018-03-08 23:07:26 +00:00
Katelyn Baker
a3357c3524
CORDA-966 - RELEASE - V3 Release notes (#2492)
* wip

* CORDA-966 - RELEASE - Release notes first attempt

* spek check

* Upated network map section

* Test API documentation.

* TransactionSignature changelog

* v3 release notes: Apache Shiro integration

* Update release-notes.rst

* wip

* wip

* wip

* Update release-notes.rst

Capturing an external contributor I missed

* Update release-notes.rst

* Update release-notes.rst

* Add links to contributors commits

* more changes

* wip

* wip

* wip

* Addresing some of Jose's comments

* Add warning about not being wire sable for RPC

* Addresing some of Jose's comments

* more changes, move the test notes mostly into the upgrade doc

* short note on howto upgrade gradle

* spelling error

* Add a link to upgrade docs on release notes

* review comments

* Update release-notes.rst

* Fix release-notes around contract verification.

* minor changes

* review comments

* add cordapp template example link

* PrivacySalt security and speed release notes.

* It's -> Its

* CORDA-1171: Add notes on the notary error change

* Update release-notes.rst

Its -> It's
2018-03-08 21:56:21 +00:00
Viktor Kolomeyko
c9d18a5126 CORDA-1197 - Take into account last amount submitted when adding data points. (#2771)
Current logic in `CashWidget` is not handling well updates done in close succession, i.e. less than 1 second.
And such frequent updates do indeed happen, e.g. from: `net.corda.client.jfx.model.ContractStateModel#cashStates`
where `list` is modified twice.

Also use `.toDecimal()` instead of `.quantity`to have amount represented in pounds rather than in pennies.
2018-03-08 20:45:11 +00:00
Katelyn Baker
38ab78c07e
CORDA-1192 - Quieten message when reflecting on kotlin builtin (#2769) 2018-03-08 20:44:53 +00:00
Andrius Dagys
c367df0e83 CORDA-1171 - When a double-spend occurs, do not send the consuming transaction id and requesting party back to the client - this might lead to privacy leak. Only the transaction id hash is now returned. (#2746) 2018-03-08 20:44:13 +00:00
Maksymilian Pawlak
cdf2a94d3a Warning about possible classpath clashes (#2768) 2018-03-08 18:00:03 +00:00
Andrius Dagys
da74263f42 CORDA-696 - Ensure deterministic transaction id calculation for contra… (#2676)
* CORDA-696: Ensure deterministic transaction id calculation for contract upgrade and notary change transactions.

The problem with the previous implementation is that the transaction would be deserialized with the schema specified
in the serialized form, but the calculation of the id would involve re-serializing properties using a local serialization context
which might produce a different result.

* Support forwards compatibility for new hidden or visible properties

* Some refactoring and updating api docs

* Fix tests & add custom serializer in case the transaction is captured in a checkpoint

* Update id calculation for notary change transactions as well - no filtering is involved

* Use computeNonce

* More refactoring

* Use helper for computing component hashes

* Optimise id calculation
2018-03-08 17:59:25 +00:00
Konstantinos Chalkias
d32dbc33c5 CORDA-1092 - fix secureRandomBytes (#2766) 2018-03-08 15:12:18 +00:00
Konstantinos Chalkias
eede1cf6a1 CORDA-1117 - node-explorer.rst port fixes (#2764) 2018-03-08 12:18:39 +00:00
Gavin Thomas
183a30286b CORDA-1049 Minor update to Corda API doc to replace notes relevant to 1.0 to 3.0 (#2688)
* Minor update to Corda API doc to replace notes relevant to 1.0 to 3.0

* Update corda-api.rst

Added more security info from James B

* Update corda-api.rst

Grammatical change

* Update corda-api.rst

* Update corda-api.rst

* Update corda-api.rst

* Text updates

d and s fix
Listed only Postgres as a support db
2018-03-07 18:05:02 +00:00
Andrzej Grzesik
a985f94673 Removed a reference to an appender not present in tests (#2761) 2018-03-07 17:05:09 +00:00
Katelyn Baker
8c541b3b7e
CORDA-1186 - Move ConstructorForDeserialization out of internal (#2760)
Backport from master
2018-03-07 16:57:46 +00:00
Shams Asari
9fd93fc038 Fix permissioning doc (#2755) (#2756)
(cherry picked from commit 4e5df2f)
2018-03-07 14:25:27 +00:00
Andrzej Grzesik
0d4e99d4f1 Corda-1155 - Jolokia logging via slf4j (#2753)
* Jolokia logging through slf4j

* review remarks
2018-03-07 13:12:15 +00:00
Tudor Malene
5bd1ba0f39 ENT-1575 - Shorten table name (#2751)
(cherry picked from commit 4ad0d4f)
2018-03-06 18:25:45 +00:00
Konstantinos Chalkias
cbc07b791c CORDA-1175 - counterparty docs homogenisation (#2747) 2018-03-06 16:10:48 +00:00
Konstantinos Chalkias
42208a5aae CORDA-1173 - api-identity and docs (#2743) 2018-03-06 14:11:41 +00:00
Stefano Franz
6cebd3b9a8 CORDA-1046 - add docs about the split plugins to corda.net (#2712)
* add docs about the split plugins to corda.net

* Update cordapp-build-systems.rst
2018-03-06 13:02:41 +00:00
Konstantinos Chalkias
1aad646243 CORDA-1145 - troubleshooting updates (#2742) 2018-03-06 11:44:29 +00:00
Stefano Franz
53bb9864df CORDA-1030 - allow nodes to be waited for inprocess (#2678)
* allow nodes to be waited for inprocess

* review comments

* Andr3ej suggested fix for test

* fix build and rebase

* add 2 spaces indentation to line 892 of DriverDSLImpl.kt

* add one space to line 799

* remove one space from line 892

* (re)add another space to line 799
2018-03-06 11:25:05 +00:00
Katelyn Baker
41edc88dd6
CORDA-1140 - RPC Client's P2P Context should use AMQP (#2741) 2018-03-06 09:25:55 +00:00
Katarzyna Streich
fda55e10ec Update identity docs (#2319) (#2677)
* Update identity docs (#2319)

* Update certificate extension specification

* Extend documentation on node name requirements

* Moving node naming back to node generation file. Merging other permissioning information.

* Update certificate structure image

* Address some of the comments
2018-03-05 23:03:55 +00:00
Katelyn Baker
8e0e02eb28
RELEASE: Update version number for RC02 (#2735) 2018-03-05 20:51:48 +00:00
Michele Sollecito
194a690ef4 CORDA-1156 - Fixed displayed nodeInfo and stateMachineSnapshot in InteractiveShell. (#2732) 2018-03-05 17:32:34 +00:00
Tudor Malene
d6f9bbfe2e CORDA-1147 - fix shell (#2730) 2018-03-05 16:51:31 +00:00
Maksymilian Pawlak
a042240f26 Corda-1137 - Docker/docker-compose on Windows (#2726)
* Remove IRS Docker demo helpers

(cherry picked from commit 8992b2c)

* Add configuration variables info in README
Switch to corda fork of docker-compose-rule to include default Windows docker location

* Review fixes
2018-03-05 16:41:18 +00:00
Tudor Malene
87c5ad8b88 CORDA-1150 - better log messages (#2721)
* CORDA-1150 better log messages

* CORDA-1150 better log messages

* CORDA-1150 better log messages
2018-03-05 16:27:50 +00:00