Commit Graph

638 Commits

Author SHA1 Message Date
David Lee
40a5955ad0 Added Japanese translation of intro white paper, by Munetoshi Yamada
Signed-off-by: David Lee <david.lee@r3cev.com>

David.
2017-03-15 13:50:37 +00:00
Clinton Alexander
20282b5d53 Renamed webserver capsule to webcapsule module to avoid clashes with the node capsule 2017-03-14 12:00:36 +00:00
Ross Nicoll
3e83093987 Add webserver Capsule configuration
Add Capsule configuration for the webserver JAR, so that the classes-only `webserver.jar` is published as well
as the full fat `corda-webserver.jar`. This is required for running the tutorial/template from IntelliJ.
2017-03-13 15:01:11 +00:00
Ross Nicoll
6362e2ff7c Correct release notes 2017-03-08 17:55:11 +00:00
Ross Nicoll
5650a44083 Add M9.1 release notes 2017-03-08 17:55:11 +00:00
Mike Hearn
ce0dcafb95 Document JSON/Jackson support 2017-03-08 12:31:22 +01:00
Ross Nicoll
db97ddb030 Update index and set up versions 2017-03-08 10:07:02 +00:00
Katarzyna Streich
97f2f4a8e0 Correct ports in demos broken after RPC port revert. 2017-03-08 09:58:31 +00:00
Chris Rankin
0e3540d174 CORDA-265: Implement "ALL" permission for RPC users. (#306)
* CORDA-265: Implement "ALL" permission for RPC users. Users with this permission in node.conf can use any flow.

* CORDA-265: Ensure that we always close the RPC proxy object after each test.

* CORDA-265: Refactor construction of dummy RPC client into an abstract base class.

* CORDA-265: Document RPC "ALL" permission.
2017-03-07 16:57:34 +00:00
Katarzyna Streich
4d10682f62 Override party keys from example-irs-trade.json file, so demos run correctly. Add api call to query for
Bank A and Bank B keys. Change port numbers, which are hardcoded in 2 places and were different when run through IntelliJ and through CLI.
2017-03-07 10:51:47 +00:00
Katarzyna Streich
f2b3adab4f Change port numbers in SIMM demo so both through CLI and IntelliJ webserver listens on the same port.
Related change in documentation.
2017-03-06 16:21:59 +00:00
Ross Nicoll
44dbba90c9 Tweak release notes around BFT notary 2017-03-03 17:18:30 +00:00
Ross Nicoll
285479a963 Add draft release notes for M9 2017-03-02 16:41:43 +00:00
Ross Nicoll
caea578093 Add M9 draft change log 2017-03-02 16:41:43 +00:00
Mike Hearn
cc61be5b6a Inform users about the newly available Corda training programs at startup and in the docsite. 2017-02-28 16:50:43 +01:00
Rick Parker
c4c4c51d7d Kryo serialisation whitelisting and misc enhancements. (#267)
Kryo serialisation whitelisting and misc enhancements
2017-02-28 08:12:18 +00:00
Clinton
3d04c91e61 Merge pull request #268 from corda/clint-readme-M8.2
Updated docs to point to M8.2
2017-02-27 18:07:03 +00:00
Clinton Alexander
8414c97a61 Moved JsonSupport to new webserver module. Fixed a few compile errors.
Fixed compile issues caused by webserver being split to a separate project.
WebServer now starts and stops correctly as a separate module.
2017-02-27 16:41:48 +00:00
Clinton Alexander
91a72bb345 Updated docs to M8.2 2017-02-22 10:52:47 +00:00
Shams Asari
7181b697a3 extraAdvertisedServiceIds config is now a list of strings, rather than a comma separated string 2017-02-21 15:21:37 +00:00
verymahler
ecbed715ad Fix typo in docs for FixOf where Duration should be Tenor 2017-02-21 14:55:47 +01:00
Patrick Kuo
9a0a9567f3 Make Network registration process more verbose (#251)
* Make the network registration process more verbose
* removed gradle task for building standalone jar for the certificate signing request utility
* Added a flag "--initial-registration" to the corda jar to start the registration
2017-02-20 13:22:37 +00:00
Ross Nicoll
3b8d696379 Add missing @Suspendable
Add missing @Suspendable to CashIssueFlow, as well as adding sanity
check to result of starting CashIssueFlow from
IntegrationTestingTutorial.
2017-02-20 10:41:31 +00:00
Mike Hearn
cc45121bea Merge pull request #248 from corda/clint-milestonedocsfix
Updated docs to refer to the latest milestone
2017-02-16 14:04:46 +00:00
Clinton Alexander
0e8d7fc2aa Updated docs to refer to the latest milestone and replaced a specific milestone reference with a generic one 2017-02-16 12:26:40 +00:00
josecoll
fa33336d38 Initial implementation of Vault Persistence using Requery (#191)
* Initial prototyping with Requery as a persistence replacement for Exposed/Hibernate

Applied changes following PR review by RP

Updated timestamp naming (removed committedTimestamp) and StateStatus (removed AWAITING_CONSENSUS) after discussion with RP.

Removed FungibleState and LinearState schemas (and associated tests) - awaiting Requery uni-directional relationship fix.

Added Transaction propagation such that requery re-uses any existing transaction context.

Made requery default logging configurable (disabled by default)

Nullable fields are now truly nullable (in the Kotlin and DDL sense)

Fix for SimmValuation integration test.

Workarounds applied to resolve Requery issues when sharing Transactional context.

Addressed PR review comments from MH.

Further updates following re-review by RP/MH

Further updates following additional PR review comments by RP

Minor update following additional PR review comments by RP

Optimised makeUpdate state processing code.

Resolved conflicts after rebase.

Additional Unit tests and bug fix for correct spending of multiple contract state types within a single transaction.
Required interface change to states() API to take a setOf (ContractStateClassTypes)

Minor code clean-up.

Re-write NodeVaultService consumed state makeUpdate function using SQL.

* Resolve conflict after rebase from master
2017-02-16 11:02:36 +00:00
Shams Asari
40dde555e7 Added --logging-level cmd line arg to set the logging level, and improved flow logging 2017-02-14 09:56:50 +00:00
Patrick Kuo
28e83d1e66 Example code for contract upgrade using RPC. (#237)
* Added missing out modifier to UpgradedContract class
* Added ContractUpgradeFlow.Instigator to whitelist in AbstractNode
* Added test for contract upgrade using RPC
2017-02-13 15:39:48 +00:00
Ross Nicoll
98c30f6432 Remove CashFlow
Remove the CashFlow flow, replacing it with CashFlowCommand which can be used for the use-cases
with instructions passed around as an object.
2017-02-09 18:22:58 +00:00
Patrick Kuo
c054ffe719 Add support for contract upgrades (#165)
* Add support for contract upgrades
* Add interface for the upgraded contract to implement, which provides functionality for upgrading legacy states.
* Add shared upgrade command and verification code for it.
* Add DummyContractV2 to illustrate what an upgraded contract looks like.
* Add new functions to vault service to support upgrading state objects.
* Add contract upgrade flow
2017-02-09 17:14:31 +00:00
Ross Nicoll
9055c9d9b0 Split CashFlow into three flows
Split CashFlow into independent CashIssueFlow, CashExitFlow and CashPaymentFlow,
so that users can be given access to one but not the other(s).

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-02-09 15:43:48 +00:00
Ross Nicoll
47d260625a Add AnonymousParty superclass of Party
Add AnonymousParty superclass of Party in preparation for anonymising parties stored in
contract states.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-02-09 11:37:32 +00:00
Mike Hearn
a058766298 Merge pull request #221 from gary-rowe/master
Fix incorrect port numbers in documentation for node explorer
2017-02-08 16:18:53 +01:00
Joel Dudley
b3e26b2022 Changes docs to point to cordapp-tutorial instead of cordapp-template as appropriate. 2017-02-08 10:34:54 +00:00
Andrius Dagys
f1025e999b Update notice on the docs index page to point to release M8
Regenerate docs
2017-02-07 17:18:21 +00:00
Andrius Dagys
8e6baa209f Release notes for M8 (#213) 2017-02-07 17:18:21 +00:00
Gary Rowe
b1c5de1112 Fix the port numbers in the documentation to match actual values 2017-02-06 16:22:15 +00:00
Shams Asari
657cfa5d96 FlowException can be thrown from within UntrustworthyData.unwrap for better Java interop, and more checked exception annotations relating to flows 2017-02-06 16:00:52 +00:00
Mike Hearn
cc20a10225 Improve the flow commit API.
Make FinalityFlow do more, and be used more consistently.

Add a new waitForLedgerCommit API that is intended to be used at the end of flows, or at any other point where a flow wants to wait for a transaction to finalise (but the finalisation flow is being done by someone else).

Update the docs a bit.
2017-02-06 12:29:34 +01:00
Mike Hearn
f8c1996a48 Merge pull request #198 from corda/joel-tshooting-docs
Addresses RGB feedback on troubleshooting page.
2017-02-06 11:39:08 +01:00
kasiastreich
45d8e0f76d Tearoff fixes (#78)
* Move merkle building extension functions on wire tx to WireTransaction class.

* Add timestamp, notary, transaction type and signers to wire transaction id calculation.

* Change construction of MerkleTree from duplicating last node on a given level to padding leaves' list with zero hash to size of the nearest power of 2 - so we always have a full binary tree.
The problem was that it was possible to construct 2 different transactions with the same ids. Trick worked for txs having number of leaves that were not power of 2.

* Update tear-offs documentation and diagrams to reflect changes in construction of Merkle trees - padding with zero hashes and including all WireTransaction fields in id computation.

* Change in filtering API of WireTransaction for partial Merkle trees calculation.
Instead of many filtering functions over a transaction only one needs to be provided.
Additional change to check and verification of FilteredTransaction.

* IRS demo change. Make filtering function a protected method of RatesFixFlow class.
Comment on situation when capturing too much scope and connected problems with checkpointing.
Change oracle and tear-offs documentation.
2017-02-03 14:02:51 +00:00
Shams Asari
b86c80691e FlowException serialised over RPC (subtypes are flattened), and improvement to startFlow RPC for correct exception handling 2017-02-03 11:21:10 +00:00
Ross Nicoll
2f9af7d7dc Revert Party.Full in preference for a less invasive change 2017-02-02 13:47:32 +00:00
Ross Nicoll
1b86ddfd6e Replace Party with Party.Full
Replace Party with Party.Full as an interim step to introducing the Party.Anonymised class.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-02-01 15:18:12 +00:00
Joel Dudley
a5c0e2426c Addresses RGB feedback. 2017-02-01 12:14:36 +00:00
Clinton
d376a902ad Merge pull request #180 from corda/clint-webserversplit
Split webserver from node
2017-02-01 12:13:31 +00:00
Andrius Dagys
6aa7e7a324 Update Network Simulator with new branding 2017-02-01 10:59:36 +00:00
Shams Asari
646ce8afe0 FlowException thrown by a flow is propagated to all counterparties 2017-01-31 13:30:33 +00:00
Joel Dudley
cfcfb30beb Provides clearer instructions on the 'Getting set up' page. Expands 'Troubleshooting' page. 2017-01-31 12:59:24 +00:00
Ross Nicoll
e383752995 Adapt Party comparison to use owningKey
Change Party instances to be uniquely identified by the owning key, without taking into account name.
This requires that mock node key generation is reworked so that keys for services and the node itself
are distinct, otherwise the network map service cannot differentiate them.

Signed-off-by: Ross Nicoll <ross.nicoll@r3.com>
2017-01-30 15:46:51 +00:00
Clinton Alexander
d2ebcbfab0 Fixed whitespace and formatting with IntelliJ autoformat tool. 2017-01-30 12:05:22 +00:00
Clinton Alexander
65f5259ac9 Reverted docs change. 2017-01-30 11:15:23 +00:00
Clinton Alexander
3482452c8b Added webserver to runnodes. 2017-01-27 14:15:08 +00:00
josecoll
ac1d14464c Key Concepts rewrite for open source day (#7)
First draft

Re-structured Key Concepts; added plenty of diagrams; additional content.

Added references to other security docs.

Re-structured Key Concepts; added plenty of diagrams; additional content.

Added references to other security docs.

Updated information, indexes and images.

Incorporated feedback from PR review comments (RGB, RW)

Reformatted diagrams and incorporated feedback from PR reviewers.

Addressed formatting problems.

Updated Flow Framework diagram

Added colour coding to Flow Framework diagram to aid readibility.

Small clarification to vault unconsumed state usage.

Added tutorial reference as suggested by RGB

Updated TOC tree.

Updates following PR review comment from Roger

First pass updates following PR review comments from MH.

Further updates following PR review (including 2 edited diagrams)

Diagram changes and minor text edits following review with MGB

Remove unused diagrams.

Fixed spurious indentation errors.

Changes following review and feedback from JD.
Added clauses and merkle-trees back into TOC.
Added small sub-section on transaction representation in Data Model.
Added future work as note in Vault.

Minor updates to diagrams following MH review.

Updated Corda Ecosystem diagram.

Minor changes to Core & Financial docs following PR review by MH.

Updated following review by MBG.
2017-01-26 15:46:40 +00:00
Mike Hearn
97ca6e7d8b Fixup the docsite sidebar which is a copy of the non-docsite sidebar 2017-01-23 12:47:29 +01:00
Mike Hearn
4e65200a04 Docs: some improvements and code samples for progress tracking in flows 2017-01-19 15:51:27 +01:00
S. Matthew English
82716b3fdb enforcing consistency of capitalization
changing outlying instances of "Notaries" to "notaries", reconciling them with the rest of the document
2017-01-18 14:02:21 +01:00
Mike Hearn
cbb66f87f3 Regen docsite with new JavaDoc format API reference 2017-01-18 13:42:22 +01:00
Mike Hearn
701f7adcab Docs: upgrade Dokka, start building a javadoc version of the API docs alongside the Kotlin API docs. Switch to using gradle to download/invoke it. 2017-01-18 13:18:04 +01:00
Shams Asari
c4e3b258c7 Introducing Observable.toFuture() extension method 2017-01-17 12:56:59 +00:00
Katarzyna Streich
429fbb3b97 Change clauses diagrams after clauses clean-up. 2017-01-17 11:34:21 +00:00
Ross Nicoll
2efd44d46b Clean up semantics of composite clauses
This deprecates the existing composition clauses and adds new better named versions,
as well as changing 'AnyOf' to require at least one matching subclase (better matching
the name of the clause).
2017-01-17 11:34:21 +00:00
Mike Hearn
d26c44d08c Configure Capsule/Driver to give Corda a relatively poxy 200mb heap by default: we don't seem to need more for development purposes. Switch to G1GC by default as well. 2017-01-12 11:37:10 +01:00
Shams Asari
7cd281364f Removed basedir from the config file as it's always overwritten by the --base-directory cmd line arg 2017-01-10 10:49:28 +00:00
Joel Dudley
d87c9eb9d2 Updates the docs landing page to give clear direction to new users. 2017-01-10 10:18:38 +00:00
Mike Hearn
5ae417fe49 Minor: typo fix in the technical whitepaper. 2017-01-09 20:20:10 +01:00
Joel Dudley
e55833d147 Details of First/AnyComposition. Expands on clause workings. Typos. 2017-01-09 16:09:32 +00:00
Clinton
af42bb389b Merge pull request #126 from corda/release-M7
Release notes for M7
2017-01-09 15:12:30 +00:00
Clinton Alexander
2d07014bf9 Fixed rendering of URLs on the release notes. 2017-01-09 15:03:53 +00:00
Joel Dudley
a8a371fcda Regens docs. 2017-01-06 17:38:23 +00:00
Clinton Alexander
b6a325e7c7 Updated M7 release notes. 2017-01-06 17:20:41 +00:00
Clinton Alexander
def621ad0d Release notes updated. 2017-01-06 17:09:37 +00:00
Clinton Alexander
4c566d086e Further improvements to the M7 release notes. 2017-01-06 17:00:59 +00:00
Clinton Alexander
e0197e8982 Updated release notes for M7. 2017-01-06 17:00:59 +00:00
Clinton Alexander
c40ada96f1 Improved release notes. 2017-01-06 17:00:59 +00:00
Clinton Alexander
9338a3c06a Added first version of M7 release nodes. 2017-01-06 17:00:59 +00:00
Katarzyna Streich
17beab06c2 Fix docs to reflect future date change. Add Kryo registration of PaymentEvent classes. 2017-01-06 16:22:27 +00:00
Mike Hearn
9a75adb0ab Simplify the attachments demo by getting rid of the web API and just using the RPC interface directly. The web API in this case wasn't actually adding anything that had to be server side. 2017-01-06 16:58:34 +01:00
Shams Asari
59456cb6b1 Added a method to NodeHandle to simplify using RPC in the Driver 2017-01-06 14:14:32 +00:00
kasiastreich
ee99d7e9d0 Simm demo fix (#122)
* Update main to match nodes in deployNodes configuration (no Bank C).

* Update simm-valuation-demo documentation and comments.
2017-01-06 13:50:18 +00:00
Joel Dudley
3d747ff663 General running-the-demos docs update. 2017-01-06 13:29:57 +00:00
Joel Dudley
b5c319aeca Unix vs Windows demo instructions. Duplicate SIMM page. Typos. Bad nesting. 2017-01-06 11:05:37 +00:00
josecoll
08047e7d72 Fixed gradle runnode config for Bank of Corda (RPC Client was failing). (#115)
Fixed doc mistake.
2017-01-05 18:37:54 +00:00
Andrius Dagys
b9d5081af6 Update notary change flow to support encumbrances (#101)
* Update notary change flow to support encumbrances.

Move encumbrance pointer from ContractState to TransactionState.

* Refactor & add new encumbrance tests
2017-01-05 17:44:31 +00:00
Shams Asari
08e391579c Node verifies the peer it connects to by checking its TLS common name 2017-01-05 14:22:11 +00:00
Clinton Alexander
8a33b6b223 Renamed distributed and notary demo to 'Raft Notary Demo' to improve consistency in naming. 2017-01-05 11:43:24 +00:00
Mike Hearn
119d00c384 Upgrade dependencies and centralise some more version numbers in the root gradle file 2017-01-04 15:44:56 +01:00
josecoll
eac2cb1cc6 Bank of Corda integration with Trader Demo and Explorer
Initial conversion of Explorer to use IssuerFlow (from BankOfCorda)

Initial conversion of TraderDemo to use IssuerFlow (from BankOfCorda)

Updated TraderDemo to use IssuerFlow (from BankOfCorda)

Fixed TraderDemo integration text (added new BankOfCorda node)

Updated Explorer with changes IssuerRequest params

Explorer now correctly displaying transaction id upon Issue.

Moved IssuerFlow into finance package so can be reused across multiple demos (TraderDemo) and applications (eg Explorer)

Refactored BankOfCorda demo to use Finance package and TestUtil constants

Updated TraderDemo to use IssuerFlow

Updated Explorer to use finance package IssuerFlow.

Advertised BankOfCorda as Issuer for usage by Explorer.

Explorer no longer depends on BankOfCorda demo since IssuerFlow promoted to Finance module

Added IssuerFlow to AbstractNode whitelist.
Explicit declarations of IssuerFlow no longer required.

Added plugin registration of IssuerFlow at bootstrap.

Revert whitelisting of IssuerFlow (plugin configured)

Refactored to use constant BOC definition.

Added gradle RPC security config.

Updated documentation

Fixed incorrect references.

Renamed Issuer banks.
Added new permission set (for Issuer nodes)
Added node nearestCity info
Added new Issuer Event Generator for Issuer nodes only

Associated currency with issuer using ServiceType naming structure.

Added argument flag (-S) to trigger event generator simulation node.

Fixed problem with issuers not resolving from network map.

Updated perms on Issuer rpc proxy nodes.

Fixed minor in cash generateExit identified by Explorer.

Changes applied in prep for AWG demo.

Added IntelliJ run-configurations for launching Explorer demo nodes (with and without simulation)

Updated documentation (and added additional gradle task to launch Explorer nodes in simulation mode).

Fix following rebase.

Addressed review items from PR.

Updated TraderDemo readme.

Updated TraderDemo gradle file to launch Bank of Corda node.

Updated JRE properties.

Updated IssuerModel to incorporate correct JFX Observable handling.
Fixed bug with Exit command not displaying any currency.

Added TODO's for revisiting correct Exception handling strategy.

Optimization for when issuing cash to self.

Minor updates following PR review.

Remove old refs to Royal Mint and Federal Reserve
2016-12-22 15:55:50 +00:00
Joel Dudley
aa321c984e Fixes indent error. 2016-12-22 11:22:44 +00:00
David Lee
ffe1d234ca Added first draft documentation on the Azure VM (#67)
* Added first documentation on the Azure VM
2016-12-21 09:57:37 +00:00
kasiastreich
4ffad426c1 Writing contract tests docs (#17)
* Change tutorial-test-dsl to cover CommercialPaper instead of Cash contract.

* Address PR comments.

* Add Java code examples.

* Minor fixes.

* Add double spend example to the tutorial.

* Small grammar fixes for writing a contract test tutorial.
2016-12-19 13:14:36 +00:00
exfalso
53bbb57345 Add ReceivedSessionMessage, DriverBasedTest re #57 2016-12-15 11:37:15 +00:00
Andras Slemmer
8ea4c258f1 Extend messaging.rst about service queues 2016-12-15 11:37:15 +00:00
Joel Dudley
1d1a067ead Adds a warning regarding vault access in @Suspendable functions 2016-12-14 15:23:09 +00:00
Shams Asari
7afa3346d6 Updated docs and TODOs to be inline with recent changes to the doorman 2016-12-13 17:03:15 +00:00
Joel Dudley
7d79f3d6d2 Updates CorDapp template docs to reflect inclusion of java source files and new info on running nodes across machines. (#52)
Updates CorDapp template docs to reflect inclusion of java source files.
2016-12-12 18:48:35 +00:00
Clinton
b43d940297 Merge pull request #35 from corda/clint-M6publishing
Corda can be published to bintray and reduced publishing boilerplate in build.gradle.
2016-12-09 15:07:46 +00:00
Jose Coll
453f7cd223 Bank of Corda demo - Issuer of Cash
Resolve BankOfCorda through NMS in protocol

Fixes following Integration testing.

Register custom RPC Kryo classes.

Protocol -> Flow renaming

Bank of Corda demo - Issuer of Cash

Resolve BankOfCorda through NMS in protocol

Fixes following Integration testing.

Protocol -> Flow renaming

Addressed all comments in PR review.

Removed bank lines.

Updated minor inconsistency in README.md

All protocol references changed to flow.

changed protocol -> flow in TODO comment.

changed startProtocolPermission -> startFlowPermission in README.md

Added transaction id to IssuerFlow Success response.
Removed explicit call to record Cash Move transaction (as already recorded in subflow)

Removed quasar dependency.

Addressed comment in PR.

Updated to use CompositeKey.

Added arguments to pass in Currency and Amount.

Updated run configurations to pass in Currency and Amount values

Added additional parameter to IssuerFlow request: issueToPartyReference

Added Vault updates verification in RPC Integration test.

Fixed RPC Integration test (Vault assertions)

Updated run-time dependencies in line with other demos.

Applied changes following PR review (exception handling, party resolution handling, docs)

Updated gradle client run configs with new parameters.

Main driver app now uses standard out for display (was using logger info() but nothing was being displayed because of restrictive config)

Fixed formatting display problems.

Updated Web Api code to use new CordaRPCOps interface (and new partyFromName() exposed method)

Removed unused import.
2016-12-08 17:38:21 +00:00
Clinton Alexander
2f61340945 Fixed review comments. 2016-12-08 16:58:22 +00:00
Rick Parker
70dcab6361 Merge pull request #33 from corda/parkri-external-observations
Buffer observations until database commit.
2016-12-08 16:34:50 +00:00
rick.parker
0378b8d785 Buffer observations until database commit. 2016-12-08 16:32:45 +00:00
Joel Dudley
c02077bdbc Updates the cordapp-template docs to reflect new structure. 2016-12-08 13:44:50 +00:00
Clinton Alexander
467e2fc4aa Added new documentation to the index. 2016-12-08 12:14:17 +00:00
Clinton Alexander
e4187c59e2 Added documentation on how to publish Corda. 2016-12-08 12:13:05 +00:00
Andras Slemmer
a601f0abf5 Local RPC, demos use RPC, NODE has special privileges 2016-12-08 11:58:31 +00:00
Clinton Alexander
d1a7a33581 Disabling flakey WorkflowTransactionBuildTutorialTest test because it has a race condition and is causing flakey build. PR is in flight to fix the actual cause. 2016-12-07 17:09:39 +00:00
Matthew Nesbit
f63e6cd2a6 Add some hooks to StateMachineManager and NodeSchedulerService so that unit tests of flows with scheduled actions can safely test for completion of their test activities. Typically this is done using a while loop whilst there are active fibers, or schedules and then blocking on the ReusuableLatches until the status changes and can be re-evaluated.
Add unit tests of ScheduledFlow running on simulated network.

Just use existing DumyContract in test

DummyContract requires value equality so that assertEquals over states works as expected.

Remove blank line.

Add TODO on waitQuiescent.

Fix minor build error
2016-12-07 16:11:55 +00:00
Shams Asari
bddb22db77 Further fixes to messaging.rst 2016-12-06 21:14:21 +00:00
Clinton Alexander
a0d5426ced Due to insurmountable issues with publishing the JARs when the project is called Corda it has been renamed back to capsule. 2016-12-06 16:06:16 +00:00
Clinton Alexander
1463cd2b37 Renamec capsule module to corda. 2016-12-06 16:06:16 +00:00
Clinton Alexander
810596927e Added a new capsule build.gradle to allow multiple bintray uploads from one build.gradle. 2016-12-06 16:06:16 +00:00
Shams Asari
89cc9dc886 Added a note in the getting setup doc about JavaFX and non-Oracle JVMs 2016-12-06 15:24:29 +00:00
Richard Green
e1e6d187e3 Making the warning make sense for branches that aren't master 2016-12-06 10:51:29 +00:00
Shams Asari
27462ff8f1 Fixed formatting issues in messaging.rst 2016-12-05 22:03:00 +00:00
joeldudleyr3
d0e142c3db Removes links to R3 wiki. Changes 'r3prototyping' ref to 'corda'. 2016-12-05 15:17:25 +00:00
Shams Asari
4addb91f80 Added security to RPC and P2P systems. 2016-12-02 18:11:08 +00:00
Richard Green
b35f711bd9 Merge pull request #14 from corda/rg_adding_some_links_to_docs
Adding links to discourse and slack on docsite
2016-12-01 16:58:50 +00:00
Richard Green
10bc27d2f4 Adding links to discourse and slack on docsite 2016-12-01 14:14:17 +00:00
Matthew Nesbit
e54a304e2e Depend upon an internal artifact, rather than a maven local published artifact when building the corda fatjar. 2016-11-30 16:16:51 +00:00
Mike Hearn
1323781a30 Docs: point to M6 docs from master branch warning 2016-11-29 20:49:14 +00:00
Mike Hearn
83328c3d23 Docs: minor sidebar fix 2016-11-29 19:03:13 +00:00
Mike Hearn
c9b4755f55 Docsite: fix a few doc errors 2016-11-29 18:42:23 +00:00
RogerWillis
3ecf5b786a Minor docs tweaks:
* Removed "where-to-start" as it was old and will be replaced with the developing CorDapps page.
* Re-arranged the index page.
* Put the getting started fault finding page on the index (it wasn't referenced before).
* Deleted the "building cordapps" page as requested by Mike.
2016-11-29 18:31:28 +00:00
Matthew Nesbit
aa2076f976 Merged in mnesbit-unit-test-fix (pull request #586)
Read the balances off of the vault update.
2016-11-29 17:53:35 +00:00
Andrius Dagys
109ecffb02 Merged in release-notes-m6 (pull request #580) 2016-11-29 17:47:05 +00:00
Matthew Nesbit
9ba02b170b Read the balances off of the vault update. 2016-11-29 17:37:26 +00:00
Andrius Dagys
8f2d026965 M6 release notes 2016-11-29 17:27:25 +00:00
Richard Green
d8b5a8298c removed redundant text 2016-11-29 17:20:36 +00:00
Richard Green
010326721c removed redundant text 2016-11-29 17:15:23 +00:00
Richard Green
a1920ddddd removed erroneous space 2016-11-29 16:52:49 +00:00
Richard Green
34ea7f09af Starting new pull request - previous one had conflict errors 2016-11-29 16:52:07 +00:00
Richard Green
c9d6c4d8ee Adding a CLI / IDE page 2016-11-29 16:23:47 +00:00
Mike Hearn
d87e027bd6 Merged in mike-warn-about-ij-bug (pull request #584)
Docs: warn about IntelliJ issue that causes .idea to be wiped at import time
2016-11-29 16:08:17 +00:00
Andrius Dagys
d92ccb0f80 Added a placeholder for M6 release notes 2016-11-29 16:06:07 +00:00
Mike Hearn
e4ee1b51e6 Docs: warn about IntelliJ issue that causes .idea to be wiped at import time 2016-11-29 15:53:35 +00:00
Andrius Dagys
296d93fbd9 Merged in andrius-change-copyright (pull request #570) 2016-11-29 15:35:18 +00:00
Matthew Nesbit
df6fc69cc6 Merged in mnesbit-building-transactions (pull request #571)
Created some examples to include in tutorial on building transactions.
2016-11-29 15:15:32 +00:00
Rick Parker
55b10644dd Merged in parkri-oracle-docs (pull request #559)
Update and add oracles documentation
2016-11-29 15:12:09 +00:00
rick.parker
c3e8a9eb19 Doc updates for oracles 2016-11-29 15:09:38 +00:00
Clinton Alexander
dea7b39734 Merged in colljos-docs-rpctutorial (pull request #581)
RPC Tutorial: re-instated gradle main class name.
2016-11-29 15:02:37 +00:00
Matthew Nesbit
4a504ca3dc Created some examples to include in tutorial on building transactions.
Complete the transaction building doc with code fragments.

Fix gradle build

Handle PR comments

Put back in missing main class line

Couple of minor improvements from PR
2016-11-29 14:50:20 +00:00
Andrius Dagys
b73116ff1b Merged in docsite-theme-fix (pull request #578) 2016-11-29 14:48:33 +00:00
Andrius Dagys
4012d4b136 Docs: added an explanation on how to specify a custom service name. Added a ref for composite keys section. 2016-11-29 14:46:05 +00:00
Jose Coll
ee2a60f345 RPC Tutorial: re-instated gradle main class name. 2016-11-29 14:30:22 +00:00
Roger Willis
b3e5bede39 Merged in rog-cordapp-tutorial (pull request #490)
First pass on Corda SDK tutorial
2016-11-29 13:47:08 +00:00
RogerWillis
9c9691ae77 Addressed review points. Added a stub file in the getting started section that indicates devs should look at the cordapp tutorial. 2016-11-29 13:45:58 +00:00
Jose Coll
690336b2e0 Incorp feedback from PR review. 2016-11-29 12:38:47 +00:00
Jose Coll
4aae92046d Removed Key Concept docs. 2016-11-29 12:38:47 +00:00
Jose Coll
d8c485aca9 Fixed formatting problems. 2016-11-29 12:38:47 +00:00
Jose Coll
066aacad85 Updated RPC Tutorial docs and gradle file. 2016-11-29 12:38:47 +00:00
Jose Coll
f3f016720d First draft 2016-11-29 12:38:01 +00:00
Jose Coll
4d80d5fc2e Removed Key Concept docs. 2016-11-29 12:38:01 +00:00
Jose Coll
92102e0157 Fixed formatting problems. 2016-11-29 12:38:01 +00:00
Jose Coll
909b4dccad Updated RPC Tutorial docs and gradle file. 2016-11-29 12:37:40 +00:00
Jose Coll
07aeec9f6f First draft 2016-11-29 12:35:41 +00:00
Andrius Dagys
f3e6b7b528 Format docsite css 2016-11-29 12:01:48 +00:00
Andrius Dagys
869324bfd1 Fixed docsite theme mobile view. Minor tweak to the headers 2016-11-29 12:00:11 +00:00
Katarzyna Streich
e10b199ae1 Add clauses documentation. 2016-11-29 11:53:54 +00:00
Andras Slemmer
ba84ce7358 Merged in aslemmer-integtest-docs (pull request #553)
docs: Add integration test tutorial
2016-11-29 11:47:27 +00:00
Mike Hearn
3325985a49 Docsite: minor fixes 2016-11-29 11:37:13 +00:00
Mike Hearn
64e241896e Tech white paper: improve Merkle tree diagrams and rerender 2016-11-29 10:05:32 +00:00
Andrius Dagys
9aca65bdce Merged in andrius-doc-tweak (pull request #572) 2016-11-29 09:34:42 +00:00
Andrius Dagys
13e781ea73 Minor: fix spacing in using-a-notary docs 2016-11-28 18:22:13 +00:00
Rick Parker
a666bbcc06 Merged in parkri-visualiser-docs (pull request #564)
Simulator docs update
2016-11-28 18:20:36 +00:00
rick.parker
2737e9a9e4 Simulator docs update 2016-11-28 18:19:57 +00:00
Andrius Dagys
eec079ed62 Minor tweaks to the configuration docs: make the use of : and = consistent, rename titles 2016-11-28 18:04:06 +00:00
Andras Slemmer
53a825e4cc docs: Address PR 553 comments 2016-11-28 17:08:45 +00:00
Mike Hearn
570470f255 Tech white paper: change abstract a little bit. Some reviewers found that they still needed to read the intro white paper to understand all the material in this one. 2016-11-28 16:20:46 +00:00
Andrius Dagys
90e7aaec8b Update doc copyright notice to 'Copyright 2016, R3 Limited' 2016-11-28 16:17:55 +00:00
RogerWillis
435e7da93f Changed SDK tutorial based on latest repo changes and some feedback.
Addressed some review comments.

Latest changes to SDK tutorial based on review comments.

Corda SDK -> CorDapp Template

Addressed review comments + added some new sections.

Added pic of run config drop down menu.

Added a couple of additional sections.

Refactored the 'how to make a cordapp' how to a separate docs pages and stubbed it out for comments.

Added index.rst

Additional changes based on feedback.

Addressed review comments. Removed spurious buuildinfo file.

Minor changes based on richard's comments. Still waiting on resolution of dev experience preference.

Changed milestone release workflow. Users now should checkout a specific tag.
2016-11-28 15:42:48 +00:00
Andrius Dagys
2f37024af7 Added tutorials on how to use & run a notary. 2016-11-28 15:15:13 +00:00
Mike Hearn
3d77ed2575 Tech whitepaper: take out confidentiality notice and re-render 2016-11-28 14:27:23 +00:00
Mike Hearn
a693330cbb Rerender tech whitepaper PDF 2016-11-28 14:23:39 +00:00
Mike Hearn
6c8996fb5e Tech white paper: update example from Sofus 2016-11-28 14:22:11 +00:00
RogerWillis
ce64dbeba7 Added some additional sections and fixed some typos 2016-11-28 14:19:43 +00:00
RogerWillis
d243ef298a Beginnings of CorDapp SDK tutorial 2016-11-28 14:19:43 +00:00
Mike Hearn
536b79a5f2 Tech white paper: replace - with -- 2016-11-28 14:14:17 +00:00
Mike Hearn
53b90147d9 Tech white paper: address review comments 2016-11-28 14:14:16 +00:00
Mike Hearn
a268e05dbb Tech white paper: add diagrams, a few more minor edits in response to feedback from Tim Swanson, Mark Oldfield and Richard Brown. 2016-11-28 14:14:15 +00:00
Mike Hearn
79537898df Merged in sofus-tech-whitepaper (pull request #567)
updated fx call option example
2016-11-28 14:13:45 +00:00
Sofus Mortensen
cd1fa99b43 updated fx call option example 2016-11-28 15:11:33 +01:00
Shams Asari
2f769b3db0 Cleaning up doc headers to be consistent wrt casing 2016-11-28 14:08:16 +00:00
Andras Slemmer
d9023fd889 docs: Line wrap integ test tutorial 2016-11-28 13:37:38 +00:00
Andras Slemmer
c6a994aca2 docs: Add setting-up-a-corda-network to index.html 2016-11-28 11:58:14 +00:00
Andras Slemmer
2bb1ecdfc1 docs: Add note on self-issuance example in integtest tutorial 2016-11-28 11:52:12 +00:00
Andras Slemmer
220ccdbe13 docs: Add integration test tutorial 2016-11-28 11:52:12 +00:00
Patrick Kuo
2d46249d87 Merged in pat-permissioning-doc (pull request #545)
doc : Network Permissioning
2016-11-28 09:40:38 +00:00
Andrius Dagys
946cfda03e Added a distributed notary demo that runs a notary cluster and gets several transactions notarised 2016-11-25 17:09:57 +00:00
Clinton Alexander
5af5cc100a Updated documentation to reflect current gradle plugins build cycle. 2016-11-25 16:56:09 +00:00
Patrick Kuo
55ea753c52 Added dev mode to the example config 2016-11-25 16:35:43 +00:00
Patrick Kuo
be81e9b620 permissioning doc 2016-11-25 16:33:00 +00:00
Andras Slemmer
44d1b79ef9 docs: Address PR 513 comments 2016-11-25 15:33:04 +00:00
Andras Slemmer
720bb55827 docs: setting-up-a-corda-network 2016-11-25 15:32:33 +00:00
Mike Hearn
8d773d951b Docs: fix broken image links 2016-11-25 13:08:57 +01:00
Rick Parker
699710b736 Merged in parkri-remove-quasar-scan (pull request #540)
quasarScan removal.  It's no longer required by our code base.
2016-11-24 16:28:44 +00:00
rick.parker
8ec21eedb3 quasarScan removal. 2016-11-24 16:27:51 +00:00
rick.parker
492005bcfe Fix up and improve some docs 2016-11-24 15:06:10 +00:00
rick.parker
d68cc0467c Fix bad merge on index.rst 2016-11-24 08:21:21 +00:00
Ross Nicoll
54620200f5 Discuss contract design in the contract writing tutorial
Signed-off-by: Ross Nicoll <ross.nicoll@r3cev.com>
2016-11-23 17:50:15 +00:00
Matthew Nesbit
6ecdf5a946 Document on plugin loading framework and a tiny tweak on logging.
Word wrap document.

Change protocol to flow.

Try to improve plugin discussion based on PR comments.

add comma
2016-11-23 17:20:56 +00:00