Commit Graph

2761 Commits

Author SHA1 Message Date
Andras Slemmer
4f44962962 Add kdocs on service addressing 2016-12-15 11:36:06 +00:00
Andras Slemmer
6a796cef35 Add raft notary integration tests, testing service addressing 2016-12-15 11:36:06 +00:00
Andras Slemmer
7ee88b6ec8 Add SMM test for round robin node picking 2016-12-15 11:36:06 +00:00
Andras Slemmer
fd436b0cdc artemis, sessions, mock: Add Service addressing, tests pass 2016-12-15 11:36:06 +00:00
Andras Slemmer
978ab7e35e Merge pull request #65 from corda/aslemmer-fix-simm-valuation-demo-kryo
Fix simm-valuation-demo's kryo
2016-12-14 18:01:40 +00:00
Andras Slemmer
0e54766b87 Fix simm-valuation-demo's kryo 2016-12-14 17:58:23 +00:00
Andras Slemmer
7752a8dd46 Merge pull request #64 from corda/aslemmer-fix-simm-valuation-demo-kryo
Fix simm-valuation-demo's kryo
2016-12-14 16:30:09 +00:00
Andras Slemmer
a7c079967c Fix simm-valuation-demo's kryo 2016-12-14 16:28:55 +00:00
Joel Dudley
1d1a067ead Adds a warning regarding vault access in @Suspendable functions 2016-12-14 15:23:09 +00:00
Shams Asari
7afa3346d6 Updated docs and TODOs to be inline with recent changes to the doorman 2016-12-13 17:03:15 +00:00
Andras Slemmer
e198a93b4d Merge pull request #54 from corda/aslemmer-fix-trader-demo-jarurlinputstream
rpc-kryo: Kryo register hidden jar url inputstream class
2016-12-13 12:17:58 +00:00
Andras Slemmer
09e11f8435 rpc-kryo: Kryo register hidden jar url inputstream class 2016-12-13 11:51:14 +00:00
Joel Dudley
7d79f3d6d2 Updates CorDapp template docs to reflect inclusion of java source files and new info on running nodes across machines. (#52)
Updates CorDapp template docs to reflect inclusion of java source files.
2016-12-12 18:48:35 +00:00
Patrick Kuo
a4201c7152 This fixes the node startup issue - https://github.com/corda/corda/issues/37 (#48)
* Create missing artemis bridge when node is added to the network map
* Added integration test for this issue
* addressed PR issues
2016-12-12 13:29:31 +00:00
Matthew Nesbit
fc69624f41 Merge pull request #47 from corda/mnesbit-fix-corruption-in-memory-network-tests
Fix errors with multi-thread InMemoryMessagingNetwork
2016-12-12 09:15:52 +00:00
Clinton Alexander
d429385e72 Fix: Capsule did not contain caplet due to an incorrect path. 2016-12-09 17:58:00 +00:00
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