Commit Graph

5445 Commits

Author SHA1 Message Date
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
Joel Dudley
64933c07c6
Wrong file name. 2018-02-27 10:39:38 +00:00
Joel Dudley
d0f0daeff0
Showcase link in Quickstart guide. Remove Utilities link (merged with Samples). 2018-02-26 21:24:20 +00:00
Joel Dudley
4e86a3460f
Updates shell example of starting flow to reflect cash API change. 2018-02-26 18:26:54 +00:00
Rick Parker
d1574cd320 CORDA-1040 - docs for FlowLogic.sleep (#2625) (#2638)
(cherry picked from commit 2da28c5)
2018-02-26 18:02:30 +00:00
Joel Dudley
9ecd82dc68
[CORDA-1035] Flow test API docs. 2018-02-26 16:46:06 +00:00
szymonsztuka
69e001497a CORDA-2615 - Added description for configFile option in deployNodes Cordform Gradle task. (#2615)
* Added description for configFile option in deployNodes Cordform Gradle task.

* Addressing PR comments.

* Addressing PR comments.

* Addressing PR comments.

* Addressing PR comments.

* Addressing PR comments.
2018-02-26 11:44:58 +00:00
Andrius Dagys
7e63c4e068 CORDA-696: Update upgrade docs (#2619) 2018-02-23 15:37:20 +00:00
Katelyn Baker
4157c25bd3 RELEASE: Bump release version for RC (#2618) 2018-02-23 10:48:01 +00:00
Michele Sollecito
a4f67602dd CORDA-1098 - Fixed Artemis filters for flows draining mode. (#2612) 2018-02-22 17:55:50 +00:00
Andras Slemmer
de577904eb CORDA-1043 - recieveAll documentation (#2611)
* CORDA-1043

* Update API
2018-02-22 17:54:57 +00:00
Maksymilian Pawlak
835c357a0b CORDA-1047 - Dockerform documentation (#2544)
* Comments update

* Links fix

* Grammar
2018-02-22 17:52:21 +00:00
Andrius Dagys
659d6c03ef CORDA-696 - Create separate transaction types for contract upgrade transactions (#2589)
* CORDA-986 and CORDA-985 CompositeKey and Signature verification performance fixes (#2467)

* CORDA-696: Create separate transaction types for contract upgrade transactions.

Add rationale around upgrade transactions

Move contract upgrade transaction resolution logic into internal until it's stabilised.

Throw a better exception when contract attachment not found

Default legacy contract constraint to always accepting - needs to be changed to whitelist constraint before merging

Introduce a new upgraded contract interface that allows specifying the legacy constraint.

Remove StateLoader, make all tx resolution functions take in ServicesForResolution

Contract upgrade transactions can handle whitelist by zone constraints

When creating a contract upgrade transaction, make sure the attachment of the old cordapp gets attached when using hash constraints.
Attachment lookup for a given contract class name only scans currently loaded cordapps, and we don't load old versions of cordapps.
2018-02-22 17:51:41 +00:00
Christian Sailer
ce4735da20 CORDA-1096 - Performance when loading multiple states from the vault (#2609)
* Provide efficient `loadStates()` implementation

* Replace loops using `loadState` with calls to `loadStates`
2018-02-22 16:12:07 +00:00