Commit Graph

4457 Commits

Author SHA1 Message Date
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
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