Commit Graph

2845 Commits

Author SHA1 Message Date
Clinton Alexander
40bddd6403 Fix: Samples could not be deployed due to an incorrect build.gradle task target. 2016-12-09 17:45:21 +00:00
Shams Asari
9d98673c66 Added commonName extension method to X500Name and helper class for x509 cert factories 2016-12-09 17:13:00 +00:00
Matthew Nesbit
6eb74ba10a There have been strange serialization errors in tests using the InMemoryMessagingNetwork when run in multi-threaded mode. It appears that the root cause is Kryo transiently modifies the source ByteArray. Therefore we must give each thread/node in the network a separate message data copy. 2016-12-09 16:25:18 +00:00
Clinton Alexander
57975c6e91 Bank of corda demo now uses the correct runtime artifacts dependency. 2016-12-09 15:17:07 +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
Clinton Alexander
ba321121e5 Fixed instructions in readme 2016-12-09 15:05:18 +00:00
Joel Dudley
58163823e8 Merge pull request #46 from corda/joel-java-interop-todos
Adds todos that will improve java interop.
2016-12-09 14:55:20 +00:00
Joel Dudley
ae349a8831 Adds todos that will improve java interop. 2016-12-09 14:30:52 +00:00
Rick Parker
a007ecf980 Merge pull request #45 from corda/parkri-external-observations-2
Move Flow returned Future complete outside database transaction
2016-12-09 12:58:55 +00:00
rick.parker
b52c52378f Move Future completion outside database transaction so that the effects of the flow will be externally visible at Future completion. 2016-12-09 09:21:59 +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
c0694d0e05 Merge pull request #43 from corda/joel-cordapptemplate-docs-change
Updates the cordapp-template docs to reflect new structure.
2016-12-08 15:53:33 +00:00
Mike Hearn
5f603a94f0 Minor: add a TODO 2016-12-08 14:06:32 +00:00
Joel Dudley
c02077bdbc Updates the cordapp-template docs to reflect new structure. 2016-12-08 13:44:50 +00:00
Clinton Alexander
5b4babf329 Removed redundant gradle extension variable to reduce complexity of build.gradle and clear up the process of changing the version numbers. 2016-12-08 12:18:26 +00:00
Andrius Dagys
b57aec1962 Minor: make distributed notary test use a different folder on every run 2016-12-08 12:15:48 +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
76a66f0021 Merge pull request #2 from corda/aslemmer-irs-trader-demo-rpc
Local RPC, demos use RPC
2016-12-08 12:12:42 +00:00
Andras Slemmer
4fe1d48e4a demos: Fix demo RPC serialisation after rebase 2016-12-08 11:58:31 +00:00
Andras Slemmer
9117ec9860 Simplify InputStreamSerializer, make NODE_USER role explicit 2016-12-08 11:58:31 +00:00
Andras Slemmer
a601f0abf5 Local RPC, demos use RPC, NODE has special privileges 2016-12-08 11:58:31 +00:00
Roger Willis
bbba7d3f19 Merge pull request #41 from corda/joel-readme-changes
Adds slack link and 'Building on Corda' section
2016-12-08 10:21:57 +00:00
kasiastreich
036b1b4964 Fix double spending of inputs issue on ledger level in test dsl. (#15)
* Fix double spending of inputs issue on ledger level in test dsl.

* Address PR comments.
2016-12-08 10:15:33 +00:00
Joel Dudley
7702154b22 Adds slack link and 'Building on Corda' section 2016-12-08 10:09:10 +00:00
Clinton
365bc58fc2 Merge pull request #38 from corda/clint-disabledocstest
Disabling flakey WorkflowTransactionBuildTutorialTest test ...
2016-12-07 17:11:44 +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
Clinton Alexander
f5e03099e3 Updated to newer Kotlin version. 2016-12-07 16:43:05 +00:00
Matthew Nesbit
893b4b5393 Merge pull request #34 from corda/mnesbit-add-wait-hooks-for-scheduled-flow-testing
Add some hooks to StateMachineManager and NodeSchedulerService
2016-12-07 16:12:36 +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
Joel Dudley
41fca0c1eb Merge pull request #36 from corda/joel-jvmname-annotations
Adds JvmName annotations where necessary to improve interop when deve…
2016-12-07 14:15:42 +00:00
Joel Dudley
03b5e9bced Address review comments. 2016-12-07 14:15:20 +00:00
Mike Hearn
eb096d520b Merge pull request #23 from stevenroose/rename-license
Renamed file LICENCE to LICENSE
2016-12-07 13:15:57 +00:00
joeldudleyr3
432015ddfe Adds JvmName annotations where necessary to improve interop when developing CorDapps in java. 2016-12-07 12:12:18 +00:00
Patrick Kuo
fbcbf3e1d7 Network view improvement (#19)
Changes :
*Show other nodes on network map.
*Enabled zooming and panning on the map.
*Scroll the node label to the centre of the screen when clicking on the node info list on the right hand-side of the screen.
*Draw line and fire bullets between nodes according to incoming transactions.
*Higher resolution map.
2016-12-07 09:55:16 +00:00
Shams Asari
bddb22db77 Further fixes to messaging.rst 2016-12-06 21:14:21 +00:00
Clinton Alexander
f1daae0491 To avoid needing to bump three different files upon updates, a common publish properties file has been added. 2016-12-06 16:29:15 +00:00
Clinton Alexander
87e5c9bf46 Added documentation and buildscript to allow full bootstrapping without modifying build files. 2016-12-06 16:14:06 +00:00
Clinton Alexander
1b052b07ec Returned to using more readable bintray syntax. 2016-12-06 16:06:16 +00:00
Clinton Alexander
a6d1a07670 Added documentation for the new publishing functionality of publish-utils. 2016-12-06 16:06:16 +00:00
Clinton Alexander
41b0b6c0b1 Re-added the capsule file. Fixed deploy with another publish option. 2016-12-06 16:06:16 +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
b24c628e34 Publications now publish JARs again. Install task now publishes again. 2016-12-06 16:06:16 +00:00
Clinton Alexander
bf49dda731 Corda now publishes with updated publish utils. 2016-12-06 16:06:16 +00:00
Clinton Alexander
4b2d786724 Bintray configuration block now contains all fields required for the bare minimum POM. 2016-12-06 16:06:16 +00:00
Clinton Alexander
6ac7b9384d All gradle plugins can now be published with the publishing plugin. 2016-12-06 16:06:16 +00:00