Commit Graph

5358 Commits

Author SHA1 Message Date
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
Shams Asari
d2dc80e4f8 CORDA-1160 - Only read node-info files if their last modified time has changed. (#2717) (#2718)
(cherry picked from commit 4a73a80)
2018-03-05 14:57:03 +00:00
Shams Asari
95231b45c8 CORDA-1082 - Add doc for --just-generate-node-info (#2719) (#2722)
(cherry picked from commit 067c9fb)
2018-03-05 14:56:37 +00:00
Thomas Schroeter
2168d42154 CORDA-1136 - Update startup message of P2P address and port (#2699) 2018-03-04 14:59:06 +00:00
Katelyn Baker
40fe6531ee
CORDA-1115 - Cannot serialize private nested objects (#2709)
* CORDA-1115 - Cannot serialize private nested objects

Backport from master

* Fix backport issue
2018-03-02 18:14:23 +00:00
Patrick Kuo
de45851434 CORDA-1123 - Node explorer / Demobench UI issues (#2684) 2018-03-02 18:14:08 +00:00
Joel Dudley
385139ce80
Reflects change to shell example in tutorial-cordapp docs. 2018-03-02 18:05:09 +00:00
Rick Parker
034d124eb7 CORDA-1144 Fix documentation that refers to IRS demo code (#2713)
(cherry picked from commit 1ca3565)
2018-03-02 16:16:26 +00:00
Mike Hearn
f714c3001c
Fix another non-serializable exception, add docs, fix a possible security issue. (#2707) (#2710)
* Fix another non-serializable exception, add docs, fix a possible security issue.

* Update API definition to reflect methods added to make more exceptions serializable
2018-03-02 16:15:09 +01:00
Katelyn Baker
9e9fab7e1a
CORDA-1134 - Don't use private serializers for all CAPS properties (#2708)
Whilst it does currently work it only does so by going down an incorrect
code path. A property THING that is public and has a getter should
be fetched using that getter, not trip into the private property
accessor.
2018-03-02 13:49:30 +00:00
Andrzej Cichocki
ba925c0277 CORDA-1131 - Fix webserver startup when headless 2018-03-02 12:35:46 +00:00
Tudor Malene
ab4cb7abda CORDA-1050 - docs on whitelisting CorDapps (#2671) (#2694)
* CORDA-1050 docs on whitelisting CorDapps

* Addressed code review notes

* Addressed code review notes

(cherry picked from commit 06af213)
2018-03-02 11:59:58 +00:00
Joel Dudley
67697906d0
1076 - Filters out structural steps when tracking a flow via RPC. 2018-03-02 10:44:52 +00:00
Katelyn Baker
b689989a36
RELEASE: Bump platform version (#2700) 2018-03-02 09:52:22 +00:00
Mike Hearn
3985211352
Fix the serialisability of TransactionVerificationException and subtypes. (#2695)
Add KDocs for the exceptions in this file, and deprecate exceptions that aren't actually used.
2018-03-02 10:36:47 +01:00
Shams Asari
bf712a893e CORDA-1048 - Making it simpler to move an existing local deployment of nodes to across different machines (#2697)
* Various cleanup of the network map code (#2604)

(cherry picked from commit 2af0fee)

* CORDA-1048: Making it simpler to move an existing local deployment of nodes to across different machines. (#2672)

This was achieved by having the hash in the node-info file to be just of the node's X.500 name. This also solves existing duplicate node-info file issues that we've been having.

Also updated the docsite.

(cherry picked from commit 8616f24)
2018-03-02 08:22:25 +00:00
Anthony Keenan
b76556940a CORDA-991 - Finalise API stabilty (#2685) 2018-03-01 20:33:50 +00:00
Tudor Malene
d4f9b10469 Added exclude whitelist to Network Bootstrapper to enable fine grained testing (#2666)
* Added exclude whitelist to Network Bootstrapper to enable fine grained testing.

* code review change
2018-03-01 16:32:36 +00:00
Maksymilian Pawlak
57067065f4 CORDA-1112 - Explicit dependency on JS dep dir seems to eliminate race condition bug (#2675)
* Explicitly add directory with downloaded JS dependencies

* Indentation
2018-03-01 14:54:59 +00:00
Anthony Keenan
d77290831c CORDA-1035 - Testing api KDoc Updates (#2670)
* [CORDA-1035] Testing api KDoc Updates (#2584)

* Testing api KDoc Updates

* Update after code review

* Update api-current

* Revert changes to compiler.xml

* Made comment changes from review

* Fixing merge conflict

* Don't expose net.corda.node through test API (first pass)

* Fixing merge conflicts

* Update api-current

* Addressing review commits

* Fix exposure of internal implementation of MessageHandlerRegistration

* Make InProcess expose ServiceHub instead of internal StartedNodeServices

* Move InternalMockMessaginService interface to internal namespace

* Move MOCK_VERSION_INFO to internal namespace to avoid exposing VersionInfo

* Don't expose WritableTransactionStorage via testing api

* Create public VerifierType enum

* Update api-current and modify check-api-changes to check for net.corda.node exposures

* Fix merge conflicts

* Fixing another merge conflict

* Fix accidentally broken unit tests

* Make getInternalServices a property

* Fix failing unit tests

* Add todo to check-api-changes

* Fix rpc sender thread busy looping

* Fix tests

* Fixing tests

* Address mike's comments

* Fixing tests

* Make random port allocation internal

* Update api

* Update api
2018-02-28 15:59:56 +00:00
Tommy Lillehagen
cf5498a7b0 CORDA-1102 / CORDA-1103 - Fix IRS Demo on Windows (#2668)
* CORDA-1102 - Fix IRS demo README

* CORDA-1103 - Fix JAR paths in IRS demo launcher
2018-02-28 14:46:37 +00:00
Andrzej Grzesik
32a2a0909d CORDA-1127 - updated comments to follow current port layout (#2669) 2018-02-28 14:41:08 +00:00
Andrius Dagys
dc990126d5 CORDA-696 - Contract upgrade transactions - handle WhitelistedByZoneAttachmentConstraint for input state constraint verification (#2664) 2018-02-28 13:35:09 +00:00
Joel Dudley
b5c21a9a0d
Improves CorDapp build instructions by including other ext versions, and clearly pointing to the templates as a guide. 2018-02-28 10:38:37 +00:00
Maksymilian Pawlak
4285000ff8 CORDA-1113 - Close classloader (#2637)
* Close classloader after use

(cherry picked from commit 6070bc0)

* Better handling of classloader closing

(cherry picked from commit 2f6413b)
2018-02-28 08:37:42 +00:00
Maksymilian Pawlak
78dbb96089 CORDA-1116 - Move classpath to a system variable so it can overcome command limits on Windows, while keep working fine on other system. (#2660)
(cherry picked from commit 30e2c7d)
2018-02-28 08:37:30 +00:00
bpaunescu
f03ce2b645 GITHUB-2630 - missing rpc info at node startup (#2656) 2018-02-27 12:15:23 +00:00
Andras Slemmer
aafd8401ad Fix rpc sender thread busy looping (#2655) 2018-02-27 12:14:57 +00:00
Thomas Schroeter
b625dc7417 CORDA-1119 - Sign in DB transaction (#2651) 2018-02-27 12:14:47 +00:00