Commit Graph

1221 Commits

Author SHA1 Message Date
Katelyn Baker
ad2d1f242e CORDA-966 - RELEASE - Update conf.py for V3 2018-03-12 11:49:00 +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
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
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
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
Shams Asari
9fd93fc038 Fix permissioning doc (#2755) (#2756)
(cherry picked from commit 4e5df2f)
2018-03-07 14:25:27 +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
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
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
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
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
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
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
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
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
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
Joel Dudley
82f1240e34
Update deploying-a-node.rst 2018-02-22 14:29:05 +00:00
Michele Sollecito
d97a579a2e [CORDA-1089]: Correctly display an error message on node startup if RPC settings are invalid (#2592)
* [CORDA-1089]: Correctly produce an error message on node startup if rpc options are invalid.

* [CORDA-1089]: Made RPC settings validation only trigger if address is specified.

* [CORDA-1089]: Fixed outdated deployNodes task in build.gradle.

* [CORDA-1089]: Fixed outdated deployNodes task in build.gradle.
2018-02-21 17:09:13 +00:00
Mike Hearn
9be6022012 DOCS - Bring doc improvements for v3 across from master (#2593)
* Docs: some work on the network map docs.

* Address review comments

* Address review comments

* Docs: discuss zone constraints, flow drains and more upgrade related topics (#2585)

Docs: discuss zone constraints, flow drains and more upgrade related topics.
2018-02-21 16:31:26 +00:00
Tudor Malene
60a4bcba5b CORDA-941 - Add Network Parameters contract implementation Whitelist (#2539)
* CORDA-941 Add Network Parameters contract implementation Whitelist

* CORDA-941 fix merge

* CORDA-941 added uploader support to Attachments and added check into the AttachmentClassloader to only allow loading attachments that were uploaded from the local cordapps folder

* CORDA-941 update api spec

* CORDA-941 address some code review changes and fix and add classloader test

* CORDA-941 fix test

* CORDA-941 address code review comments

* CORDA-941 address code review comments - use and update existing whitelist

* CORDA-941 address code review comments

* CORDA-941 fix compile error

* CORDA-941 address code review comments

* CORDA-941 removed: whitelistAllContractsForTest

* CORDA-941 removed: whitelistAllContractsForTest

* CORDA-941 add comment

* CORDA-941 remove toLedgerTransaction

* CORDA-941 add warning when node not using latest CorDapp

* CORDA-941 remove the stubbing approach for cleaning LedgerTransaction

* CORDA-941 Code review changes

* CORDA-941 Fix merge

* CORDA-941 workaround for api scanner bug

* Fixed JacksonSupportTest.
2018-02-20 11:09:23 +00:00
sollecitom
22f6827131 CORDA-961 - Revert the introduction of GlobalProperties.
* Changes to LargeTransactionTests.
 * Code review changes.
 * Code review changes.
 * Code review changes.
 * Reverted to MAX_FILE_SIZE for Artemis.
 * reverted max message size for BridgeControlListener inside Node.kt
 * reverted max message size for BridgeControlListener inside Node.kt
 * Renamed setNetworkParameters to withNetworkParameters in MockNetwork.kt
 * Updated to reflect latest state.
2018-02-19 15:57:21 +00:00
Joel Dudley
273d5c5d7a
Renames plugins folder to cordapps 2018-02-19 14:58:32 +00:00
Shams Asari
4bc3f9ffa8 ENT-1519 - Ensure NodeInfo always has at least one address by checking in the c'tor (#2538) (#2542)
Further, the look up of the node's own node-info from its database has been tightened to ensure there isn't more than one.

Also fixed some brittle code which was assuming exactly one address rather than at least one.

(cherry picked from commit 2864ce1)
2018-02-16 16:52:08 +00:00
Anthony Keenan
b24ec9f680 CORDA-939 - Modify Api Scanner to check api for internal exposures (#2534)
* CORDA-939 Modify Api Scanner to check api for internal exposures (#2510)

* Update check api changes to look for internals

* Update several more uses of internal

* Make check-api-changes script filter out internal class usages

* Make CordaClock part of API

* Update api-current.txt

* Remove exclusion of nodeapi.internal

* Remove access to CordaPersistence from public api

* Don't expose DB Connection from StartedMockNode and remove unnecessary transaction from CustomVaultQueryTest

* Make internal tests that use need db access use InternalMockNetwork

* Make test certificates internal

* Address further review comments

* Revert some accidental changes to api-current.txt

* Address Shams' review comments

* Update Api Scanner to filter out CordaInternal attribute

* Update api-current.txt

* Remove superfluous brackets

* Add transaction to StartedMockNode

* More leaky transaction fixes

# Conflicts:
#	.ci/api-current.txt
#	node-api/src/test/kotlin/net/corda/nodeapi/internal/AttachmentsClassLoaderStaticContractTests.kt
#	node-api/src/test/kotlin/net/corda/nodeapi/internal/AttachmentsClassLoaderTests.kt
#	node/src/integration-test/kotlin/net/corda/node/services/AttachmentLoadingTests.kt
#	node/src/test/kotlin/net/corda/node/internal/cordapp/CordappProviderImplTests.kt
#	testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/InternalMockNetwork.kt
#	testing/test-utils/src/main/kotlin/net/corda/testing/internal/MockCordappConfigProvider.kt
#	testing/test-utils/src/main/kotlin/net/corda/testing/internal/MockCordappProvider.kt

* Bump gradle plugins version

* One last internal exposure

* Update constants.properties

* Fix api-current

* Address mikes review comments
2018-02-16 15:22:13 +00:00
Konstantinos Chalkias
b68957cf83 CORDA-1038 - docs fix: TransactionWithSignatures (#2552) 2018-02-16 14:43:05 +00:00
Katelyn Baker
d29736eccb
DOCS: AMQP Serialization "gotcha" (#2555)
How to deal with the case where the constructor parameter doesn't map to
a class property
2018-02-16 14:41:13 +00:00
Anthony Keenan
27fb4b8fe8 CORDA-1011 Add powershell script to update testing package imports (#2528) (#2549)
* Add powershell script to update testing package imports

* Make sure script works with java files

* Address review comments
2018-02-16 13:31:41 +00:00
Maksymilian Pawlak
b87ca85046 Test driver default parameters removal (#2519) (#2525)
* Removed long parameter list in test driver, replaced with DriverParameters object

(cherry picked from commit b91dd43)
2018-02-14 10:24:16 +00:00
Joel Dudley
c9ade00de6 No IdentityServiceInternal as public param. Start nodes without params. Simpler MockServices ctors. (#2521)
* Removes IdentityServiceInternal as a public parameter to MockServices.

* Reorders params to put non-default args first. Creates simpler default constructors.

* Adds constructors for creating mock nodes by passing params.
2018-02-13 11:32:04 +00:00
Shams Asari
49f75dab9c CORDA-1006: Undoing the wiring of maxMessageSize as it's not correctly implemented and updating the docs to clarify its status. (#2501)
The network parameter was just fed into Artemis' minLargeMessageSize property which isn't the same thing.
2018-02-13 11:31:39 +00:00
Anthony Keenan
c7986c87fd CORDA-716 - Update changelog for test package changes and provide upgrade script (#2434) (#2515)
* Update changelog for test package changes and provide upgrade script

* Upgrade kotlin and java scripts
2018-02-13 09:43:24 +00:00
Michele Sollecito
fbb7f8f019 CORDA-990 - Flows Draining Mode (#2507)
* [CORDA-990]: Flows Draining Mode

* Fixed incorrect disconnect login.

* Code review changes.

* Fixed compilation error about MockNetwork...

* Fixed compilation error about MockNetwork...

* Fixed broken compilation.

* Ignoring an unstable test.
2018-02-13 09:34:10 +00:00
Anthony Keenan
e363090f30 CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) (#2505)
* Don't expose StartedNode via Node Driver

* Dont expose StartedNode/Abstract Node via MockNetwork

* Remove internal var from constructor as it doesn't hide from public api and change to internal initialisation method

* Update api

* Rename MockNode to StartedMockNode to avoid confusion
Update documentation
Update api-current.txt

* Fix typo

* Fix test failure

* Modify flow tests to use internal mock network and remove additional internal exposures from StartedMockNode

* Fix api-current

* Change InProcess and OutOfProcess to interfaces

* Explicitly declare MockNetwork parameters
Dont expose StateMachineManager
Move affected tests to use internal mock network

* Fix api-current

* Changes requested via review

* Fix IRS Demo address

* Fix api

* Remove internal attribute from classes in internal package

* Remove accidentally added code

* Move useHttps into NodeHandleInternal

* Remove duplicated code

* Update api-current

* Make webAddress internal on NodeHandle

* Make sure parameters in public api are explicitly specified

* Use correct address in IRS Demo

* Get webaddress from webserver handle

* Update api-current

# Conflicts:
#	.ci/api-current.txt
2018-02-12 13:26:56 +00:00
Andras Slemmer
10f3c0bcf9 CORDA-995: r3corda wire compatibility (#2497) 2018-02-12 10:09:47 +00:00
Patrick Kuo
c18bc8758f CORDA-961 Wire up and enforce max transaction size (#2465) (#2493)
* wire up and enforce max transaction size

* fixup after rebase
moved network parameter from AbstractNode to NodeProperties

* removed TODO

* fix broken import

* address PR issues

* remove API breaking change
address PR issue

* added max transaction size to driver and mock network.
address PR issues

* fix failing test

* added TODO

* fix verifier test

* fix spring driver build error

(cherry picked from commit c8cf46c)
2018-02-09 17:24:15 +00:00
Katarzyna Streich
af4aba2bfa First approach to network parameters updates (#2412) (#2487)
* Network parameters updates

Add two RPC methods networkParametersFeed and
acceptNewNetworkParameters. Implementation of client handling of network
parameters update event. Partial implementation of accepting new
parameters and installing them on the node as well as node startup with
updated parameters.

Move reading of network parameters on startup to separate
NetworkParametersReader class. Add tests.

Move NetworkParameters and NotaryInfo classes to core.

* Ignore evolvability test - to be fixed later

* Add documentation on update process
2018-02-09 14:55:19 +00:00