Commit Graph

3894 Commits

Author SHA1 Message Date
Clinton Alexander
db5708e4df Fixed a crash in cordformation when trying to build nodes for a project with a file as a dependency and any other dependencies without a group 2017-09-05 11:48:05 +01:00
Joel Dudley
8cedce735f Applies tutorial fixes back onto M14. 2017-08-16 12:04:53 +01:00
Joel Dudley
129e5088cf Fixes the hello, world tutorial on M14 as well. 2017-08-15 15:58:35 +01:00
Joel Dudley
2e0fd0548f Update conf.py 2017-08-14 12:03:11 +01:00
Joel Dudley
95fa00f5a9 Update conf.py. 2017-08-14 12:02:07 +01:00
Joel Dudley
ff65e46340 Update version number on docsite (#1212) 2017-08-11 17:44:56 +01:00
Clinton Alexander
90684d2a5b Added M14 as a release to the docsite. 2017-08-08 17:29:01 +01:00
Roger Willis
0bf3cb6795 Use LinkedHashSet instead of HashSet as HashSet is BLACKLISTED!! (#1146) 2017-08-07 15:12:30 +01:00
Clinton Alexander
e7f78090ea Test common needs to be published by artifactory part 2. 2017-08-07 11:59:30 +01:00
Clinton Alexander
2b98e89385 Test common needs to be published by artifactory. 2017-08-07 11:59:16 +01:00
Clinton Alexander
ce1ced1b42 Fixed publishing to artifactory. 2017-08-07 11:37:26 +01:00
Clinton Alexander
0670c4e762 Compile fixes. 2017-08-07 00:08:09 +01:00
Andrzej Cichocki
4f620e3104 Fix the BFT notary demo. (#1172) 2017-08-06 23:58:36 +01:00
Joel Dudley
ab455db9f4 Update versions 2017-08-04 16:58:20 +01:00
Clinton
030dabbd7f M14 Release Notes (#1168)
* Created a new M14 gradle plugins version to fix a bug with using the 0.13.6 gradle plugins.

* Added first draft of M14 release notes and changelog.

* Vault Query improvements and fixes.

* remove note about an internal change

* Added improvements to release notes.

* Added release notes about templates and the need to upgrade.

* Added documentation about the removal of Guava types.

* Add release notes on identity

* Fixed spelling error.
2017-08-04 16:09:44 +01:00
Clinton Alexander
0f7a055356 Created a new M14 gradle plugins version to fix a bug with using the 0.13.6 gradle plugins. 2017-08-03 15:22:35 +01:00
Richard Green
97f304f3de Resolving conflicts 2017-08-03 13:35:36 +01:00
Ross Nicoll
145d870b7e Correct notary demo
* Use Cash contract instead of DummyContract in notary demo to remove dependency on test utils
* Check transactions to be recorded before filtering rather than after, as currently if the entire
list of transactions is already recorded, it's mis-reported as an empty input.
2017-08-02 17:49:28 +01:00
Clinton Alexander
cf176806e4 Bumped release to 0.14.0 2017-08-02 15:45:53 +01:00
Ross Nicoll
a5d41e0dc2 Remove BOC reference from trader demo client API
* Remove BOC reference from trader demo client API as it fails at runtime because the test constants are not available.
* Disable anonymisation in the command line trader demo.
2017-08-02 14:09:40 +01:00
Ross Nicoll
31420548f4 Sample corrections for M14
* Update node configurations to match changes to test constants
* Look up notary via RPC in attachment demo rather than using the static identity to ensure the correct key is resolved
* Use notary service identity instead of legal identity in Bank of Corda demo
* Correct typo in deprecation annotation in CordaRPCOps
* Update from deprecated calls to new equivalents
2017-08-01 14:09:47 +01:00
Ross Nicoll
7a8afa70ab Correct SIMM sample plugin
* Split SIMM plugin into separate plugin registry extension and web server plugin to resolve class loading error.
* Rationalise differences between Bank of Corda and SIMM demo build scripts to make side by side comparison easier.
2017-07-31 17:45:59 +01:00
Patrick Kuo
ac4725dc71 * remove x500 name validation when loading config file (#1137)
* added x500 name validation in Network registration.
* fix for github issue #1130

(cherry picked from commit 3a63f0c)
2017-07-28 16:21:08 +01:00
Clinton
3f5017f26b Renamed corda configuration in gradle to cordaCompile to be more explicit. (#1131)
* Renamed corda configuration in gradle to cordaCompile to be more explicit.

* Bumped version number of gradle plugins.
2017-07-27 18:04:50 +01:00
Clinton
68d05eee04 Added corda and cordaRuntime configurations and documentation on integrating with Corda (#1103)
* Added new corda and cordaRuntime configurations for cordapps to be able to explicitly depend on Corda and exclude corda dependencies from the fatjar

* Added corda integration section to docsite to describe how to integrate with Corda.

* Updated more of the documentation to reflect the new method of specifying core corda dependencies.

* Reorganised document logic to move all build system related documentation to the cordapp build systems page.

* Renamed cordapp build systems doc to match actual purpose.

* Improved the warning for building against a net.corda dependency in a cordapp

* Added a line of dialogue to show further reading for those reading about writing cordapps.
2017-07-25 17:54:36 +01:00
Katelyn Baker
2e480f8420 Merge pull request #1110 from corda/kat-arrayOfArrayTest
Ensure typename is calculated correctly for nested arrays
2017-07-25 17:21:06 +01:00
Katelyn Baker
96496fdeb5 REVIEW COMMENTS
Remove the recursive call from directly inside the string builder
2017-07-25 17:05:14 +01:00
Katelyn Baker
b8ae03410d Ensure typename is calculated correctly for nested arrays
We were relying on the Java typename conversion to work for our AMQP
envelope type selection, and only special casing arrays of primitives.

However with nested arrays this breaks as the intermediate serialises
for the nested arrays still have no idea as to what the underlaying type
is as the assumption will be being made that the type is a boxed
primitive.

Solution is to compute the typename properly, walking down the nested
array chain
2017-07-25 15:41:51 +01:00
Shams Asari
b080d4da3f Removed out-of-date warnings regarding the switchover to X.500 names 2017-07-25 13:16:10 +01:00
Andrzej Cichocki
dca2274bff Retire setup, and start return value. (#1101) 2017-07-25 12:42:02 +01:00
Joel Dudley
46fcbf369a Adds a missing bracket. (#1107)
Fixes docsite issues.
2017-07-25 11:31:24 +01:00
Katelyn Baker
6dc48e7cea Merge pull request #1106 from corda/kat-primArrayDeserialise
Add support for serialising arrays of unboxed primitives
2017-07-25 11:05:27 +01:00
Katelyn Baker
0ca1500422 Review Comments 2017-07-25 10:39:18 +01:00
Katelyn Baker
c63ed76a66 Complete tests for all prim array types
Remove the case for bytes as those do work with the existing code
2017-07-25 10:17:57 +01:00
Joel Dudley
5eb8b36809 Adds information on writing CorDapps. Reorg. 2017-07-25 09:26:35 +01:00
Katelyn Baker
f8116febad Arrays of unboxed primitives don't work 2017-07-25 09:18:03 +01:00
Shams Asari
407b467f67 Moved the majority of the contents of Utils.kt into either InternalUtils.kt or KotlinUtils.kt.
What remains is being dealt with in another PR.
2017-07-24 19:25:56 +01:00
Joel Dudley
8acbd86c70 Uses dynamic loading of dropdown versions. Styles box slightly. 2017-07-24 18:25:05 +01:00
Shams Asari
800f710fbb Generified Command so that it's more easier to use when querying from LedgerTransaction 2017-07-24 15:33:41 +01:00
Andrius Dagys
d2eb5507f9 Refactor transaction serialization caching (#1078)
* Cache deserialized rather than serialized WireTransaction. Prevent repeated deserialization when adding signatures to the SignedTransaction.

* Added a test to check that stx copying and signature collection still works properly after (de)serialization
2017-07-24 14:48:39 +01:00
Shams Asari
3e199e51fc Simplified the implementation of the tx query APIs with the introduction of Class.castIfPossible 2017-07-21 19:18:48 +01:00
Shams Asari
a485bbada8 Moved ThreadBox into core.internal 2017-07-21 18:01:29 +01:00
Matthew Nesbit
08d2e351d2 Merge pull request #1091 from corda/mnesbit-friendlier-transaction-access
Create a friendlier set of access methods to states on transactions
2017-07-21 16:13:18 +01:00
Matthew Nesbit
9a02a27619 Add state query methods to LedgerTransaction.
Update to use LedgerTransaction api

Push query output logic onto BaseTransaction and update usages where possible

Migrate a few more uses

Address some PR comments

Address some PR comments

Fixup after rebase
2017-07-21 15:41:00 +01:00
Rick Parker
fe9db6f1f7 Remove links to Kryo from serialization "clients" (#1079) 2017-07-21 14:23:05 +01:00
Katelyn Baker
e1551fc74e Merge pull request #1084 from corda/kat-cantDeserialiseChars
Fix to allow classes with char members to deserialize
2017-07-21 13:16:37 +01:00
Joel Dudley
bb4501c09c Updates the example CorDapp page. 2017-07-21 12:33:31 +01:00
Shams Asari
6f7794ac93 Rewrote the doc for TimeWinow to make it clearer 2017-07-20 15:36:47 +01:00
Ross Nicoll
b6902aada6 Use notary identity in Bank of Corda demo
Resolve notary identity via node identity in Bank of Corda demo.
2017-07-20 15:28:09 +01:00
Ross Nicoll
29ff4a7ef6 Stop logging entire result from a fiber, as it can be very large 2017-07-20 15:28:09 +01:00