Commit Graph

2309 Commits

Author SHA1 Message Date
Schife
28852ce47d Razvan/merge 4.3 into 4.4 (#5494)
* NOTICK: Corda 4.3-RC01

Created first release candidate of Corda 4.3 - RC01.

* CORDA-3141: Add GracefulReconnect callbacks which allow logic to be performed when RPC disconnects unexpectedly (#5430)

Also removed potential for growing stack trace on reconnects.

* CORDA-2050 Upgrade Corda to Java 11 (compatibility mode) (#5356)

Upgrade Corda to run with Java 11 (compatibility mode) - see https://github.com/corda/corda/pull/5356

* ENT-4198 Adding legal text

Signed-off-by: Ed Prosser <edward.prosser@r3.com>

* TM-29 new baseline for 4.3 since new debt has been added with the last few commits (#5487)

* TM-23 compileAll task to compile all code (#5490)

* Add simple compileAll task to be used by warning check

* lazy configure compileAll

* TM-32 Merge OS 4.3 into 4.4

* TM-32 fixed detekt issue

* Downgrade Dokka back to 0.9.17 due to failing docs_builder.

* add ability to group test types together (#5459)

* add ability to group test types together

* add ability to specify podCount for use in parallel testing

* remove compiler xml

* add Jenkinsfile to enable scanning

* trigger build

* add ability to specify what docker tag to use from outside of the build

* fix docker work dir

* fix pipeline syntax issues

* use environment rather than `def`

* move agent restrictor outside of stages block

* use steps block

* more pipeline syntax fixes

* even more pipeline syntax fixes

* even more pipeline syntax fixes

* add kubenetize as property to image build

* move clear of docker image to end of build rather than start to prevent colocated builds

* escape dollar on docker image remove command

* attempt to kill all existing jobs

* fix compile issue due to killall_jobs

* fix compile issue due to killall_jobs pt2

* fix spelling

* make all variables environment variables

* add logic to delete images locally after pushing

* wrap testing phase with try / finally so that junit reports are always evaluated

* change the behaviour around post build actions

* break implicit link between testing phase and image building phase, allowing testing to occur without a rebuild and push of image

* prepend registry name to provided tag

* allow tasks to specify whether they wish to stream output from containers

* add timestamps directive to Jenkinsfile to have timing info on output

* make KubesTest resilient against transient pod failures in k8s

* increase CPU request

* add logic to allow specifying container resource requests

* attempt to run unit and integration tests in parallel

* change unit tests to use 3 cores to allow co-location on 8c machines

* join grouped tests together to give pod meaningful name

* add step to renew token with GKE

* change renew step to use pods instead of nodes

* fix bug where memory request is not correctly passed to pod

* disable unit tests for now

* [CORDA-2368] Added exception handling for missing files that displays appropriate messages rather than defaulting to file names. (#5472)

* NOTIK Minor adjustments to Detekt rules to reflect current working practises  (#5498)

* Minor adjustments to rules to reflect current working practises (including IntelliJ code style alignment)

* Adjust another rule in line with existing code style.

* rebaseline with changed detekt ruleset

* rebaseline with NodeStartup changes
2019-09-20 14:10:15 +00:00
Nick Rogers
74e8b6e468 CORDA-3220: Updating FinalityFlow with functionality to specify StatesToRecord (#5482)
Updating FinalityFlow with functionality to allow the initiator to indicate the appropriate StatesToRecord. This allows the initiating party to record states in transactions which they are proposing but are not necessarily participants of. An example would be the issuance of a token where the only participant is the holder NOT the issuer.
2019-09-19 17:58:04 +01:00
Ed Prosser
80d7b6355f ENT-4198 Adding legal text
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-09-18 12:01:36 +01:00
josecoll
3fafbe551c
CORDA-2050 Upgrade Corda to Java 11 (compatibility mode) (#5356)
Upgrade Corda to run with Java 11 (compatibility mode) - see https://github.com/corda/corda/pull/5356
2019-09-18 10:26:26 +01:00
Ryan Fowler
75e66f9db9 CORDA-3141: Add GracefulReconnect callbacks which allow logic to be performed when RPC disconnects unexpectedly (#5430)
Also removed potential for growing stack trace on reconnects.
2019-09-17 10:00:27 +01:00
Jonathan Locke
0e7335c080 NOTICK: Change Corda version to 4.4
Changed Corda version to 4.4 in preparation for next release.
2019-09-16 16:45:49 +01:00
Jonathan Locke
ef00659880 Merge branch 'release/os/4.1' into jlocke/20190912_merge_4.1_to_4.3 2019-09-12 11:44:09 +01:00
Ed Prosser
91d3ab3556 Fix text errors
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-09-11 11:22:46 +01:00
Matthew Layton
4e6edd012a CORDA-3133 (Version 2) (#5428)
* CORDA-3133 [v1]
This proposal is a little more flexible by design. It adds a property to the state pointer class, allowing them to be referenced in transactions on a per-state-pointer basis.

* CORDA-3133
 - Updated `resolveAtTransaction` to `isResolved`.
 - Moved `isResolved` out of the constructor into an abstract property.
 - Added deprecation constructor declaration for backwards compatibility.

* CORDA-3133 (version 2)
 - Added required changes to state pointers as per PR comments.
 - Added unit tests to ensure isResolved can be used to configure when state pointers should be resolved to reference inputs.

* CORDA-3133 (version 2)
 - fixed unit tests.
 - added comment to changelog.rst.
 - added helper functions to `StatePointer` to allow easier creation of static and linear pointers.
2019-09-11 08:51:27 +01:00
Jonathan Locke
9e0d9c2b1d
CORDA-3193: Update docs to mention branching strategy (#5451)
* CORDA-3193: Update docs to mention branching strategy

Removed mention of master branch except to describe that the master branch is no longer used.
Added explanation of branching strategy to contributing guide.
Renamed building-against-master to building-against-non-release

* CORDA-3193: Update docs to mention branching strategy

Updated contributing document to mention that work should go into the default branch by default.

* CORDA-3193: Update docs to mention branching strategy

Removed unnecessary backtick.

* CORDA-3193: Updated contributing section

Corrected term from "current development branch" to "equivalent branch"
2019-09-10 16:14:57 +01:00
Tudor Malene
a88c519096 CORDA-2740 - Remove RPC exception obfuscation (#5455) 2019-09-10 15:06:15 +01:00
Dan Newton
4cbe22949d CORDA-3018 Whitelisting attachments by public key - phase two tooling (#5386)
Allow node operators to blacklist signing keys (using blacklistedAttachmentSigningKeys config option). These blacklisted keys prevent attachments that are received over the network from being trusted. The docs have been updated to detail how to generate the key hashes that the config requires.

A new shell command attachments trustRoots has been added to see what attachments exist on the node along with information about their trust and where it comes from.

run dumpCheckpoints has been replaced by checkpoints dump as InternalCordaRPCOps needed to change to prevent a function that is meant to be internal from being visible on the shell.
2019-09-10 12:16:34 +01:00
Istvan Farmosi
a4ab5350d0 DOCS - Updated documentation for Testnet to reflect UI changes. (#5442) 2019-09-09 17:59:41 +01:00
tudor.malene@gmail.com
ea73dcfb22 Merge branch 'release/os/4.1' into tudor_merge_4.1_to_4.3
# Conflicts:
#	node/src/test/kotlin/net/corda/node/services/vault/NodeVaultServiceTest.kt
2019-09-09 16:04:39 +03:00
Tudor Malene
80d64a9574 ENT-3916 - document testing CorDapp upgrades. (#5421) 2019-09-09 10:26:37 +01:00
Denis Rekalov
a4650b2bb3 CORDA-3187: Add -XX:+HeapDumpOnOutOfMemoryError -XX:+CrashOnOutOfMemoryError to default JVM args for node (#5432) 2019-09-06 13:49:52 +01:00
edward-prosser
7ef9a8d2c9
Merge pull request #5438 from corda/CORDA-3054-EdP
Update dockerform task steps
2019-09-05 15:33:40 +01:00
Istvan Farmosi
74e44eb1ee DOCS - Updated documentation for Testnet to reflect UI changes. (#5409) 2019-09-05 11:54:37 +01:00
Ed Prosser
5ff0986216 Update dockerform task steps
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-09-05 11:05:34 +01:00
Roger Willis
99f4e4aac2
CORDA-3182: Added additional property on VaultQueryCriteria for querying by account (#5423)
* Added an additional property on VaultQueryCriteria to specify an externalId/accountId when performing a vault query.
Added logic in hibernate query criteria parser to handle the exernalId join and lookup.
Added a test.

* Fixed error in test.
Fixed backwards incompatible changes.

* Updated changelog.

* Updated docs to remove incorrect instructions for querying by external ID.
2019-09-03 11:55:26 +01:00
Stefano Franz
c2057e0893 CORDA-3180: Added ability to lookup the associated UUID for a public key to KeyManagementService (#5411)
* expose identity cache to KMSinternal

* apply shams comments

* Addressed review comments.
2019-09-01 07:57:46 +01:00
Dimos Raptis
4b5a38796f [CORDA-3106] - Refine documentation around rpc reconnection (#5405) 2019-08-30 09:24:58 +01:00
Ake Gaviar
11d107dcb1
Fix typo
Added the colon. A tiny typo fix.
2019-08-28 18:35:59 +03:00
Jonathan Locke
20585266a5
[NOTICK]: Change Corda version
Change Corda version
2019-08-28 15:38:36 +01:00
Stefan Iliev
3a6787437d CORDA-3022 Add wildcard RPC permissions (#5174)
* Added small poc changes to accommodate requested permissions.

* Added node user that can only start flows and has the neccessary permissions.

* Fixed type in the rpc unit tests.

* Finaliase wildcard RPC permissions, remove builtin maintainer/nodeuser roles

* Tidy up
2019-08-28 15:29:06 +01:00
Stefano Franz
e35c0c1df7
CORDA-3009 - Migrate identity service to use to string short (#5217)
* migrate PersistentIdentityService to use key.toShortString()
update definition of PublicKeyToExternalId mapping to allow fast lookup by externalId/publicKey

* fix misspelled table name

* add test of migration script

* add design document for proposal to move IdentityService to using the correct PK.toStringShort() method for hashing a publickey

* add enterprise testing considerations to design

* address review comments

* fix compilation errors

* modify PublicKeyToOwningIdentityCache to use toStringShort() as it's lookup key

* address syzmon's code review comments
2019-08-28 14:16:18 +00:00
Jonathan Locke
bbadec70ba [NOTICK]: Change Corda version
Change Corda version from 5.0-SNAPSHOT to 4.3-SNAPSHOT to reflect the next version of Corda to be released.

Multi-line description of commit,
feel free to be detailed.
2019-08-28 12:59:18 +01:00
Jonathan Locke
122bf3b3e0 Merge OS 4.1 into OS 4.3
Corrected changelog
Corrected irs-demo cordapp build.gradle file - removed unnecessary dependency

feel free to be detailed.
2019-08-27 16:21:47 +01:00
Jonathan Locke
9661f8d4e4 Merge OS 4.1 into OS 4.3
Fixed missed conflict in conf.py
2019-08-27 14:56:08 +01:00
Jonathan Locke
e5f314ffbf Merge branch 'release/4' into jlocke/merge_4.1_20190827
Merged release/4 (Corda OS version 4.1) into a branch created from master (Corda OS version 4.3)

Conflicts:
	build.gradle
	client/rpc/src/main/kotlin/net/corda/client/rpc/internal/ReconnectingCordaRPCOps.kt
	common/logging/build.gradle
	common/logging/src/main/kotlin/net/corda/common/logging/CordaVersion.kt
	constants.properties
	core-tests/src/test/kotlin/net/corda/coretests/utilities/ProgressTrackerTest.kt
	core/src/main/kotlin/net/corda/core/transactions/TransactionBuilder.kt
	docs/source/api-contract-constraints.rst
	docs/source/api-stability-guarantees.rst
	docs/source/app-upgrade-notes.rst
	docs/source/changelog.rst
	docs/source/clientrpc.rst
	docs/source/conf.py
	docs/source/corda-network/UAT.md
	docs/source/getting-set-up.rst
	docs/source/network-builder.rst
	docs/source/upgrading-cordapps.rst
	docs/source/versioning.rst
	node/src/integration-test/kotlin/net/corda/node/services/rpc/RpcReconnectTests.kt
	serialization/src/main/kotlin/net/corda/serialization/internal/amqp/PropertyDescriptor.kt
	serialization/src/main/kotlin/net/corda/serialization/internal/model/LocalTypeInformationBuilder.kt
	tools/network-builder/src/main/resources/node-Dockerfile
	tools/network-builder/src/main/resources/notary-Dockerfile
2019-08-27 14:51:22 +01:00
edward-prosser
fc5cd62e20
Merge pull request #5374 from corda/edp-update-qs-bug
CORDA-3150 Docs command fix
2019-08-27 09:20:36 +01:00
Mike Hearn
dbce25b575 Put missing content back into the toctree after a bad merge.
Fix a bunch of ReST markup errors.
2019-08-23 14:41:32 +02:00
Mike Hearn
2dd1e21404 Make the start page a bit nicer and make the white papers more visible. 2019-08-22 19:19:27 +02:00
Mike Hearn
a41ffe7f39 TWP: Last touches of paint on our beautiful new bike shed. 2019-08-22 19:09:43 +02:00
Mike Hearn
929ac26a84 TWP: Rerender. 2019-08-22 19:09:43 +02:00
Mike Hearn
8b662ef0de TWP: Address review comments from Nick Rogers. 2019-08-22 19:09:43 +02:00
Mike Hearn
db83a56c66 TWP: Rerender 2019-08-22 19:09:43 +02:00
Mike Hearn
70c5d96de7 TWP: Address final comments. 2019-08-22 19:09:43 +02:00
Mike Hearn
da18eae303 TWP: Add a section on micronodes, rewrite the accounts section. 2019-08-22 19:09:43 +02:00
Mike Hearn
a88645ee95 TWP: Adjust the section on secure signing devices to more clearly discuss employees. 2019-08-22 19:09:43 +02:00
Mike Hearn
54eef09b6e TWP: Rerender. 2019-08-22 19:09:43 +02:00
Mike Hearn
a1ed695664 TWP: Address review from Jose. 2019-08-22 19:09:43 +02:00
Mike Hearn
d969487805 TWP: Refresh tokens diagram with latest from Roger. 2019-08-22 19:09:43 +02:00
Mike Hearn
32ad2d0a55 TWP: Rerender 2019-08-22 19:09:42 +02:00
Mike Hearn
1b97fd001b TWP: Add changelog entry. 2019-08-22 19:09:42 +02:00
Mike Hearn
51f1530db3 TWP: Cite DTCC study 2019-08-22 19:09:42 +02:00
Mike Hearn
1c802daf21 TWP: Add a brief mention of business networks. 2019-08-22 19:09:42 +02:00
Mike Hearn
df4548264f TWP: Small improvements to the privacy section. 2019-08-22 19:09:42 +02:00
Mike Hearn
8e911e8e49 TWP: Rebrand SGX execution models. 2019-08-22 19:09:42 +02:00
Mike Hearn
877966ac47 TWP: Extend the discussion of scalability. 2019-08-22 19:09:42 +02:00
Mike Hearn
f1011b3e4e TWP: Fix Ref.bib 2019-08-22 19:09:42 +02:00
Mike Hearn
6b0aad3d7f TWP: Add a brief discussion of human interaction to 'future work' 2019-08-22 19:09:42 +02:00
Mike Hearn
8f62c24400 TWP: Move notary "guaranteed data distribution" into the future work section. 2019-08-22 19:09:42 +02:00
Mike Hearn
1e686ca7f3 TWP: Create a top level section "the node", add some more explanations and move some other sections underneath it. 2019-08-22 19:09:42 +02:00
Mike Hearn
d2e851fc06 TWP: Comment out the network merging section until the details are more thoroughly explored. 2019-08-22 19:09:42 +02:00
Mike Hearn
9189ccf066 TWP: A brief note on multiple trust roots. 2019-08-22 19:09:42 +02:00
Mike Hearn
226caee9ab TWP: Address review comments. 2019-08-22 19:09:42 +02:00
Mike Hearn
6fca7a190a TWP: Add a discussion of SGX and the two different security models we are implementing. 2019-08-22 19:09:41 +02:00
Mike Hearn
3f070e4dc3 TWP: Add a section to 'future work' on data streams. 2019-08-22 19:09:41 +02:00
Mike Hearn
1f7d45f6ec TWP: Mention network parameters in the transaction components list. 2019-08-22 19:09:41 +02:00
Mike Hearn
5f735e174d TWP: Add a small discussion of versioning. 2019-08-22 19:09:41 +02:00
Mike Hearn
41bb43bdbe TWP: Add section on network parameters 2019-08-22 19:09:41 +02:00
Mike Hearn
d98696a549 TWP: Add discussion of identity, accounts 2019-08-22 19:09:41 +02:00
Mike Hearn
5ef7524d6d Get rid of ugly boxes around hyperlinks in the intro wp. 2019-08-22 19:09:41 +02:00
Mike Hearn
940ce78e1c Add authors (back) to renamed plat->intro wp. 2019-08-22 19:09:41 +02:00
Mike Hearn
c05b5911c6 Rename the new platform white paper back to introductory white paper,
because there are still quite a few links to the old name and URL even
within our own repository.

Reformat docsite slightly to make the white papers more prominent.

Also link to the Chinese/Japanese translations of the old paper.

Make the build script do both platform/intro and tech white papers.
2019-08-22 19:09:39 +02:00
Mike Hearn
d5f6d90b37 TWP: Address review comments 2019-08-22 19:05:06 +02:00
Mike Hearn
46a305602b Attempt to make a sentence about constraints easier to understand. 2019-08-22 19:05:06 +02:00
Mike Hearn
32450631a7 Move some sections into a "future work" section. 2019-08-22 19:05:06 +02:00
Mike Hearn
cc389f2a9c Read through the rest of the paper with minor tweaks. 2019-08-22 19:05:06 +02:00
Mike Hearn
59f839d80a Add remark about flow deniability. 2019-08-22 19:05:06 +02:00
Mike Hearn
d3c9679389 Rewrap file to a column limit that should fit in the GitHub diff viewer. 2019-08-22 19:05:06 +02:00
Mike Hearn
bf5cb51236 Add discussion of state pointers and the tokens SDK. (#5243)
* Add discussion of state pointers and the tokens SDK.

Fix ugly hyperlink boxes.

Comment out "market infrastructure" section for now as it was never implemented. It will come back in a later PR that creates a "future work" section.

* Address review comments.
2019-08-22 19:05:06 +02:00
Mike Hearn
a2c5cd1947 Tech white paper refresh, part 1 (#5233)
Tech white paper refresh, part 1.

In part 1:

* A new section is added on package namespace ownership and the no-overlap rule.
* The spelling of "serialize" is standardized on the US spelling used by the code, and add some content on serialization to the docs.
* Make a variety of smaller edits intended to make it read better.
* Spelling fixes.
* The discussion of C-I is temporarily removed, pending later re-addition in a new privacy section.
* Reference states are described.
* More TODOs are added to help me keep track of things that are needed.
* The discussion of time and clock sync is updated.
* The discussion of identity lookups is removed.
2019-08-22 19:05:06 +02:00
Mike Hearn
c7cb6ef725 Re-organise a part of the versioning discussion into a new toctree section. 2019-08-22 19:00:51 +02:00
Mike Hearn
178814b2d9 Improve the PDF by giving the book its own short intro page instead of
reusing the HTML intro, which doesn't make sense due to HTML-only markup
like videos.
2019-08-22 19:00:51 +02:00
Dan Newton
8fd5b7e489 DOCS - Correct links to checkpoint-tooling.html (#5387) 2019-08-22 16:30:02 +01:00
Ed Prosser
d1dcbd9793 Fixed code block links
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-08-22 15:28:20 +01:00
Ed Prosser
a1c4ea705c CORDA-3150 Docs command fix
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-08-22 11:03:18 +01:00
carolynequinn
b13f00e0ee Update UAT.md (#5382) 2019-08-21 11:13:48 +01:00
Shams Asari
57d0d8c10c
Fixed headings in UAT.md (#5378) 2019-08-20 17:45:56 +01:00
edward-prosser
33bd3b2c1d Backporting changes to quickstart (#5306)
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-08-19 22:41:51 +01:00
carolynequinn
abd3a2db52 Update UAT.md (#5321) 2019-08-19 10:59:09 +01:00
James Higgs
ee1aa9fea1 [CORDA-3082] Update app upgrade notes to document source incompatibility (#5344) 2019-08-16 10:53:31 +01:00
Dan Newton
a477d59c15 CORDA-3094 improvements to checkpoint dumper (#5324)
- Handle errors in Jackson and checkpoint deserialisation. A file
  notifying the user that the checkpoint dump failed is created when
  errors occur.
- Handle message deserialisation errors. A string placeholder is used
  if an error occurs.
- Add more information about subflows (include their `FlowLogic`)
- Increase clarity in checkpoint output field names

* CORDA-3904 Add `flowCallStackSummary`

Add `flowCallStackSummary` to the output which contains the same content
as `flowCallStack` minus each subflow's `FlowLogic`. The `FlowLogic`
contains a ton of info which is normally repeated in each subflow.
Adding the summary gives an overview of the steps the flow executed
and which step it is currently on.

The `suspendedOn` field is put underneath the summary and the original
call stack is moved below the suspended info.

This puts the most useful information towards the top of the json file.
2019-08-14 14:08:58 +01:00
Dimos Raptis
132244c437 [DOCS] - Clarify behaviour of hospital in unhandled errors (#5366) 2019-08-14 11:24:43 +01:00
Jonathan Locke
56c5a50a06
BACKPORT: Fix links to GitHub master branches
BACKPORT: Fix links to GitHub master branches
2019-08-12 13:29:56 +01:00
szymonsztuka
4c7604b5c3 ENT-3965 Improved welcome message for Standalone Shell - bye command to exit shell only, docs clarifications gracefulShutdown/shutdown needs 'run' as other commands (#5363) 2019-08-12 13:22:15 +01:00
LankyDan
a41213bc86 Add constants for the open source and samples repos branch names
* Add constants for the open source and samples repos branch names

Open source branch name - `openSourceBranchName`
Sample repos branch name - `openSourceSamplesBranchName`

* Add base path constants to the open source and samples repos

Fully replace base path to open source codebase - `openSourceBranch`
Fully replace base path to open source samples - `openSourceSamplesBranch`

These can be accessed in the docs using `os_branch` and `os_samples_branch`

Correct usages in the docs to use these constants.

* Correct links

Cherry picked from - commit 91667559
2019-08-07 14:23:33 +01:00
carolynequinn
39094f1918 Update index.md 2019-08-07 14:17:15 +02:00
Joel Dudley
68cfb1d2ea
Removes reference to future functionality. 2019-08-06 17:34:59 +01:00
Viktor Kolomeyko
b60ab70440 CORDA-2617: Add failover listeners to terminate node process (#5337)
* CORDA-2617: Add failover listeners to terminate node process

This is a backport of changes done in Corda Enterprise.

It will be triggered in case of:
a) Loss of connectivity to in-built Artemis for Bridge Control;
b) Loss of connectivity to in-built Artemis for P2P connectivity.

Note on merge to CE: Disregard these changes and take whatever CE already has.

* CORDA-2617: Update documentation on stability of Corda Node

* CORDA-2617: Documentation update after discussion with @mnesbit
2019-08-06 11:28:16 +01:00
Dan Newton
9166755954 Add constants for the open source and samples repos branch names (#5263)
* Add constants for the open source and samples repos branch names

Open source branch name - `openSourceBranchName`
Sample repos branch name - `openSourceSamplesBranchName`

* Add base path constants to the open source and samples repos

Fully replace base path to open source codebase - `openSourceBranch`
Fully replace base path to open source samples - `openSourceSamplesBranch`

These can be accessed in the docs using `os_branch` and `os_samples_branch`

Correct usages in the docs to use these constants.

* Correct links
2019-08-02 09:00:46 +01:00
josecoll
7f79a856af
CORDA-3121 - Fix incorrect rendering of Independent Foundation URL (in HTML) (#5336)
* Fix incorrect rendering of Independent Foundation URL (in HTML)
2019-08-01 16:05:19 +01:00
josecoll
99e802c5c5 CORDA-3071 - Checkpoint agent tool (#5295)
* Initial commit based on experimental kryo hook agent.

* WIP

* Added documentation.

* Additional improvements and documentation following more testing.

* Added field level instrumentation + basic type handlers for String, byteArray, charArray, primitive types.

* Working version (without array type handling)

* Missing build.gradle file.

* Handle display of Arrays and String.
Pruning output to avoid repetition (by loop depth, object count).

* Added configurable StackDepth (for display purposes) and filter out ProgressTracker stacks.

* Further array handling (Object arrays, 2D, 3D), improved display and general code cleanup.

* Various fixes and improvements following demo to RP.

* Clean-up

* Further clean-up

* Set checkpoint id before deserialization.

* Update documentation

* Final clean-up.

* Minor documentation fixes.

* Updates following PR review feedback.

* Add changelog entry.
2019-08-01 09:40:52 +01:00
Dan Newton
ffe708c1ad DOCS - Point network bootstrapper url to the artifactory download location
(cherry picked from commit 41634d1fda)
2019-07-31 12:08:11 +01:00
Roger Willis
36c756eeb6 Added accounts design doc. (#5193)
* Added accounts design doc.

* Fixed typos in accounts design docs
2019-07-30 16:17:04 +00:00
Manish Kumar
85ebac77bf Contract tutorial update and Contributors list update (#5338) 2019-07-30 14:51:34 +01:00
carolynequinn
cb0140a791 ENT-3928: Remove network map URL exposed in docs
Update UAT.md to remove network maps URL.

Removed all UAT joining steps
Added link to new UAT microsite where content will be updated from now on (http://uat.network.r3.com/)
2019-07-30 10:56:17 +01:00
Jonathan Locke
75caa435bd
Revert "BACKPORT - Update UAT.md docs to remove specific information" 2019-07-30 09:20:58 +01:00
carolynequinn
4e811f7ef0 Update UAT.md
- all UAT joining steps 
+ link to new UAT microsite where content will be updated from now on (http://uat.network.r3.com/)

(cherry picked from commit bfa547c2af)
2019-07-29 14:18:35 +01:00
Dan Newton
41634d1fda DOCS - Point network bootstrapper url to the artifactory download location (#5316) 2019-07-24 15:30:27 +01:00
Matthijs van den Bos
1fc1e7d6c8 Move changelog entry to 5.0 2019-07-17 13:24:04 +02:00
Matthijs van den Bos
100457afc0 Add MockNet support for custom Notary class 2019-07-17 13:24:04 +02:00
Dan Newton
0192fced3e DOCS - Remove mention of hot swapping of cordapp config files (#5260) (#5266)
(cherry picked from commit e84995abf9)
2019-07-16 11:44:23 +01:00
Dan Newton
645c445d28 DOCS - Fix broken url to reconnecting rpc code (#5250) (#5278)
(cherry picked from commit 2bfd2c8cb5)
2019-07-16 11:44:05 +01:00
Dimos Raptis
8962d930d4 [CORDA-2923] - Make the RPC client reconnect with gracefulReconnect param (#5244)
When set to true the RPC client will:

* automatically reconnect when the connection is broken
* simple RPC calls will block until connection is established
* Observables returned from RPC will automatically resubscribe on reconnect so the client continues to receive events. This doesn't guarantee that events will not be lost during the reconnect.
2019-07-16 11:29:21 +01:00
Ed Prosser
903cdba57e last update
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
4d0ec9a1a9 last changes maybe
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
9fa0b52b64 feedback changes
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
LankyDan
1378321e1f Format code snippets in quickstart-build.rst 2019-07-12 10:51:12 +02:00
Ed Prosser
66794e27a5 changes to commands
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
3c35d1da71 efficiency!
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
0a9ab5a763 spoke too soon
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
2f608258f6 last changes... maybe
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
e3e16c0f52 testing changes batch
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
a5ad24fc00 links updates
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
5f43445a0e revision of deploy
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Ed Prosser
dea2b0e975 first content push
Signed-off-by: Ed Prosser <edward.prosser@r3.com>
2019-07-12 10:51:12 +02:00
Dan Newton
9bcaecfbe3 Delete unused DuplicateContractClassException (#5284) 2019-07-10 17:01:38 +01:00
gwr3com
9ccd654ffa CORDA-3028: Add Node Diagnostics Info RPC Call - Update changelog (#5289) 2019-07-10 14:34:43 +01:00
szymonsztuka
c6262b6ff9 Backport of CORDA-2998 fix network builder (#5265) (#5270)
* CORDA-2998 fix network builder (#5265)

CORDA-2998 fix network builder

(cherry picked from commit f89008c070)

* Network-builder - update to https://hub.docker.com/r/corda/corda-zulu-4.1

* Network-builder - update docs to correct 4.1 docker image version.
2019-07-09 12:25:20 +01:00
Joseph Tharakan
8a6fc2964c DOCS - use signInitialTransaction instead of toSignedTransaction in tutorial docs (#5280) 2019-07-08 14:54:43 +01:00
gwr3com
933330bc4c CORDA-3028: Add Node Diagnostics Info RPC Call (#5271)
* CORDA-3028: Add Node Diagnostics Info RPC Call - Initial commit

* CORDA-3028: Add Node Diagnostics Info RPC Call - Changes after code review

* CORDA-3028: Add Node Diagnostics Info RPC Call - Additional code review update and documentation

* CORDA-3028: Add Node Diagnostics Info RPC Call - Additional changes to documentation

* CORDA-3028: Add Node Diagnostics Info RPC Call - Another change to documentation

* CORDA-3028: Add Node Diagnostics Info RPC Call - More changes to documentation

* CORDA-3028: Add Node Diagnostics Info RPC Call - Comment change
2019-07-08 14:43:50 +01:00
Dan Newton
6d3a6a3998 ENT-3710 Add TransientConnectionCardiologist to Flow Hospital (#5277) 2019-07-08 11:07:50 +01:00
James Higgs
075f68f179 [CORDA-2086] Allow transactions to be re-recorded using StatesToRecord.ALL_VISIBLE (#5184) 2019-07-04 14:00:42 +01:00
suweicong
479d61cfde Update upgrading-cordapps.rst (#5274) 2019-07-04 10:07:33 +01:00
Dan Newton
2bfd2c8cb5 Fix broken url to reconnecting rpc code (#5250) 2019-07-03 11:30:21 +01:00
szymonsztuka
f89008c070 CORDA-2998 fix network builder (#5265)
CORDA-2998 fix network builder
2019-07-02 11:32:48 +01:00
VCAMP
fee396efc3 Doc fix: added missing requirement for handcrafting nodes (#5191) 2019-07-01 10:31:18 +01:00
Dan Newton
e84995abf9 Remove mention of hot swapping of cordapp config files (#5260) 2019-06-27 18:27:36 +01:00
Shams Asari
2e02968c63
ENT-3496: dumpCheckpoints shell command (#5171)
Dumps all the node's checkpoints as JSON into a single zip file in the node's directory. The output contains:

* All the fields for the top-level flow
* The current sub-flow call stack, along with the current progress tracker step for each sub-flow
* The event that suspended the flow, which if it's a send or sendAndReceive will show the payload that was sent
* Low level information on the active sessions with other peers
2019-06-26 15:31:02 +01:00
LankyDan
267b4acf28 ENT-3496 Improve flow draining docs 2019-06-26 13:42:20 +01:00
Katelyn
5713865702 DOCS - Fix broken link 2019-06-21 22:30:36 +01:00
Shams Asari
99bc614b7c Merge remote-tracking branch 'origin/feature/CID-878-non_party_flow_sessions' into shams-merge-cid-878 2019-06-21 16:46:41 +01:00
Shams Asari
76eec9aa8b
CORDA-3033: Introducing Destination interface for initiating flows with (#5242)
Party and AnonymousParty have been retrofitted to implement this interface and are currently the only supported types. A new FlowLogic.initiateFlow(Destination) method overload to easily support the addition of new destination types in future versions.
2019-06-21 16:39:56 +01:00
LankyDan
e303450e02 ENT-3496 Add changelog entry and update upgrading cordapps docs 2019-06-21 12:10:50 +01:00
szymonsztuka
27707ad3cb CORDA-2511 - Upgrade notes for C4 need to include required minimum previous Corda version (#5039) (#5124)
* CORDA-2511 doc fix: upgrade notes for C4 need to include guidance to upgrade from C3.2 (minimum) to C4

(cherry picked from commit ab8d4a312a)
2019-06-21 09:34:52 +01:00
Tudor Malene
e8b55e8f2e CORDA-2934 - disable hibernate validator integration with hibernate (#5130) (#5144)
(cherry picked from commit 688c742706)
2019-06-21 09:33:37 +01:00
Jonathan Locke
4f20829009 CORDA-2999 - Corrected network builder JAR url in docs (#5215)
The link to the network builder executable JAR was incorrect in the file network-builder.rst
It was pointing to a version 4.0 of the network builder JAR which does not exist. The link was changed to point to the most recent version, which is 3.2.1847.
2019-06-21 09:29:07 +01:00
Katelyn Baker
97eaa7220c RELESE - fix release notes ToC 2019-06-17 14:02:45 +01:00
Katelyn Baker
23982a1b6c
RELEASE - 4.1 release notes (#5154)
release notes
2019-06-11 18:17:03 +01:00
fowlerrr
dfdcf2e00a CORDA-1912: Add documentation on the options for deploying nodes (#5183) 2019-06-10 10:24:06 +01:00
peterli-r3
896d1f3c0d Update tutorial cordapp (#5192)
So for this specific cordapp-example, after you run the nodes, you would not see net.corda.finance.flows.CashExitFlow and etc. I guess this demo code actually have two cordapps running on these nodes. So, for this tutorial, we should delete the last 5 lines of codes.
2019-06-07 14:30:10 +01:00
peterli-r3
0234d8eb67 Update tutorial-cordapp.rst 2019-06-03 16:08:18 +02:00
peterli-r3
d932c8b336 Update tutorial-cordapp.rst
Hey,
It is Peter, I am the dev-rel person at NY office. I found the current tutorial on running example cordapp-example on IntelliJ is a bit confusing. So I add a few lines to clarify it.
2019-06-03 16:08:18 +02:00
Mike Hearn
5cee8607f5 Wire format docs: review fixes from Rick. 2019-06-03 14:56:21 +02:00
Mike Hearn
74354580b6 Add some documentation on the wire format. 2019-06-03 14:56:21 +02:00
Dimitris Christodoulou
d6ea66d0ab Update set-up docs based on recent practical experience. 2019-06-03 11:01:54 +02:00
VCAMP
a4d7da598e Docs update: fixed vaultQuery command in Hello World tutorial (#5182) 2019-06-03 08:57:26 +00:00
szymonsztuka
d22fd56202 Docs - fix broken link to nssm third-party tool. (#5170) 2019-05-29 15:02:25 +00:00
Chris Rankin
aa75157273 CORDA-2961: Migrate the DJVM into its own repository. (#5166)
* Migrate the DJVM into its own repository.

* Update the documentation for DJVM.
2019-05-24 15:09:20 +01:00
fowlerrr
f273d894ef Extract jackson dependency from finance-workflows (#5163)
Extract jackson dependency from finance-workflows and move it to IRS Demo where it is actually needed
2019-05-23 18:22:56 +01:00
ChrissyAtWork
79616536d4 DEVREL-1297 Ledger - Doc Site Lessonly Conformance (#5128)
* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

Rewrite to bring Doc Site and Lessonly into conformance. Assumption is that Doc Site is more up to date.

* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

* DEVREL-1297 Ledger - Doc Site Lessonly Conformance

Home page describes sections that link from it to enable easier navigation.

* Removed comment
2019-05-21 14:59:11 +01:00
Tudor Malene
860ef5833a CORDA-2639: CorDapp dependencies documentation (#4798) 2019-05-21 10:45:21 +01:00
Tudor Malene
688c742706 CORDA-2934 disable hibernate validator integration with hibernate (#5130) 2019-05-20 11:45:03 +01:00
szymonsztuka
2ed877eb2f Database Tables doc fix: Change paragraphs heading, so they don't appear as top level in the side bar; fix a web page link. (#5123) 2019-05-14 14:30:08 +01:00
Dimos Raptis
a468bee0ed [CORDA-2473] - Remove AMQP system property (#5112) 2019-05-14 13:22:22 +01:00
szymonsztuka
ab8d4a312a CORDA-2511 Upgrade notes for C4 need to include required minimum previous Corda version (#5039)
* CORDA-2511 doc fix: upgrade notes for C4 need to include guidance to upgrade from C3.2 (minimum) to C4

* Addressing PR review comments.

* Addressing review comments.
2019-05-13 18:24:53 +01:00
James Brown
f3e06aa623 CORDA-2926 update urllib3 dependency (#5108) 2019-05-13 09:44:02 +01:00
Katelyn Baker
9840d9d5a0 RELEASE - 4.1 RC02 2019-05-09 18:55:26 +01:00
Stefan Iliev
ba28e05beb CORDA-2888 change default dataSource.url to match the docker container structure. (#5098)
* If there is no dataSourceProperties in the node.conf, the default value is modified to match the docker structure and documentation of having a persistence folder.

* chagnes according to pr review.
2019-05-09 18:53:05 +01:00
Stefan Iliev
9259089071 CORDA-2641 - change documentation. (#5094)
* Changed documentation to prevent future issues.

* Changed according to code review.
2019-05-09 18:53:05 +01:00
rui-r3
9e3a0a64ac CORDA-2491: Ability to specify Java package namespace from Cordform (#5075)
Add entry point with generic extra configuration options. Move configuration verification code to avoid circular dependencies.
2019-05-09 17:25:21 +01:00
Tudor Malene
f0c75448b4 ENT-3161 - Align docs with ENT (#5113) 2019-05-09 17:23:52 +01:00
carolynequinn
bfa547c2af Update UAT.md
- all UAT joining steps 
+ link to new UAT microsite where content will be updated from now on (http://uat.network.r3.com/)
2019-05-08 11:51:02 +02:00
ChrissyAtWork
97bf11d607 Applied JD changes 2019-05-08 11:49:23 +02:00
ChrissyAtWork
a2ed8cb374 DEVREL-1287 - Simple prose checking 2019-05-08 11:49:23 +02:00
ChrissyAtWork
33b50836d2 DEVREL-1287 - Minor Typos & Commands info in "Other transaction components" intro 2019-05-08 11:49:23 +02:00
ChrissyAtWork
7e2575ca2a DEVREL-1287 - Minor Typographic Changes 2019-05-08 11:49:23 +02:00
ChrissyAtWork
b3a6d4dd76 DEVREL-1287 - Minor Typographic Changes
Cordapp -> CorDapp
2019-05-08 11:49:23 +02:00
ChrissyAtWork
fc5de7c646 DEVREL-1287 - Minor Typographic Changes
CordApp -> CorDapp
2019-05-08 11:49:23 +02:00
grogsaxle
4d082556d9 updated jackson-core api documentation to 2.9 2019-05-08 11:48:09 +02:00
JamesHR3
b4e96778bf [CORDA-2517] Whitelist attachments signed by keys that already sign existing trusted attachments (#5068)
This allows a different signed version of the same CorDapp to be automatically trusted.

This reverts "[CORDA-2575] Allow users to whitelist attachments by public key config (#5035)"
2019-05-07 12:55:27 +01:00
Stefan Iliev
6a10b4cff6 CORDA-2888 change default dataSource.url to match the docker container structure. (#5098)
* If there is no dataSourceProperties in the node.conf, the default value is modified to match the docker structure and documentation of having a persistence folder.

* chagnes according to pr review.
2019-05-07 10:32:47 +01:00
Rick Parker
95b6cd1c6d CORDA-2817 - Changelog for bug fix to stop commands being combined. (#5021) 2019-05-03 14:37:22 +01:00
Dan Newton
5a0b2b6f48 CORDA-2528 - Update contract testing documentation (#4977) 2019-05-03 13:49:13 +01:00
Dan Newton
fe41d9b4bb DOCS - Add documentation on Corda Services / Service classes (#5079) (#5096)
(cherry picked from commit a9a0f422af)
2019-05-03 13:45:47 +01:00
Stefan Iliev
395dda3706 CORDA-2641 - change documentation. (#5094)
* Changed documentation to prevent future issues.

* Changed according to code review.
2019-05-03 13:26:09 +01:00
Dan Newton
a9a0f422af Add documentation on Corda Services / Service classes (#5079) 2019-05-02 09:42:32 +01:00
Dan Newton
2f7a2babb4 CORDA-2602 - Update getting setup guide java details (#5019)
Remove some information that is way to specific for installing the
oracle jdk.

Add mention of zulu openjdk to the docs.

Specify that the docs will go through how to install the oracle jdk
only but provide links to amazon corretto, openjdk and zulu.

Also say that we support intellij 2019 which has been released now.
2019-05-01 13:43:59 +01:00
Dan Newton
8eca590e36 CORDA-2710 - Add Java samples to upgrading to Corda 4 documentation (#4979) 2019-05-01 12:15:40 +01:00
Ben Wyeth
08c4f1a2fb CORDA-2781 - Replace manual versions with substitutions (#4927)
* been through the docs manually and picked out substitutions

* hopefully addressing the url inconsistencies
2019-05-01 12:02:25 +01:00
Stefan Iliev
1128156153 CORDA-2821 Fix issue with Quasar errors redirecting to useless page (#4982)
* Changed dead url to the new location.

* Modified documentation. Linked new place for intelliJ guide.

* Changed url to the new link.
2019-05-01 11:21:13 +01:00
Dan Newton
cdc29dd4ca CORDA-2477 - Improve Signature Constraints documentation
* CORDA-2477 Improve Signature Constraints documentation (#5041)

The Signature Constraint documentation in `api-contract-constraints`
was very limited and referred to the design doc for most information.
Information was extracted from the design doc and added to the main
documentation.

(cherry picked from commit cb85dd1e92)

* CORDA-2477 Add codesets so backported docs show properly
2019-05-01 11:15:50 +01:00
Dan Newton
cb85dd1e92 CORDA-2477 Improve Signature Constraints documentation (#5041)
The Signature Constraint documentation in `api-contract-constraints`
was very limited and referred to the design doc for most information.
Information was extracted from the design doc and added to the main
documentation.
2019-04-30 11:50:12 +01:00
Dan Newton
6662d205f8 CORDA-2280 Automatic propagation of whitelisted to Signature Constraints (#5053)
If a single whitelisted constraint is being used by input states and the version of the cordapp changes + is signed, then the constraint will transition to a signature constraint.
2019-04-29 17:37:57 +01:00
Andras Slemmer
7f8fb1e1d2 Documentation of flow framework internals (#4991)
PR comments, minor adjustments

Add note on Stack internals
2019-04-29 09:59:36 +01:00
Cais Manai
188fbd24c2 StatesAndContracts.kt is now TemplateContract.kt (#4972) 2019-04-26 19:53:30 +01:00
JamesHR3
7a7c471ebf [CORDA-2575] Allow users to whitelist attachments by public key config (#5035) 2019-04-25 16:55:43 +01:00
Stefan Iliev
b0a9656746 CORDA-2821 Fix issue with Quasar errors redirecting to useless page (#4982)
* Changed dead url to the new location.

* Modified documentation. Linked new place for intelliJ guide.

* Changed url to the new link.
2019-04-25 15:34:05 +00:00
ChrissyAtWork
870c930142 Update README.md - minor changes, add daemon (#5030)
Changes:
* Process described in stepwise manner
* Addition of daemon selection step
* Minor formatting and phrasing changes
2019-04-17 08:29:00 +00:00
Dan Newton
4e10f09016 DOCS - Fix tut-two-party-flow kotlin docs + make both versions easier to read (#5024) (#5032)
- `DOCSTART`s were not in sync
- Incorrect indentation
- Documentation not very clear

(cherry picked from commit 360660e4d7)
2019-04-16 17:23:19 +01:00
Cais Manai
696bbd92ef Typo - should be @BelongsToContract not @BelongToContract (#5029) 2019-04-16 12:16:05 +01:00
Cais Manai
2f625c7dc7 api/status endpoint no longer exists (#4968) 2019-04-16 11:19:09 +01:00
Dan Newton
360660e4d7 Fix tut-two-party-flow kotlin docs + make both versions easier to read (#5024)
- `DOCSTART`s were not in sync
- Incorrect indentation
- Documentation not very clear
2019-04-16 11:06:05 +01:00
Dan Newton
1c89565175 CORDA-2602 Update getting setup guide java details (#5019)
Remove some information that is way to specific for installing the
oracle jdk.

Add mention of zulu openjdk to the docs.

Specify that the docs will go through how to install the oracle jdk
only but provide links to amazon corretto, openjdk and zulu.

Also say that we support intellij 2019 which has been released now.
2019-04-15 11:30:47 +01:00
Tudor Malene
a6bdf615f4 ENT-2820 Document database tables (#5012) 2019-04-15 11:28:57 +01:00
Tudor Malene
21adcffd31 CORDA-2743 - utilities and test to show rpc operations that support disconnects (#5009) (#5015)
(cherry picked from commit 6771386b4b)
2019-04-15 10:25:55 +01:00
Tudor Malene
0ba7b65ee8 CORDA-2456 - Documentation around explicit upgrades (#4783) (#5018)
* Documentation around explicit upgrades

Small changes

Fix merge

* Address review comments

(cherry picked from commit 09ba5c2652)
2019-04-15 10:24:40 +01:00