Commit Graph

4436 Commits

Author SHA1 Message Date
Joel Dudley
ec57d6c0ab Checking out the latest milestone will no longer be required. (#1761) 2017-10-02 11:33:47 +01:00
Ross Nicoll
5d2a69ef51 CORDA-670: Correct scanned packages in network visualiser (#1763)
* Add CorDapp dependency of IRS to network visualiser

* Set CorDapp directories
2017-10-02 11:28:32 +01:00
Joel Dudley
f0138dfe17 Tutorial refresh for v1.0 and moving of code into separate files. (#1758)
* Moves code sections in tutorials to code files.

* Removes wallet references.

* Updates repo layout doc.

* Removes remaining cordapp-tutorial references, replaced with cordapp-example.

* Fixes broken link.

* Misc docs fixes.

* Refreshes the ServiceHub and rpc ops api pages.

* Updates the cheat sheet.

* Updates cookbooks.

* Refreshes the running-a-notary tutorial.

* Updates flow-testing tutorial

* Updates tear-offs tutorial.

* Refreshes integration-testing tutorial.

* Updates to contract tutorial and accompanying code to bring inline with V1 release.

* Refreshes contract-upgrade tutorial.

* Fixed broken code sample in "writing a contract" and updated contracts dsl.

* Added contract ref to java code. Fixed broken rst markup.

* Updates transaction-building tutorial.

* Updates the client-rpc and flow-state-machines tutorials.

* Updates the oracles tutorial.

* Amended country in X500 names from "UK" to "GB"

* Update FlowCookbook.kt

* Amended cheatsheet. Minor update on contract upgrades tutoraial.

* Added `extraCordappPackagesToScan` to node driver.

* Changes to match new function signature.

* Update to reflect change in location of cash contract name.
2017-10-02 10:11:33 +01:00
Joel Dudley
27404005b2 Updates tutorials. (#1649)
* Updates tutorials.

* Addresses review comments.
2017-10-02 10:04:27 +01:00
Joel Dudley
569d4494d7 Fixes .rst formatting. (#1751) 2017-10-02 10:03:56 +01:00
Clinton
4f1715aafc Update Readme (#1756)
* Update Readme

Minor tweaks to Readme -- consistent capitalisation and more descriptive list of features (also reordered to put the important things first)

* Copied master readme.

* Update Readme

Minor tweaks to Readme -- consistent capitalisation and more descriptive list of features (also reordered to put the important things first)
2017-10-01 22:26:01 +01:00
josecoll
7160326288 Update gradle plugins version to 1.0.0 (#1753) 2017-10-01 22:25:24 +01:00
Joel Dudley
4488b1e7b0 Fixes dead links. (#1749) 2017-10-01 10:24:49 +01:00
Clinton
150f2f99c0 Added a contract constraints section to the key concepts doc. (#1704)
Documentation for contract constraints.

Added to index.

Review fixes round 1.

More review fixes.

Review fixes.

Explained package contents.

review fixes.

Addressed RGB's final review comments.

Updated source code type to 'java'
2017-09-30 13:10:58 +01:00
Clinton
84a60d161b V1 tests and fixes for the ContractConstraints work (#1739)
* V1 tests and fixes for the ContractConstraints work

* More fixes.
2017-09-29 17:18:06 +01:00
josecoll
e6c2b37f5a Update corda version tag to 1.0.0-RC4 (#1734)
* Update corda version tag to 1.0.0-RC3

* Update corda version tag to 1.0.0-RC4

* Update build.gradle
2017-09-29 15:46:22 +01:00
Rick Parker
30a829adbf Small API fixes against M16 (#1737)
* Move CompositeSignaturesWithKeys into net.corda.core.crypto package.

(cherry picked from commit 8f29562)

* Rename and move CordaPluginRegistry to reflect its real purpose now.
Simplify serialization code a bit.

(cherry picked from commit e2ecd3a)

* Docs: docsite improvements

* Remove discussion of webserver from 'writing a cordapp' page.
* Fixup some flow docs.
* Add a couple more package descriptions.

(cherry picked from commit 2aedc43)

* Review comments

(cherry picked from commit ba1d007)

* Review comments - always apply default whitelist and no longer load it via ServiceLoader

(cherry picked from commit 7d4d7bb)

* Added wording about renaming services resource file
2017-09-29 15:45:19 +01:00
Clinton
393323e082 Cordapps now have a name field. (#1664)
Corrected cordapp name generation.

Added changelog entry.
2017-09-29 13:25:49 +01:00
Katelyn Baker
3b0e5afb61 CORDA-594 - SIMM Demo doc update (#1723) (#1735)
* CORDA-594 - SIMM Demo doc update

For V1 write a series of JSON / curl commands a user can follow to run
the demo

* Review Comments

* Updated the rationale behind as to why SIMM was introduced.

* typo
2017-09-29 13:16:31 +01:00
Ross Nicoll
8fc996e330 Correct non-anonymous two party trade flow (#1731)
* Parameterize TwoPartyTradeFlowTests to confirm deanonymised functionality works.
* Correct handling of counterparty using well known identity in TWoPartyTradeFlow
2017-09-29 13:05:53 +01:00
Andrzej Cichocki
c0b59ef4f0 Document -parameters compiler arg for Java CorDapps. (#1712) 2017-09-29 12:21:34 +01:00
Rick Parker
fedc875370 Misc documentation fixes (#1694)
(cherry picked from commit 592896f)
2017-09-29 12:07:03 +01:00
Alberto Arri
314ba9dfe4 add message warning windows users they might need to manually kill explorer demo nodes started by gradle (#1717) (#1726) 2017-09-29 11:16:16 +01:00
Andrzej Cichocki
16aff47d32 Git-ignore Node Explorer config. (#1709) 2017-09-29 11:13:19 +01:00
Rick Parker
075e0bd673 Add @suppress (#1725) 2017-09-29 11:12:32 +01:00
Matthew Nesbit
2774d6193a Consistent use of CordaException and CordaRuntimeException (#1710)
* Custom exceptions in corda, should either derive from an appropriate closely related java exception, or CordaException, or CordaRuntimeException. They should not inherit just from Exception, or RuntimeException.

Handle PR comments

Add nicer constructors to CordaException and CordaRuntimeException

* Fix ambiguous defaulted constructor
2017-09-28 18:42:24 +01:00
Clinton
ca0090420b Fixes bugs with contract constraints (#1696)
* Added schedulable flows to cordapp scanning

Fixed a bug where the core flows are included in every cordapp. Added a test to prove the scheduled flows are loaded correctly. Added scheduled flow support to cordapp.

Renabled broken test.

Fixed test to prove cordapps aren't retreived from network.

Review fixes.

Fixed a test issue caused by gradle having slightly different paths to IntelliJ

* Fixed test for real this time.
2017-09-28 18:30:17 +01:00
Andras Slemmer
73e3690596 FlowSession docs (#1693)
* FlowSession docs (#1660)

* FlowSession docs

* PR comments

* Milder example flow name
2017-09-28 16:29:24 +01:00
Ross Nicoll
1723838a59 Address feedback on confidential identities docs (#1701)
* Address minor comments on confidential identities docs

* Expand on implementation details of confidential identities

* Cleanup

* Clarify details of the data blob in the swap identites flow

* Add that certificate path is not made public for confidential identities
2017-09-28 15:20:29 +01:00
Rick Parker
183cc15808 Hide SerializationContext from public API on TransactionBuilder (#1707)
* Hide SerializationContext from public API on TransactionBuilder

(cherry picked from commit 6ff7b7e)

* Hide SerializationContext from public API on TransactionBuilder

(cherry picked from commit 6ff7b7e)
2017-09-28 11:19:30 +01:00
josecoll
19e35e4e38 Update corda version tag to 1.0.0-RC3 (#1705) 2017-09-27 19:49:38 +01:00
Andrius Dagys
1518b447e7 CORDA-641: A temporary fix for contract upgrade transactions (#1700)
* A temporary fix for contract upgrade transactions:
during LedgerTransaction verification run the right logic based on whether
it contains the UpgradeCommand.

* Move ContractUpgradeFlowTest away from createSomeNodes()

* Remove assembleBareTx as it's not used
2017-09-27 19:23:03 +01:00
Andrzej Cichocki
3be251005a CORDA-642 Notary demo documentation fixes (#1682)
* Notary demo documentation fixes.

* One of the tables is prefixed.
2017-09-27 17:25:46 +01:00
Ross Nicoll
2416ceaee4 Identity documentation (#1620)
* Sketch initial identity docs

* Restructure confidential identity docs to better fit structure

* Split confidential identities into API and concepts

* Further expansion on basic identity conceptS

* Merge Party type into api-identity.rst

* Address feedback on written content

* Rework inline code with literalinclude

* Start addressing feedback from Richard

* Clarify use of "counterparty"

* Address comments on key concepts

* Correct back to US english

* Clarify distribution/publishing of identities

* Update changelog around confidential identities
2017-09-27 17:10:38 +01:00
josecoll
8dc2a96821 Unification of VaultQuery And VaultService APIs (into single VaultService interface) to simplify node bootstrapping and usability. (#1677) (#1688) 2017-09-27 14:40:17 +01:00
Andrius Dagys
bbc8bdf8a5 Fix validating notary flow to handle notary change transactions properly. (#1687)
Add a notary change test for checking longer chains involving both regular and notary change transactions.
2017-09-27 14:32:43 +01:00
mkit
dc0a8fecc4 Fixing flow snapshot feature (#1685) 2017-09-27 14:03:34 +01:00
Shams Asari
324804eabc Made problematic CordaRPCClient c'tor private (with internal bridge methods) and added correct c'tors for public use. (#1653)
initialiseSerialization param has also been removed.
2017-09-27 12:17:31 +01:00
Maksymilian Pawlak
98e7a8c42a IRS Fixes to bring UI closer to declared financial types (#1662) 2017-09-27 12:10:58 +01:00
Mike Hearn
ff1652704e Merge "A variety of small fixes" into the 1.0 release branch (#1673)
* Minor: improve javadocs in NodeInfo

* Minor: use package descriptions in Kotlin build of api docs too, not just javadocs.

* RPC: make RPCConnection non-internal, as it's a core API. Move docs around so they're on public API not internal API.

* Add an IntelliJ scope that covers the currently supported Corda API.

This is useful when used in combination with the "Highlight public
declarations with missing KDoc" inspection.

* Ironic: upgrade the version of the Gradle plugin that checks for upgraded versions of things.

It had broken due being incompatible with the new versions of Gradle
itself.

* Docs: flesh out javadocs on ServiceHub

* Docs: add @suppress to a few things that were polluting the Dokka docs.

* Docs: mention RPC access in NodeInfo javadoc
2017-09-27 11:39:41 +01:00
Chris Rankin
46cd71ca6e Declare this internal message string as "const". (#1676) 2017-09-27 11:38:18 +01:00
Patrick Kuo
668bf981d2 CORDA-637 Node Explorer shows Network Map Service in Cash Issue dropdown (#1665)
* [CORDA-637] Node Explorer shows Network Map Service in Cash Issue dropdown

* add TODO to remove the hack
2017-09-26 18:23:41 +01:00
Rick Parker
cd5088cc8b BIGINT fix for H2 coin selection. (#1658)
* BIGINT fix for H2 coin selection.

* Review feedback
2017-09-26 14:45:56 +01:00
Patrick Kuo
7b94f771b9 [CORDA-624] Node Explorer on Issuing cash throws MissingContractAttachements exception (#1656)
(cherry picked from commit 27fea4d)
2017-09-26 14:12:41 +01:00
Michele Sollecito
7f47c904f8 Fixed Simm Valuation Demo Test and enable serializabe java 8 lambdas. (#1655) 2017-09-26 13:56:54 +01:00
josecoll
38c61578a5 Updated corda release version to 1.0.0.RC2 (#1641) 2017-09-25 20:34:51 +01:00
Rick Parker
175e53d3d2 Extract identity helpers (#1636)
* First compiling version.  internal package accessed from finance and irsdemo

* Renaming
2017-09-25 17:49:34 +01:00
Mike Hearn
7cc23f007d Docs: add a note to the api index page about version 1.0 and which modules will have a stable API. 2017-09-25 18:38:52 +02:00
Mike Hearn
3386fadec3 Docs: move coding style from "Release process" section to "Other" 2017-09-25 18:38:52 +02:00
Rick Parker
d9715e970e CORDA-205: Supported core types documentation (#1621)
* Outline what is supported in AMQP serialization

* Object graph cycles

* Review feedback.

* Review feedback.

* Review feedback
2017-09-25 17:30:19 +01:00
Clinton
532bbb5cca Contract constraints (#1518)
* Contract constraints and attachment loading

Fix compiler warnings.

Fixed IdentitySyncFlowTests in confidential-identities.

Fixes.

Fix AttachmentClassLoaderTests.

Added a TODO.

Renamed cordapp service.

Fix compilation error in java code.

Fix RaftNotaryServiceTests

Fix AttachmentLoadingTest

Fix DistributedServiceTests and LargeTransactionTests.

Add cordapp packages to Verifier tests.

Refactor DummyContractBackdoor back out of internal package.

Resolve compiler warnings.

Consolidate excluding `isolated` project at top-level.

Fix contract attachment serialisation for remote verifier.

Fix integration tests for client:rpc.

Contract constraints and attachment loading

Fix compiler warnings.

Fixed IdentitySyncFlowTests in confidential-identities.

Fixes.

Fix AttachmentClassLoaderTests.

Added a TODO.

Renamed cordapp service.

Fix compilation error in java code.

Fix example compilation.

Fix RaftNotaryServiceTests

Fix AttachmentLoadingTest

Fix DistributedServiceTests and LargeTransactionTests.

Add cordapp packages to Verifier tests.

Refactor DummyContractBackdoor back out of internal package.

Resolve compiler warnings.

Consolidate excluding `isolated` project at top-level.

Fix integration tests for client:rpc.

Fixed issues with node driver and differing ZIPs.

Review changes.

Refactor GeneratedAttachment into node-api module.

Merge branch 'clint/hash-constraint' of https://github.com/corda/corda into clint/hash-constraint

Fixed compile error following rebase.

wip - test to check that app code isn't loaded from attachments sent over the wire.

Use Kotlin copyTo() rather than Apache's IOUtils.

Fixes

more fixes.

Removing unconstrained output.

More fixes.

Fixed another test.

Added missing plugin definition in net.corda.core.node.CordaPluginRegistry: net.corda.finance.contracts.isolated.IsolatedPlugin

Re-added missing magic string used in unit test.

Remove unused FlowSession variable.

* Review fixes.

* More review fixes.

* Moved Cordapp implementation to an internal package.

* More JVMOverloads.
2017-09-25 17:05:18 +01:00
szymonsztuka
2a7da1eb47 fix create-iou URL (#1633) 2017-09-25 17:01:14 +01:00
josecoll
7b59f80bb3 Vault Query API parameter rename to aid clarity (#1627)
* Vault Query API `contractType` renamed to `contractStateType` for clarity.

* Vault Query API `contractType` renamed to `contractStateType` for clarity.

* Vault Query Criteria attribute `CONTRACT_TYPE` renamed to `CONTRACT_STATE_TYPE` for clarity.

* All references to `contractType` renamed to `contractStateType` for clarity.
2017-09-25 16:02:32 +01:00
Joel Dudley
39bc25e74d Updates tx API page and makes corresponding cookbook changes. (#1624)
* Updates tx API page and makes corresponding cookbook changes.

* Addresses review comments.

* Addresses review comments.

* Addresses review comments.
2017-09-25 16:01:53 +01:00
Joel Dudley
54ad89e094 Removes hard-coded M12 references. (#1628) 2017-09-25 15:55:19 +01:00