Commit Graph

2151 Commits

Author SHA1 Message Date
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
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
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
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
Tudor Malene
09ba5c2652 CORDA-2456: Documentation around explicit upgrades (#4783)
* Documentation around explicit upgrades

Small changes

Fix merge

* Address review comments
2019-04-12 16:30:01 +01:00
Tudor Malene
6771386b4b CORDA-2743 - utilities and test to show rpc operations that support disconnects (#5009) 2019-04-12 14:03:38 +01:00
Ben Wyeth
f9916e673c Document warning cleanup + new version of docs builder 2019-04-11 13:43:47 +00:00
Dan Newton
923d593caf CORDA-2710 Add Java samples to upgrading to Corda 4 documentation (#4979) 2019-04-08 12:18:39 +01:00
Dan Newton
40e0e6d5f7 CORDA-2528 Update contract testing documentation (#4977) 2019-04-08 12:16:19 +01:00
willhr3
5314ccf33f Willh docupdate (#4985)
* Update tutorial-cordapp doc with runnodes instructions for mac

* Tutorial doc update - Moving comment into warning

* Fixing doc link
2019-04-04 14:31:38 +01:00
Katelyn Baker
71114cd412 Merge branch 'master' into release/4 2019-04-03 16:01:54 +01:00
LankyDan
9d45049727 Tidy up codesets in contract constraints documentation
Code for these docs had the java and kotlin samples but were not
combined into a single codeset with tabs for each language.
2019-04-03 10:55:59 +01:00
Cais Manai
f4d7bc9a18 Cais r3 doc fixes (#4974)
* StatesAndContract.kt to TemplateContract.kt

* Updating to reflect new template structure

* Update tut-two-party-contract.rst
2019-04-02 11:20:12 +01:00
JamesHR3
d9e11b21ae Remove targetPlatformVersion check from FinalityFlow and update docs (#4955)
In Corda 4, FinalityFlow was updated to become an initiated flow, in order to ensure a node does not have to accept any signed transaction it receives without being able to check it first. The old behaviour of FinalityFlow was gated behind a targetPlatformVersion check, to prevent apps targeting V4 from using the old behaviour.

This is problematic for a few reasons. For an app wishing to be backwards compatible with a version running on V3, this forces the app to set targetPlatformVersion = 3, even if the app is thoroughly tested against V4. This goes against the purpose of the targetPlatformVersion. Another consequence is that an app remains pinned to targetPlatformVersion = 3 until it is sure that there are no other apps running at a lower version in the network, which would prevent newer versions of the app from taking advantage of features gated behind targetPlatformVersion checks. (Note that the restriction only prevents a new version of the app from initiating FinalityFlow with the old version - the old version is able to initiate a FinalityFlow and the new version will handle it, assuming the app has been written correctly.)

This fix removes the targetPlatformVersion check from FinalityFlow, and also provides a few documentation updates to clarify what level of testing would be expected to set a targetPlatformVersion.
2019-03-28 14:21:59 +00:00
James Carlyle
ea89f3aac4
Merge pull request #4880 from corda/carolynequinn-patch-1
Update UAT.md
2019-03-27 18:37:21 +01:00
josecoll
f7e475b8a1 Minor updates following RGB feedback. 2019-03-27 17:05:07 +01:00
josecoll
f43906b973 Document FinalityFlow error handling logic and reference flow hospital doc. 2019-03-27 17:05:07 +01:00
Ben Wyeth
a81fbadec5 CORDA-2808 docs build page (#4947)
* updated the docs build docs to be a bit more up to date with the docker image being used

* fixing the indented bullets
2019-03-27 15:40:36 +00:00
josecoll
142d444835 re-instate hmtlmode only for Design Docs. 2019-03-27 15:26:17 +01:00
josecoll
9ec82b4bca Minor tweaks and improvements in docs TOC to aid navigation and access. 2019-03-27 15:26:17 +01:00
ben
40c1741aba removed another warning 2019-03-27 15:25:40 +01:00
ben
4b5ec7aea6 more warnings gone 2019-03-27 15:25:40 +01:00
ben
8d44eabf4a got rid of a lot of the long errors in the markdown docs 2019-03-27 15:25:40 +01:00
ben
ed94387eff low hanging fruit 2019-03-27 15:25:40 +01:00
josecoll
b4ff2afa47
Fix incorrect version identifiers in URL's be adopting |corda_version| consistently. (#4934) 2019-03-25 18:23:17 +00:00
josecoll
f89c565312
Clarify need for shipping contract schemas in flow JARs. (#4930) 2019-03-25 14:56:18 +00:00
Ben Wyeth
a1f7c4f2f4 corda-2781 replace manual versions with substitutions (#4927)
* been through the docs manually and picked out substitutions

* hopefully addressing the url inconsistencies
2019-03-25 12:20:26 +00:00
Katelyn Baker
738f92de0a
CORDA-2779 - Fix Netmap REST endpoint docs (#4918)
* CORDA-2779 - Fix Netmap REST endpoint docs

* Review comments
2019-03-22 15:57:55 +00:00
ben
803ea3e652 changing substitution mechanism so that it can work with code blocks 2019-03-22 15:14:54 +01:00
Joel Dudley
6e44193012
Fixes link. 2019-03-22 14:12:04 +00:00
Joel Dudley
78aee24f69
Fixes link. 2019-03-22 14:11:35 +00:00
Jonathan Locke
dc179d4ea1 ENT-3057: Log hibernate warns and errors in different log (#4889)
* ENT-3057: Log hibernate warns and errors in different log

If a hibernate error occurs (deadlock, for example) that would cause a flow to be sent to the hospital, hibernate logs the warnings and errors before we do. This results in duplication in the logs, and pollutes the log. To solve this, we create a new log appender named diagnostic-{node-name}.log and log any org.hibernate messages of warn and above to that file. This way, messages are not lost, which means that the information can be retrieved if need be.

* Corrected indentation of comment (changed tab to space)

* Updated node-administration document to mention diagnostic logging change

* Fixed integration test. It was breaking because it was fetching the first log file in the folder, assuming there would be only one. This assumption is now invalid because the diagnostic log file that was introduced. Two tests were found that used similar logic to find a log file to examine, hence both were corrected to look for log files beginning with "node"

* Updated documentation as per review comments.
2019-03-18 17:08:13 +00:00
Chris Rankin
abbf2562c2 CORDA-2750: Modularise the DJVM build. (#4897)
* CORDA-2750: Modularise the DJVM build.

* CORDA-2750: Update documentation and scripts for modular DJVM.
2019-03-17 06:06:51 +00:00
szymonsztuka
077f7385c7 CORDA-2393 Improve documentation for PostgreSQL to avoid missing hibernate_sequence (#4891) 2019-03-14 13:39:55 +00:00
josecoll
94d827ebe4
CORDA-2741 RPC client connection management section not fully working (#4870)
* RPC Client using HA addresses.

* Fix incorrect document code snippets by referencing working, compilable code.

* Minor updates following PR review.
2019-03-13 16:31:28 +00:00
Ben Wyeth
0551ba992b CORDA-2728: Add Quasar lib update step to applicataion upgrade notes (#4877)
* updated README so that it has a reference to the rst docs we care about

* adding some upgrade nodes for cordapps that have a lib/quasar.jar
2019-03-13 16:23:31 +00:00
Dimos Raptis
56beaf1be5 Docs style fix (#4871) 2019-03-12 17:25:47 +00:00
carolynequinn
93869f0dd7
Update UAT.md
Added in wording to reflect the existing UAT joiner guide, in shortened form, onto the docs site. This will be made better, but is an interim solution. Since we don't have another website suitable for this, our team has agreed with Marketing that this is the place this should live (given it is separate from the Foundation). Will try to edit the toctree so this 'pops out' in the left-hand menu.
2019-03-12 16:03:12 +00:00
Ben Wyeth
76b07967e2 CORDA-2715 - Update test runner instructions for CorDapp tutorial (#4863)
* made consistent with template review

* fixing nested bullet layouts

* updating based on (awesome) comments

* next iteration :-)

* more fixes
2019-03-12 10:26:17 +00:00
Ben Wyeth
b98ed6db23 CORDA-2729: Update integration testing instructions to explicitly mention node-driver dependency (#4873)
* adding a note so that it's clear what you have to include in gradle in order to use the driver classes

* responding to comments
2019-03-12 10:25:39 +00:00
Chris Rankin
dc83afb4de CORDA-2672: Tidy up CorDapp deployments in samples. (#4815)
* CORDA-2672: Tidy up CorDapp deployments in samples.

* CORDA-2672: Refactor Attachment Demo.

* Remove Bank of Corda from Trader Demo.

* Configure SLF4J simple loggers, fix comments and documentation.
2019-03-11 16:48:35 +00:00
Chris Rankin
ec5cbc2971 CORDA-2721: Update djvm check documentation, and fix CLI tool installation. (#4865)
* CORDA-2721: Fix DJVM CLI installation and runtime scripts.

* Update DJVM documentation to explain about `RuleViolationError`.

* CORDA-2721: Add comment about constants.properties being parsed by DJVM CLI scripts.
2019-03-09 18:27:45 +00:00
Chris Rankin
25851c78a3 CORDA-2703: Fix use of commas in node.conf examples. (#4852) 2019-03-08 16:42:03 +00:00
Chris Rankin
ea263b3e54 CORDA-2569: Add "flow kill <ID>" command to Corda's shell. (#4861)
* CORDA-2569: Add "flow kill <ID>" command to Corda's shell.

* Add testing and documentation for RPC killFlow operation.
2019-03-08 16:39:22 +00:00
JamesHR3
b3b184c93e [CORDA-2701] Ensure crlCheckSoftFail config option is respected (#4854)
* Plumb through the crlCheckSoftFail configuration option to bridge manager

* Add crlCheckSoftFail test to bridge manager and fix equivalent proton wrapper test

* Update documentation and set the node configuration default to true

* Revert default change and clarify consequences of setting option to false

* Remove NodeConfiguration default to leave only AMQPConfiguration default
2019-03-08 16:23:07 +00:00
Mike Hearn
785755067a Docs: use version numbers read from the build system, not duplicated. 2019-03-07 16:44:50 +01:00
josecoll
f6ba9a0819
CORDA-2684 Added new guide on CorDapp Constraints Migration procedures. (#4837)
* Added new guide on CorDapp Constraints Migration procedures.

* Apply formatting and upper/lowercase changes.

* Updated following PR review feedback from RGB and MH.

* Minor clarification and cleanup.

* Clarify step to ensure there is only one version ("signed") of the same Contracts CorDapp in the nodes /cordapp folder

* Incorporating feedback from SS.

* Replaced "propagate" with "transition".
Adjust terminology to be consistent.

* Removed confusing statement.
2019-03-07 09:32:16 +00:00
Dimos Raptis
3bb996d22f DOCS - clarify the upgrade policy for finality flow (#4853) 2019-03-06 09:55:59 +00:00
szymonsztuka
9da30b431f CORDA-2554 - Bootstrapper - option to include contracts to whitelist from signed JARs (#4712)
* NetworkBoostrapper can optionally whitelist contracts from signed jars based on include_whitelist.txt file.

* refactoring, docs

* logs

* add ne parameters to the generateWhitelist method at the end

* Addressing review comments.

* CORDA-2577 disable non-downgrade rule - test fix and docs
2019-03-04 11:01:08 +00:00
Roger Willis
5a4db990e7 Update tutorial-building-transactions.rst
Addressed @tudor-malene's comment
2019-03-02 17:45:34 +01:00
RogerWillis
dce411cfdf Removed part about exchanging transaction builder between parties. You can't do this as TransactionBuilder is not serializable. 2019-03-02 17:45:34 +01:00
Richard G Brown
987cb23c2a Clarify that bootstrapper only works in devMode 2019-03-02 17:39:32 +01:00
josecoll
e7534b3a7d
Fix broken URL. (#4835) 2019-03-01 16:50:41 +00:00
Dan Newton
cd321c9da2 Correct extending flows java docs and add note on overriding responders (#4830)
Add `@InitiatedBy` to the java docs on the responder flow, this is
already shown in the kotlin version.

Add a note on overriding responders, instructing developers to still
include the `@InitiatedBy` annotation on the new responder even though
the configuration setup can make developers think that defining the
override will guarantee the initiator and responder will join up
correctly.
2019-02-28 14:33:13 +00:00
Mike Hearn
b434d49111 Docs: fix backup recommendations link 2019-02-28 11:10:40 +01:00
Chris Rankin
b9e4804388 ENT-3128: Update documentation for Node Explorer. (#4817) 2019-02-27 14:32:39 +00:00
josecoll
c11f42fc05
CORDA-2655 - Document CorDapp upgradeability guarantees in Corda 4. (#4793)
* Document CorDapp upgradeability guarantees.

* Incorporating feedback from RGB.

* Incorporating feedback from MH.

* Minor updates following re-review by RGB

* Updates following review by MH.

* Include new document in index.

* Incorporating review feedback from MH.
2019-02-26 17:30:10 +00:00
Mike Hearn
0f87d777d9 Docs: add node-upgrade-notes 2019-02-26 16:48:58 +01:00
Mike Hearn
5548d184b6 Dummy commit to force rebuild of the docs 2019-02-26 16:17:17 +01:00
Chris Rankin
111acc5d6e CORDA-2671: Remove broken ExplorerSimulator from Node Explorer. (#4811)
* CORDA-2671: Remove broken ExplorerSimulator from Node Explorer.

* CORDA-2671: Document that Node Explorer is included with DemoBench.
2019-02-25 18:11:06 +00:00
Mike Hearn
365cde589a Docs: sync docs between master/c4 branches. 2019-02-25 17:22:59 +01:00
Mike Hearn
7b93cc8477 Docs: sync static versions list in master with release/4 branch 2019-02-25 16:54:30 +01:00
Shams Asari
efe8a25138 CORDA-2610 - Internal APIs made much clearer in API doc page (#4803)
(cherry picked from commit 08ce12f068)
2019-02-22 16:08:47 +00:00
Tommy Lillehagen
c2d6f87831 NOTICK - Docker: point to release images instead of snapshot (#4802) 2019-02-22 12:11:43 +00:00
josecoll
3a89bc774e
CORDA-2656 Docs: building a CorDapp for both OS and Enterprise (#4797)
* CORDA-2656 Explanation and steps for building a CorDapp for both OS and Enterprise.

* Added details and links to Jar Signing and CorDapp dependencies management.
2019-02-22 10:14:59 +00:00
James Brown
b8ff7aa073 CORDA-2604 update certificate structure diagram 2019-02-22 11:13:17 +01:00
Shams Asari
08ce12f068 CORDA-2610: Internal APIs made much clearer in API doc page 2019-02-22 11:12:17 +01:00
Tommy Lillehagen
c64301aa71
CORDA-2664 - Update Docker docs (#4801)
* CORDA-2664 - Update Docker docs (#4800)

* CORDA-2664 - Use v4.0 on release branch
2019-02-21 18:28:35 +00:00
Tommy Lillehagen
26c626f989
CORDA-2664 - Update Docker docs (#4800) 2019-02-21 18:22:49 +00:00
Tommy Lillehagen
f9e07c0158 CORDA-2654 - Repair the DJVM CLI tool. (#4796) (#4799)
* Replace SandboxedRunnable with Function interface.
Remove DJVM from "Key Concepts" release notes.
Update installation of shell tool.
Fix broken sandbox package names.
Make sure we only resolve each class once when loading.
Also remove some unused default parameter values.
Don't discard "bootstrap" sandbox.* classes because SourceClassLoader may need them.

* Restore DJVM to the "Key Concepts" docs.

* Remove all mention of "whitelisting" from the DJVM CLI.
2019-02-21 17:44:46 +00:00
Chris Rankin
800697a907 CORDA-2654: Repair the DJVM CLI tool. (#4796)
* Replace SandboxedRunnable with Function interface.
Remove DJVM from "Key Concepts" release notes.
Update installation of shell tool.
Fix broken sandbox package names.
Make sure we only resolve each class once when loading.
Also remove some unused default parameter values.
Don't discard "bootstrap" sandbox.* classes because SourceClassLoader may need them.

* Restore DJVM to the "Key Concepts" docs.

* Remove all mention of "whitelisting" from the DJVM CLI.
2019-02-21 15:27:08 +00:00
Mike Hearn
c5c4df3037 Docs: address review comments 2019-02-21 12:05:07 +01:00
Mike Hearn
01f0c4b3d2 Docs: minor change to the release notes.
Babies don't typically get delayed by a few months due to backwards compatibility fixes so the opening no longer made sense :)
2019-02-21 12:05:07 +01:00
Mike Hearn
cac9b1cfc7 Docs: note that Corda 3.3 needs a bugfix to be usable with Corda 4 2019-02-21 12:05:07 +01:00
Mike Hearn
4e98ea3bbf Docs: repair a lot of broken docs pages. 2019-02-21 12:05:07 +01:00
Mike Hearn
4ddaad5cef Docs: truncate the changelog to remove obsolete releases. 2019-02-21 12:05:07 +01:00
Mike Hearn
4dee36adc7 Docs: introduce a page about upgrading the node. 2019-02-21 12:05:07 +01:00
Mike Hearn
f932fa591d Docs: introduce a java_version substitution 2019-02-21 12:05:07 +01:00
Mike Hearn
4afa28bc77 Docs: fix changelog for C4 2019-02-21 12:05:07 +01:00
Anthony Keenan
9a1ac70959 CORDA-2615 - Remove incorrect documentation (#4791)
* Remove incorrect documentation

* Tidying up

* Another go at clarifying what will work

* Added another line for clarity

* More clarification

* Some more clarification

* Minor change
2019-02-20 18:21:56 +00:00
Richard Gendal Brown
c4c0769763 changed corda network url 2019-02-20 18:50:12 +01:00
Richard G Brown
7979c2dfef really minor tweaks to release notes 2019-02-20 18:50:12 +01:00
Richard G Brown
0da07c4371 really minor tweaks to release notes 2019-02-20 18:50:12 +01:00
carolynequinn
d86ef26e68 Update index.rst
Updating the casing from uat.md to UAT.md, as it wasn't linking with the lower case (thanks to @farm !)
2019-02-20 18:49:41 +01:00
Katelyn Baker
503a2fff77 RELEASE - Version 4 final changes 2019-02-20 15:16:39 +00:00
JamesHR3
36665e114b Add a note to the changelog indicating issuableCurrencies is now part of the workflows config (#4787) 2019-02-19 10:52:09 +00:00
Cais Manai
2eb6169a11 Updating wording to make things slightly clearer and indicate when th… (#4785)
* Updating wording to make things slightly clearer and indicate when the Spring Boot server is ready.

* fixing typo
2019-02-19 10:32:41 +00:00
Mike Hearn
1ed5fce6a6 Backwards compat: Put the confidential-identities module back in the node classpath by default. Separating it out into a standalone "app" needs more thought and design work, if we do it at all. 2019-02-18 14:02:36 +01:00
Dominic Fox
6673e499a1 CORDA-2625 remove reference to Corda 4.1 2019-02-18 11:56:05 +01:00
Joel Dudley
9dadf0db96
Update doc to reflect removed RPC client. (#4777) 2019-02-17 17:33:06 +00:00
Shams Asari
e0121f52ac Syncing config file doc page with ENT (#4772) 2019-02-17 13:30:19 +00:00
Shams Asari
a0705c2940 Deleted corda-repo-layout.rst as it's outdated and pointless to have (#4768) 2019-02-17 09:48:18 +00:00
JamesHR3
9353e4dd93 [CORDA-2561] Use the attachments classloader to deserialise contract states in migrations (#4754)
* Use the attachments classloader to deserialize contract states in migrations

* Added some comments to explain serialisation behaviour and how tests work.

* Add debug log to indicate when attachment classloading has failed.

* Use a servicesForResolution to load states for compatibility with notary changes and contract upgrades

* Add test case to cover notary change transactions

* Address review comments

* Change logging message in MigrationServicesForResolution

* Read the network-parameters file if there is nothing in the database

* Update documentation and provide a warning if there are many states.
2019-02-17 08:24:02 +00:00
szymonsztuka
d43d0c9640 Minor fix of node database doc page formatting (#4762) 2019-02-15 18:28:57 +00:00
bpaunescu
37f9eb31f7 Fixed typo in bootstrapper doc; specify text for anchor (#4764)
* Fixed typo in bootstrapper doc; specify text for anchor

* used a better name
2019-02-15 16:45:55 +00:00
josecoll
e0c23c6996 Add docs. 2019-02-15 10:55:13 +01:00
Anthony Keenan
aad1ae5945 [CORDA-2560] Add upgrade notes for custom configuration and improve cordapp config… (#4730)
* Add upgrade notes for custom configuration and improve cordapp configuration documentation.

* Address review comments

* Couple of minor nitpicks
2019-02-14 14:57:34 +00:00
Dominic Fox
ce8fa99e59 Update design doc to reflect new rules 2019-02-14 09:59:22 +01:00
carolynequinn
1c80fde518 Update index.rst
Adding a UAT page for the left-hand pane menu, under Corda Network title banner. (Content has already been created.)
2019-02-14 09:55:54 +01:00
Thomas Schroeter
34c7d3e8a7 Fix reference in "running a notary" doc 2019-02-14 09:54:40 +01:00
Mike Hearn
4ae5c1ee15
Merge pull request #4752 from corda/andrius/typo-fix-backport
DOCS - Changelog typo fix
2019-02-14 09:53:48 +01:00
Mike Hearn
6d32042e96
Merge pull request #4744 from corda/finalUpdatesToAPIStateDocs
Adding final grammatical / content changes suggested by RBG.
2019-02-14 09:53:22 +01:00
Mike Hearn
d1206b3af5
Merge pull request #4607 from corda/feature/CORDA-2465/document_whitelist_migration
CORDA-2465 Document the whitelist to signature constraint migration p…
2019-02-13 22:41:36 +01:00
Matthew Nesbit
0137148d18 Add a bit more detail on how to use RPC with TLS. (#4751) 2019-02-13 17:54:30 +00:00
Tudor Malene
34184ca1ea CORDA-2465 Address code review comments. 2019-02-13 15:51:57 +00:00
Tudor Malene
e4ae1a2aaa CORDA-2465 Address code review comments. 2019-02-13 15:27:02 +00:00
tudor.malene@gmail.com
0d1765ad0e Merge branch 'master' into feature/CORDA-2465/document_whitelist_migration
# Conflicts:
#	docs/source/api-contract-constraints.rst
2019-02-13 14:59:04 +00:00
Andrius Dagys
b0eb85b4cf DOCS - Changelog typo fix (#4649) 2019-02-13 14:00:02 +00:00
szymonsztuka
10e7c07c11
CORDA-2577 Disable or delete the no-downgrade rule (#4741)
With (Contract JARs) rolling upgrades the downgrade rule cannot be effectively check as the platform can't tell the difference between a transaction that's downgrading because of an attack, vs a transaction that's downgrading because Alice has upgraded but Bob hasn't yet. During a rolling upgrade we would expect state versions to fluctuate up and down as data gets read/written by a mix of nodes. With the feature as implemented Alice will upgrade and start trading with Bob. Bob will be able to read and process the states Alice sent him, but the moment he tries to consume such a state he will fail. This will result in cascading flow deaths and a hung business network the moment an upgrade starts.
2019-02-13 11:36:43 +00:00
Joel Dudley
873e9a5442
Updates docs to match new cordapp-example structure. (#4748) 2019-02-13 07:37:27 +00:00
Mike Hearn
db41f660e0
Merge pull request #4737 from corda/mike-docs-4.0-tweaks
Docs: fix various issues for C4.
2019-02-12 16:47:15 +01:00
rogersanick
7723887d5e Adding final grammatical / content changes suggested by RBG. 2019-02-12 10:35:11 -05:00
Anthony Keenan
8cec8182a4
Revert "DOCS - correct command docs for clear network map cache (#4677)" (#4732)
This reverts commit 0a50d76ab1.
2019-02-12 15:24:34 +00:00
JamesHR3
4e2a295eb6
[CORDA-2487] Provide a migration for vault states when moving from V3 to V4.1 (#4699)
* Create a new custom migration for populating the state_party table and the relevancy_status column within the vault_states table when migrating from V3 to V4.

* Add a corresponding unit test suite.

* Small refactorings to expose data required by the migration: the isRelevant function in the NodeVaultService, and the node's legal name from the configuration.
2019-02-12 15:22:15 +00:00
Mike Hearn
a0bcfe3fd4 Docs: address review comments from Richard. 2019-02-12 15:21:44 +01:00
Mike Hearn
46188598c4
Merge pull request #4556 from corda/updatesToAPISTATESdocs
Updates to API-State docs (StatePointers)
2019-02-12 12:29:33 +01:00
Mike Hearn
2e7b2f64ff
Merge pull request #4710 from corda/carolynequinn-UAT-additions
Adding new page on UAT environment
2019-02-12 12:27:27 +01:00
Dimos Raptis
59719a8a61
[CORDA-2420] - Make boundary of public API explicit in docs (#4735) 2019-02-12 10:04:16 +00:00
Mike Hearn
ca49c5e94d Docs: fix various issues for C4.
- Delete information about hash->signature constraint migration. That
  won't work for C4.0
- Rewrite parts of the api-contract-constraints.rst file to fix grammar
  problems and reduce the weight of the page. Some detail isn't really
  necessary at this point in the docs.
- Mention more things in the upgrade notes.
2019-02-11 20:02:06 +01:00
Mike Hearn
2074718e7d Add a section to the coding guidelines about updating the docsite. 2019-02-11 16:15:05 +01:00
carolynequinn
18a1d93e6d
Update UAT.md 2019-02-11 10:56:02 +00:00
Dimos Raptis
49fb03bf6b
Fix documentation issues (#4721) 2019-02-06 12:49:47 +00:00
Cais Manai
0e770bbb85
Merge pull request #4705 from corda/cais-docs-cordapp-tutorial
Updating the docs for tutorial cordapp to reflect Spring Boot changes
2019-02-06 11:13:24 +00:00
Dominic Fox
6cdd9f96b8 CORDA-2423 document draining requirements in flow state machines (#4707)
* CORDA-2423 document draining requirements in flow state machines

* Expand and move to warning block

* Add warning to hello-world-flow.rst
2019-02-05 14:19:08 +00:00
szymonsztuka
bb0ceda8d0 Addressing PR comments - added links to jarSigner and corda-gradle-plugins signing and explain which one to use. 2019-02-05 11:49:30 +00:00
carolynequinn
bf2881ca29
Adding new page on UAT environment
We need to have an external page which talks about UAT, as agreed with marketing this should be on docs.corda.net rather than elsewhere. 

The idea is that this cannot be corda.network since UAT is part of R3, not the Foundation.
2019-02-04 09:46:29 +00:00
Shams Asari
c39c61ecab
CORDA-2467: Moved non-contract things out of finance-contracts and into finance-workflows (#4700)
This includes all of the cash selection logic, JSON support using jackson and a bunch of utilities which are not relevant to contract verification. The exception to this are Interpolator which has been moved to the IRS demo, and PhysicalLocationStructures.kt which is now in explorer.
2019-02-01 17:31:12 +00:00
CaisR3
5c38cb3aaf minor fixes including the splitting of finance jar into contracts and workflows 2019-02-01 16:14:16 +00:00
CaisR3
c7f4f6af7b Reverting change to one of the ports 2019-02-01 15:57:31 +00:00
CaisR3
0ff9235521 Removing all references to web/example as Spring serves up the page from the home page 2019-02-01 15:51:44 +00:00
CaisR3
93fcf1be5a Updating tutorial to reflect spring boot replacing legacy bundled web-server 2019-02-01 15:15:51 +00:00
Austin Moothart
0a50d76ab1 DOCS - correct command docs for clear network map cache (#4677) 2019-01-31 17:12:32 +00:00
Katelyn Baker
12693ab175 RELEASE - Reflect newer kotlin version 2019-01-31 14:11:09 +00:00
Stefano Franz
e255ef38cf address review comments re: documentation 2019-01-31 08:12:34 +00:00
Stefano Franz
544d09ea18 update docs to reflect the removal of the bundled finance app 2019-01-31 08:12:34 +00:00
Stefano Franz
41c4016a83 remove bundled finance app 2019-01-31 08:12:34 +00:00
Andrius Dagys
9c8928ee41 ENT-2822: Update notary configuration docs 2019-01-29 19:30:55 +01:00
Tudor Malene
c3f0dfd8a7 Address code review comments. 2019-01-29 16:48:01 +00:00
Joel Dudley
8f3e527d98
Table formatting. 2019-01-29 13:26:28 +00:00
Joel Dudley
fc6c1e81e3
Typo 2019-01-29 13:25:09 +00:00
James Brown
6b0b8b394c CORDA-2367 update threat model diagram 2019-01-28 21:33:04 +01:00
JamesHR3
6433401b76
[CORDA-2516] Fix missing ending markers in the node database table (#4657) 2019-01-28 14:21:08 +00:00
Tommy Lillehagen
b79cb55ce5
CORDA-2419 - JavaFX requirement for Node Explorer (#4659) 2019-01-28 14:11:59 +00:00
Shams Asari
fc7428a40d
CORDA-2503: Added installCordaService to UnstartedMockNode to allow tests with custom test-only services (#4655) 2019-01-28 13:49:01 +00:00
Oliver Knowles
631f04e348
Improve documentation surrounding network parameter updates/flag day (#4652)
Improve documentation surrounding network parameter updates and flag days
2019-01-28 13:32:50 +00:00
JamesHR3
f04a2e72e0
[CORDA-2516] Add missing database tables to documentation (#4651)
* Add missing tables to the database documentation
2019-01-28 11:22:53 +00:00
Tommy Lillehagen
f76dc96d5e
Fix link to errors.corda.net in release notes (#4650) 2019-01-28 08:20:38 +00:00
Dimos Raptis
16d53505d7
[CORDA-2496] - Adjust CorDappResolver to handle same CorDapp registered multiple times (#4631) 2019-01-24 17:06:05 +00:00
szymonsztuka
1b89ece09b CORDA-2504 improve error message of missing contract attachments (#4628)
* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName - additional API overloaded method.

* CORDA-2504 Improved MissingContractAttachments error to ensure it contains contractClassName - unnecessary change.

* Docs

* fix docs

* fix docs 2

* fix docs 3
2019-01-24 15:48:07 +00:00
James Brown
8722e9f0cf
ENT-2945 Update postgresql dependency (#4550)
Update postgresql to 42.2.5
2019-01-24 14:58:30 +00:00
Katarzyna Streich
35acbc8107
CORDA-2361: Split samples into contracts and workflows (#4575) 2019-01-23 13:26:33 +00:00
Shams Asari
c4b5ac2e01
Fixed example use of jarDirs config field (#4610) 2019-01-21 15:28:39 +00:00
Tudor Malene
0ce7a602fa CORDA-2465 Document the whitelist to signature constraint migration process. 2019-01-18 15:57:33 +00:00
JamesHR3
6b149f8aad CORDA-2432 - Update documentation for filtering by state relevancy in vault queries (#4577)
* Update changelog with changes to vault queries

* Move choice of relevancy state to QueryCriteria

* Ensure relevancy default is correct for all query types

* Remove superfluous imports

* Update documentation for queries using state relevancy

* Fix merge damage

* Revert change to use RELEVANT as the default and update docs

* Revert missed instance of relevancy change

* Rewrite of upgrade notes for vault state query updates

* Address review comments
2019-01-16 19:53:49 +00:00
Andrius Dagys
017186d1d3 ENT-2822: Add a note about experimental notary upgradability 2019-01-16 14:37:27 +00:00
Tudor Malene
4dba0c5865
Document connection pool configuration. (#4592) 2019-01-16 13:31:24 +00:00
Mike Hearn
dd2f1f9798 Mention Docker images in the release notes. 2019-01-16 13:33:25 +01:00
josecoll
3675fb2783
Fix incorrect spelling of "licence" in sample config snippet. (#4591) 2019-01-16 11:19:37 +00:00
Wawrzyniec 'Wawrzek' Niewodniczanski
e003eedd38
Merge branch 'master' into wn-redo-node-conf-docs 2019-01-15 10:05:00 +00:00
Wawrzyniec Niewodniczański
df5a8005a0 Merge branch 'wn-redo-node-conf-docs' of github.com:corda/corda into wn-redo-node-conf-docs 2019-01-14 16:13:17 +00:00
Wawrzyniec Niewodniczański
27d29c731f More internal links 2019-01-14 16:12:51 +00:00
Shams Asari
24a7821dce
CORDA-2434: CordaRPCClient now only has c'tors rather a mix of c'tors and factory methods (#4569) 2019-01-14 16:07:56 +00:00
Joel Dudley
5a72525d7d
Moves Contrib and Network sections up in index. Makes requesting a contribution more prominent. (#4573)
* Moves Contrib and Network sections up in index. Makes requesting a contribution more prominent.

* Review feedback.
2019-01-14 15:58:00 +00:00
Wawrzyniec 'Wawrzek' Niewodniczanski
2f18ce9440
Merge branch 'master' into wn-redo-node-conf-docs 2019-01-14 15:31:32 +00:00
Wawrzyniec Niewodniczański
75ebc2b26e Address few more comments 2019-01-14 15:28:36 +00:00
Wawrzyniec Niewodniczański
1b41c517fc Apply further changes suggested in review 2019-01-14 15:19:09 +00:00
josecoll
b505f770c1
Merge corda private design documents (#4572)
* CORDA-2119 Design doc for contract versioning

* CORDA-2119 formatting

* CORDA-2119 formatting

* CORDA-2119 add missing context

* CORDA-2120 migration to the signature constraint

* CORDA-2120 Address review comments

* CORDA-2120 Address review comments

* Better introduction

* small changes

* CORDA-2119 address code review comments

* CORDA-2119 address code review comments

* Address PR comments

* Address PR comments
2019-01-14 14:59:43 +00:00
Wawrzyniec Niewodniczański
a2d4df1918 Another file adjusted 2019-01-14 10:55:39 +00:00
Wawrzyniec Niewodniczański
d55c527b3b More fixes 2019-01-14 10:07:51 +00:00
Wawrzyniec Niewodniczański
b4b1d7d020 Move CRL to Corda Network
- not sure if that the best place. CRL is is Corda Network specific, but
  current text sound the Corda Network specific.
2019-01-14 09:56:13 +00:00
JamesHR3
36cd9b9791
[CORDA-2402] Ensure out of order transactions result in correct vault state (#4559)
* Pass states to record through to transaction resolution

* Add a test case

* Add comment indicating why states are always added in tx resolution

* Update observer node documentation
2019-01-13 15:03:53 +00:00
szymonsztuka
7a4b6b3e44
CORDA-2405 Update versions of whitelisted attachments (#4549)
The version of contract attachments that are whitelisted should be read from NetworkParameters.whitelistedContractImplementations.
It use the lattes network map from db with the highest epoch.
2019-01-13 11:38:19 +00:00
Shams Asari
caad18f6db
CORDA-2347: Added backwards compatibility to SwapIdentitiesFlow (#4548)
The API has been reverted to be completely ABI compatible with V3, and the small changes that were made to the wire format in https://github.com/corda/corda/pull/4260 have also been reverted.
2019-01-12 14:23:20 +00:00
josecoll
8785bc1b84
Update Corda gradle plugins to 4.0.38 (#4558)
* Update Corda gradle plugins.

* Update Corda gradle plugins.

* Update upgrade notes.

* Minor clarification.
2019-01-12 14:03:05 +00:00
Shams Asari
6f14a9f0b9
CORDA-2406: FinalityFlow can support mix of participants using the new and old APIs (#4532)
Otherwise it's impossible to finalise a transaction and the participants are a mix of those using the new API and those using the old.
2019-01-12 12:01:23 +00:00
Wawrzyniec Niewodniczański
d4178eecca Adjust titles in docker
- capitalization should be better
2019-01-11 16:06:09 +00:00
rogersanick
d846ff8281 Adding additional information and context to clarify reference state documentation 2019-01-11 10:35:32 -05:00
Shams Asari
837d2d7106
Updated docs on the need to load confidential-identities CorDapp separately (#4547)
Also, updated the trader and BoC demos to include confidential-identities jar.
2019-01-11 13:51:23 +00:00
josecoll
e32ead0548
CORDA-2413 Improve exception handling and recovery for untrusted contract attachments (#4543)
* Improve exception handling and recovery for untrusted contract attachments.

* Fix broken JUnit.

* Fixed incorrect Exception description.

* Additional clarification on flow processing.

* Reasoning and future deterministic JVM clarification.

* Note::

* UntrustedAttachmentException.
2019-01-11 13:23:51 +00:00
JamesHR3
79601681da
[CORDA-2385] Ensure codesets are included in documentation (#4546)
* Add headers to documentation pages using codesets that are missing the relevant includes
2019-01-11 09:22:45 +00:00
Wawrzyniec Niewodniczański
819405bd74 Fix one important block 2019-01-10 15:49:06 +00:00
Wawrzyniec Niewodniczański
0624e4eb1d Adjust 'important' to be bold 2019-01-10 15:27:09 +00:00
szymonsztuka
9b8fda0d6d
CORDA-2375 Ensure node has unique attachment contract classname/version from signed JARs (#4535)
Corda Node ensures a given contract class and version can be sourced from only one signed and trusted Attachment (JAR).
An attempt to import a signed JAR as a trusted uploader (or promote to be trusted) with a class and version already present in the other trusted Attachment will raise DuplicateContractClassException.

Minor fixes to Hibernate Attachment Query parser (original query to select attachment without signers would always return no attachments)
2019-01-10 14:13:00 +00:00
Wawrzyniec Niewodniczański
bf4d7b1848 More 'not define'
- my Vim misbehaved and I had to run substitute again
2019-01-10 11:16:35 +00:00
Wawrzyniec Niewodniczański
3a742ca04a Fix 'not define' 2019-01-10 10:51:01 +00:00
Wawrzyniec Niewodniczański
4e0a54faea Further minor changes 2019-01-10 10:10:10 +00:00
James Carlyle
8acc2f6d36
Merge pull request #4465 from corda/james-update-cn-docs
Updated introduction to Corda Network, with some content removed.
2019-01-09 16:23:33 +00:00
Nick Rogers
d97fac0eb7
Merge pull request #4529 from corda/FinalityFlowMigrationDocUpdate
Finality flow migration doc update
2019-01-09 10:58:01 -05:00
Andrius Dagys
fa025dedeb
ENT-2822: Move experimental raft and bft-smart notaries back into node, fix reference state support (#4509)
Move Raft and BFT-Smart notaries back into node to preserve backwards compatibility.

* Allow overriding full node config when using internal mock network parameters.

* Make BFT-Smart notary start up in prod mode as well

* Move raft & bftsmart notaries to net.corda.notary.experimental package

* Make sure Raft notary handles reference state edge cases correctly.

* Make sure BFT-Smart notary handles reference state edge cases correctly.

* Include notary schemas in node internal schemas

* Undo Raft notary table schema changes to maintain compatibility.
2019-01-09 15:52:42 +00:00
Michele Sollecito
dd6a007ff2
[CORDA-2408]: Formatting on Flow Overriding page wrong - code not rendering correctly (fixed). (#4533) 2019-01-09 14:14:08 +00:00
rogersanick
285c93e785 Fixed grammar and spelling 2019-01-08 16:37:14 -05:00
rogersanick
a78278927f Updating FinalityFlow documentation with example code for use with SignTransactionFlow in flow responder. 2019-01-08 16:29:59 -05:00
Wawrzyniec Niewodniczański
628c336abd First round of comments 2019-01-08 16:44:41 +00:00
Wawrzyniec Niewodniczański
6fc80604bf Move docker in menu 2019-01-08 15:52:24 +00:00
Wawrzyniec Niewodniczański
e9f00204f9 Small fixes 2019-01-08 15:28:21 +00:00
Wawrzyniec Niewodniczański
78a758364e Move commandline to own chapter
- move commandline section to separate file
- remove old way of passing Java options
2019-01-08 15:20:17 +00:00
Wawrzyniec Niewodniczański
4eb7114134 Adjust deployment notes
- update to new config
2019-01-08 14:09:55 +00:00
Wawrzyniec Niewodniczański
29a17d9de4 Refactor fields + other file ajustment
- finish fixing fields format in node configuration
- rename few chapters
- adjust hyperlink
2019-01-08 13:49:29 +00:00
Katarzyna Streich
93f12f9b20
Documentation fixes (#4489) 2019-01-08 13:26:26 +00:00
Shams Asari
8e61d11a49
CORDA-2399: Samples using public TestCordapp API rather than internal one (#4521)
Also moved the contents of TestCordappUtils.kt to InternalTestUtils.kt to make it more obvious they're internal.
2019-01-08 11:55:23 +00:00
Wawrzyniec Niewodniczański
cc91ddf3c8 Adjustment to config values 2019-01-07 15:04:53 +00:00
Tudor Malene
24d91c5f89
CORDA-2384 - Fix driver classpath (#4472)
* Fix driver classpath

* Fix tests

* Fix classloader bug.

* Fix tests

* Fix tests

* Fix api

* Disable failing irs test.

* Address code review comments

* Remove @Ignore from test

* Remove @Ignore from tests

* Address code review comments.

* Attempt to fix simm valuation test

* Attempt to fix simm valuation test

* Comment failing functionality.
2019-01-03 20:06:35 +00:00
Shams Asari
f590300cdf
CORDA-2345: Updated docs to use the new TestCordapp API, rather than the old scan cordapp packages (#4491)
Also made some improvements to the API, especially for Java users.
2019-01-03 17:57:28 +00:00
Roger Willis
d176b60fb5
Fix for dodgy formatting of the reference states part of api-transaction.rst (#4495) 2019-01-03 17:22:25 +00:00
JamesHR3
17c654803d
[CORDA-2298] Update trackBy documentation (#4496)
* Update the documentation for trackBy to better indicate that updates are not filtered according to the query criteria
* Add a test that shows the behaviour, which is skipped for now until a solution is implemented.
2019-01-03 16:23:54 +00:00
Nick Rogers
4ac701e648 Persistence API - Updates (#4303)
* Updating with latest changes to persistence documentation

* Minor updates to api-persistence, submitting initial pull request.

* Updated single '-' to ensure proper formatting

* Minor spelling + grammar updates for final commit before pull request.

* Initial updates based on Joel's feedback on Git.

* Committing with latest changes request on pull request.

Update still required for how to customize schema service behaviour.

* Removed passage describing unimplemented features of schema service

* Added inline commenting to example code for readability.

* Additional spelling + grammar updates.
2019-01-03 09:51:04 +00:00
jamescarlyle
9ffe10d658 Added a link to the joining process. 2019-01-02 19:04:11 +00:00
Dimos Raptis
c1ed8c47ac
Fix docs formatting for node-database (#4486) 2019-01-02 16:19:02 +00:00
Tudor Malene
ee9251bd25
CORDA-2327 add attachments for missing dependencies (#4456)
* CORDA-2327 first draft - add attachments for missing dependencies

* CORDA-2327 draft - fix unit tests

* CORDA-2327 draft - some cleanup.

* CORDA-2327 fix test

* CORDA-2327 fix test

* CORDA-2327 fix test

* CORDA-2327 Address code review comments

* CORDA-2327 fix api

* Address code review comments

* CORDA-2327 Address code review comments

* CORDA-2327 Address code review comments

* Fix merge

* Address code review comments
2019-01-02 16:16:53 +00:00
Wawrzyniec Niewodniczański
3020741da2 Reformat docs + examples for node.conf
- add default value for every parameter
- reformat text to have consistent format of one sentence per line (in sources)
- reformat examples to be consistent and use '=' as key:value separator
2019-01-02 16:03:30 +00:00
Shams Asari
c205bd2a21
CORDA-1942: StartedMockNode.registerResponderFlow simplified (#4483)
The ResponderFlowFactory parameter is not used and so removed. Also, instead of returning a Future it returns an Observable of responder flows, to support multiple invocations. And finally renamed to registerInitiatedFlow to stick with the existing naming strategy.
2019-01-02 12:49:29 +00:00
Dimos Raptis
bbbe08ab1b
Fix typo in contract tutorial (#4480) 2018-12-31 14:00:47 +00:00
JamesHR3
aca65444b5 [CORDA-1992] Better document requirements for Node Explorer (#4476) 2018-12-29 11:18:07 +00:00
Wawrzyniec Niewodniczański
718d4b3630 Reorder Ops docs
- reorder Ops docs page to make it easier to follow
- reorder content of node.conf fields
- fix docker-image hierarchy
2018-12-28 17:19:07 +00:00
jamescarlyle
385755fb1a Updated introduction to Corda Network, with some content removed now it's
available on https://corda.network.

Signed-off-by: jamescarlyle <jwgcarlyle@gmail.com>
2018-12-27 11:31:55 +00:00
James Brown
8e8650e27b CORDA-2365 Update certificate hierarchy diagram (#4451) 2018-12-21 16:53:44 +00:00
Mike Hearn
d976278a1c Docs: fix spelling errors. 2018-12-21 12:56:21 +01:00
Mike Hearn
8d15b8aea7 Docs: more work on the upgrade/release notes:
* Address Shams' review comments
* Add some more discussion of app splitting, note the finance jar changes.
2018-12-21 12:56:21 +01:00
Mike Hearn
08564808c0 Docs: add network-builder image and fix a couple of minor issues in make-docsite.sh 2018-12-21 12:56:21 +01:00
Mike Hearn
ec97e1aee3 Docs: address review comments from Jose. 2018-12-21 12:56:21 +01:00
Mike Hearn
f8026e9775 Docs: address review comments from Richard. 2018-12-21 12:56:21 +01:00
Mike Hearn
ee5536da14 Docs: add more info on target/min versioning to the app-upgrade-notes. 2018-12-21 12:56:21 +01:00
Mike Hearn
323effa236 Docs: release notes and improvements to upgrade notes for Corda 4.
Move release/app upgrade notes to the top of the toctree.

Authors: Kat Baker, Jose Coll, Mike Hearn, Tommy Lillehagen.
2018-12-21 12:56:21 +01:00
Dimos Raptis
8ac32f52f6 CORDA-1839 - Remove race condition between trackBy and notifyAll (#4412)
* CORDA-1839 - Remove race condition between trackBy and notifyAll

* Fix null check

* Improve filtering

* Switch equality test to refs

* Refine filtering of seen updates

* Add entry in the changelog

* Address comments
2018-12-21 09:40:07 +00:00
JamesHR3
39e5dc5749
[CORDA-1828] Documentation update for observer nodes (#4443)
CORDA-1828 Documentation update for observer nodes

* Update observer node documentation

* Added test to catch original issue if seen again
2018-12-21 08:18:14 +00:00
Shams Asari
830959c9f7
CORDA-2345: Simplified TestCordapp to make it inline with the recent CorDapp versioning changes (#4434)
TestCordapp has now two implementations to clearly separate the two use cases it has in the Corda repo:

* TestCordappImpl which implements the revised public API of TestCordapp; namely that a TestCordapp instance references a real CorDapp jar on the classpath. This is either an external dependency jar in which case it’s taken as is and given to the node, or it’s a local gradle project in which case it’s compiled using the gradle “jar” task to generate the CorDapp jar. This approach means the jar has all the original CorDapp versioning information, which is important that it’s correct when testing. To this end, TestCordapp only needs to expose the ability to specify the app’s config. All the remaining properties have moved to CustomCordapp.

* CustomCordapp for creating arbitrary custom CorDapps, including specifying the jar’s MANIFEST values. This is internal API and only used for testing the platform. Technically this shouldn’t implement TestCordapp but does so to reduce the complexity of the driver and mock network.
2018-12-20 09:49:58 +00:00
szymonsztuka
4aaefb4fe9 CORDA-2331 Split Workflow and contracts of Finance App into separate Cordapps (#4422)
* Split Workflow and contracts of Finance App into separate Cordapps, part 1 - content which is different between OS and ENT is still in contract Cordapp.

* Move CashSelection implementations to workflow module.

* Move CashSelection implmentations to workflow module.

* Move finance module to finance-flows, top level finance module is empty.

* Move finance module to finance-flows, top level finance module is empty.

* Updated build comment.

* Revert publication of combined (contracts and flows) corda-finance.jar (to maintain backwards compatibility with 3rd party cordapps dependent on finance)

* Added backwards compatibility clarification comment.

* Re-instate new cordapp metadata.

* Global rename of `finance-flows` to `finance-workflows` to follow adopted naming conventions.

* Addressed final review comments.

* Rename application to "Corda Finance Demo"

* Generation of original corda-finance jar from new sub-modules.

* Fixed and tested demobench with new split finance contract and workflow jars.

* Renamed finance sub-modules to contracts and workflows.

* Remove Michele!!!

* Minor fix to filtering logic.

* Align CorDapp configuration filename with workflows jar.

* Fix breaks caused by finance module naming changes.

* Final alignment between OS/ENT of finance contract code.
2018-12-19 18:02:51 +00:00
Thomas Schroeter
17e7a3ad7c
Remove documentation of building container images with jib (#4430)
This is not inline with the official container image.
2018-12-18 12:27:33 +00:00
Mike Hearn
43f241cb8b Docs: mention the new no-downgrade rule in the upgrade notes. 2018-12-18 12:48:51 +01:00
Mike Hearn
579b312237 Docs: give the "upgrading cordapps" page a slightly more compact name to improve toctree formatting. 2018-12-18 12:48:51 +01:00
Mike Hearn
d309fae2b4 Docs: demonstrate usage of the contracts/workflows jar split. 2018-12-18 12:48:51 +01:00
Mike Hearn
4f9a4a2c2b Docs: address more review comments, add mention of some new features. 2018-12-18 12:48:51 +01:00
Mike Hearn
fb89ab3151 Address review comment: mention that SwapIdentitiesFlow was adjusted in the same way. 2018-12-18 12:48:51 +01:00
Mike Hearn
cd0fd628e6 Address review comments 2018-12-18 12:48:51 +01:00
Mike Hearn
43e4279250 Docs: improve upgrade notes 2018-12-18 12:48:51 +01:00
Mike Hearn
d5169304cd Docs: add min/target version design doc to the toctree. Refresh versioning doc page. 2018-12-18 12:48:51 +01:00
Mike Hearn
d108517099 Docs: move the versioning page to the building a cordapp section, as it's more relevant to app devs than network operators. 2018-12-18 12:48:51 +01:00
Christian Sailer
e8a467cab8
CORDA-2304 Never give up on notarisations (#4420)
* Make TimedFlows retry forever, and cap the growth of the time out interval.

* Only time flows for restart if that is sensible (i.e. notary flows that actually have an alternative node to talk to).

* Move check for multi node notary into getter so it the `canBeRestarted` attribute can't be set too late.

* Make restartable timed flow a concept on SubFlow metadata and the relevant events so we can handle it properly for subflows based on their metadata.

* Addressing review comments.

* Consistent naming

* Update documentation

* Addressing documentation comments.
2018-12-18 09:18:12 +00:00
Christian Sailer
e70670368c
CORDA-2301 JVM args documentation (#4417)
* Document the ways and behaviours of setting JVM args on a corda node process.

* Small review fixes

* Clarification, removing outdated jvmArgs documentation
2018-12-17 16:43:22 +00:00
Matthew Nesbit
5cf64e5c23
Document the messagingServerExternal property on the OS node. (#4428) 2018-12-17 16:09:44 +00:00
Wawrzyniec Niewodniczański
2acd973cb0 Trival change to improve search hits for log4j2
Make log4j2 consistence - to make docs search easier (log4 2) wasn't
catch by 'log4j2' search.
2018-12-14 16:34:19 +00:00
josecoll
9cdda3bd77
CORDA-2149 CorDapp Contract and Workflow version identifiers (#4363)
* Implementation of Contract and Workflow attribute identifiers.

* Fixes following rebase from master.

* Fix broken JUnit test.

* Fix broken JUnit test.

* Fix broken JUnit test.

* Added missing constants.

* Further clean-up.

* Updated documentation.

* Added changelog entry.

* Updated all samples (using new Gradle Plugin 4.0.37 functionality)

* Temporarily resolve gradle plugins from latest published snapshot.

* Temporarily resolve gradle plugins from latest published snapshot.

* Updates following feedback from PR review.

* Move constants into CordappInfo companion object.

* Contract and Workflow attribute `version` to `versionId` (as version is a reserved gradle variable)

* Clarified warning message on incorrect version identifier.

* Align version identifier processing logic with gradle cordapp plugin.

* Updated comment.

* Minor fixes following rebase from master.

* Fixed broken unit test.

* Improved exception reporting.

* Update to use 4.0.37 of Gradle Plugins.

* Added support for combined Contract and Workflow CorDapp info.

* Updated following discussions with Shams + cleanup.

* Updated following Shams PR review.

* Minor API improvements.

* Added missing cordapp info causing deployNodes to fail.
2018-12-14 09:39:23 +00:00
Anton Markov
870058e72d Change IOU Example docs (#4408) 2018-12-13 14:56:53 +00:00
Remo
eb4a33e438 Corda-3941: initialiseSchema property couples corda node and cordapp ddl handling (#4277)
New property database.initialiseAppSchema introduced that allows to turn-off Hibernate DDL generation while leaving Node-specific Liquibase handling enabled.
2018-12-13 14:34:58 +01:00
Shams Asari
0c880fb7a7
Reverted incorrect deprecation of JacksonSupport.createInMemoryMapper (#4393) 2018-12-13 10:20:48 +00:00
Rick Parker
b70740cf2e
ENT-2785 Create clearer separation between RPC and P2P classes to make it easier to adjust logging levels independently. (P2P remained as is, some internal node RPC classes moved to existing node RPC package from generic messaging package, which is now just for P2P). (#4401) 2018-12-12 17:36:44 +00:00
Michele Sollecito
ccaf9dfbfa
[CORDA-2323]: Make detectPublicIp disabled by default. (#4404) 2018-12-12 13:38:57 +00:00
Craig Pastro
08b4e4bd2d In docs:key-concepts, transactions should come before contracts (#4352) 2018-12-11 14:59:11 +00:00
Michele Sollecito
6b1dc2ef27
[CORDA-2162]: Cash.generateSpend cannot be used twice to generate two cash moves in the same tx (fix). (#4394) 2018-12-11 14:42:41 +00:00
szymonsztuka
4799df9b80
CORDA-2150 signature constraints non-downgrade rule (#4262)
Contract class version non-downgrade rule is check by LedgerTransaction.verify().
TransactionBuilder.toWireTransaction(services: ServicesForResolution) selects attachments for the transaction which obey non downgrade rule.
New ServiceHub method loadAttachmentConstraint(stateRef: StateRef, forContractClassName: ContractClassName? = null) retrieves the attachment contract related to transaction output states of given contract class name.
2018-12-11 10:23:07 +00:00
Mike Hearn
b14f3d61b3
Update note at the top of the Kafka notary design doc
We don't currently plan to ship this notary.
2018-12-11 11:16:06 +01:00
Michele Sollecito
c31da13c70
[CORDA-2213]: IRS Demo is unable to simulate future dates (fix). (#4384)
* [CORDA-2213]: IRS Demo is unable to simulate future dates (fix).

* [CORDA-2213]: IRS Demo is unable to simulate future dates (fix).
2018-12-07 16:59:52 +00:00
Michele Sollecito
e2ea97bae7
[CORDA-2265]: Nodes hangs when using AppServiceHub to start a flow in a blocking way (fix) (#4376) 2018-12-06 15:13:32 +00:00
Rick Parker
f78c464d86
CORDA-2289 changelog entry for transaction mapping table. (#4371) 2018-12-06 13:17:33 +00:00