Commit Graph

4468 Commits

Author SHA1 Message Date
Joel Dudley
5cd6f61a7f Fixes formatting. 2017-10-20 12:09:11 +01:00
Chris Rankin
2fe0a27139 Ensure that the contents of OpaqueBytes cannot be modified. (#1871) (#1881)
* Ensure that contents of OpaqueBytes cannot be modified.
* Update documentation and restore the signature verification check.
* Update the API definition.
* KDoc fixes.
* Update the changelog for v1.1.
2017-10-19 11:44:27 +01:00
Joel Dudley
0d5ac6f6d8 Outdated diagram, new service upgrade notes, extracts tut code from files. 2017-10-16 16:45:48 +01:00
Ross Nicoll
ea36cf12e6 Change IdentitySyncFlow to only offer own identities (#1812)
Change IdentitySyncFlow to only offer confidential identities matching the identity the flow is run as. This avoids risks of nodes being convinced to include a state with a confidential identity in it, by a remote node, then feeding the well known identity to the node during identity sync.
2017-10-09 17:31:57 +01:00
Chris Burlinchon
7a00898ba0 Typo 2017-10-09 11:29:00 +01:00
joeldudleyr3
0516dd4313 Adds indices, cleans up vault page. 2017-10-09 11:29:00 +01:00
Tommy Lillehagen
2806d3301a Merge pull request #1828 from corda/tlil/misc-tutorial-fixes-v1
Tutorial Fixes (#1823)
2017-10-06 16:15:49 +01:00
Joel Dudley
302ae9f746 Fixes the API docs. 2017-10-06 16:08:27 +01:00
Joel Dudley
a4f931eb32 Fix outdated shell command. 2017-10-06 14:31:02 +01:00
Tommy Lillehagen
045891cc15 Remove unnecessary this in sample code + minor changes to contract paragraph 2017-10-06 11:41:18 +01:00
Tommy Lillehagen
c176c81a71 Correct bad exception reference and various rendering issues 2017-10-06 11:41:05 +01:00
Chris Rankin
69eac5ac19 Merge pull request #1805 from corda/chrisr3-backport-scanner-to-V1
CORDA-684: Backport API Scanner plugin to v1.0
2017-10-05 16:44:52 +01:00
Chris Rankin
47f88cd088 Add README for our automated API check. (#1793)
* Add README for our automated API check.
* Mention that the Corda Release Manager is expected to update the API file.
2017-10-05 11:24:20 +01:00
Chris Rankin
4000dbe6f1 Derive working directory for API check from location of script. (#1789) 2017-10-05 11:24:04 +01:00
Chris Rankin
853caea94b Fail the API check for lines starting with a single '-'. (#1787) 2017-10-05 11:23:48 +01:00
Clinton Alexander
b78c2d2efa Added new API check script and API version 2017-10-05 11:23:29 +01:00
Chris Rankin
523d550b0d Set API definition to v1.0 2017-10-05 11:22:26 +01:00
Clinton
8bb7312e3d Added current API to CI directory (#1772) 2017-10-05 11:19:30 +01:00
Chris Rankin
208a0bd6a5 Annotate Gradle task inputs correctly. (#1752) 2017-10-05 11:18:56 +01:00
Chris Rankin
8f7253149a Gradle API Scanner plugin (#1669)
* Skeleton plugin.
* Implement Gradle api-scanner plugin, and apply it.
* Generate API documentation for any jar without a classifier.
* Fix usage of smokeTests classifier.
* Tweak Gradle API usage.
* Upgrade to fast-classpath-scanner 2.7.0
* Include interfaces and more modifiers in the class description.
* Allow system classes to be supertypes and implemented interfaces.
* Make API Scanner plugin configuration tweakable via build.gradle.
* Add a miserable amount of unit testing.
* Sort methods and fields using their natural comparators. Way easier!
* Add README for api-scanner plugin.
* Add @OutputFiles to ScanApiTask.
* Rename ScanApiTask to ScanApi.
* Allow the ScanApi task to be disabled.
* WIP: Create a top-level GenerateApi task to collate the ScanApi output.
* Exclude package-private classes, as well as bridge/synthetic methods.
* Replace "End of Class" delimiter with '##'.
* Don't scan modules whose API is still "in flux".
* Include constructors in the API definitions.
* Finish implementation of GenerateApi task.
* Update README to include GenerateApi task.
* Filter out Kotlin's "internal" methods.
* Assign "fatjar" classifier to the fat jar artifact.
* Enhance README for GenerateApi.
* Explain effect of api-scanner plugin, and link to Corda's API strategy.
* Tweak README
* Exclude synthetic Kotlin classes by analysing @Metadata.
* Allow us to exclude some classes explicitly from the API.
2017-10-05 11:18:39 +01:00
Joel Dudley
a21a3183c1 Removes broken link. 2017-10-05 11:14:40 +01:00
RogerWillis
5371b25630 Removed "unreleased" sections from the release notes and change log. 2017-10-03 11:35:39 +01:00
Viktor Kolomeyko
71a2ac0bce Improve API page wording (#1784) 2017-10-03 11:02:16 +01:00
Roger Willis
39c0c63bf1 fixed formatting for release notes. (#1782) 2017-10-03 10:17:40 +01:00
Roger Willis
359175eefa Fixed drop down.. probably. (#1780) 2017-10-03 09:34:30 +01:00
Gavin Thomas
458387ebe8 Updated release notes to fix minor typos (#1779)
Fixed bold type on simplified annotation driven scanning bullet and added bold type to module name bullets
2017-10-03 09:01:00 +01:00
josecoll
31be2a4917 Update corda version tag to 1.0.0 2017-10-02 17:12:32 +01:00
Mike Hearn
b01a8c548a Docs: more package descriptions and take non-stabilised APIs out of the docs build. (#1775) 2017-10-02 16:54:13 +01:00
Clinton
8c95d0b11a Made the visualiser into a regular JVM module - not a CorDapp. (#1771) 2017-10-02 15:59:26 +01:00
josecoll
059c330cae Release and upgrade notes for V1.0 (#1736)
* Release and upgrade notes for V1.0

* Update changelog.rst

* Update changelog.rst

* Formatting.

* Incorporating review feedback from KB and MN.

* "guarantee" instead of "promise"

* Updated with final review comments from KB and RGB.

* Updated upgrade notes to describe migration from removed CordaPluginRegistry.

* Minor clarification.

* Minor updates following final RGB feedback.

* Kat's further pedantic feedback

* Minor changes following feedback from KB.

* Incorporating review feedback from MH.

* killed 'patent-pending'
2017-10-02 15:44:18 +01:00
josecoll
e8fe1afff3 Minor: print a deprecation warning when the web server starts. (#1767) 2017-10-02 14:15:51 +01:00
josecoll
6f6cc4430a Updated documentation indices (#1754)
* Update documentation indices.

* Reference a moveable tag for V1 docs.
Remove redundant warning text.

* Reverted proposed usage of new docs release tag
2017-10-02 12:25:21 +01:00
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