ba84ce7358
Merged in aslemmer-integtest-docs (pull request #553 )
...
docs: Add integration test tutorial
2016-11-29 11:47:27 +00:00
f5ecddb4b2
Add get() method to identity service
2016-11-28 18:01:03 +00:00
38876e3984
Introducing Future.getOrThrow() which throws the cause of the ExecutionException
2016-11-28 15:21:22 +00:00
220ccdbe13
docs: Add integration test tutorial
2016-11-28 11:52:12 +00:00
87bd97d0c7
Check for duplicate transaction records
2016-11-24 18:00:04 +00:00
8ec21eedb3
quasarScan removal.
2016-11-24 16:27:51 +00:00
f68529d1fd
Rename protocol to flow.
2016-11-22 17:17:14 +00:00
64299591c3
Rename PublicKeyTree -> CompositeKey and unify terminology across documentation.
2016-11-21 14:47:19 +00:00
063dbec505
Merged in clint-bintray (pull request #496 )
...
Removed duplicate gradle plugins and added bintray publishing tasks
2016-11-21 11:20:13 +00:00
31dd93523b
Merged in rog-additional-compiler-warning-fixes (pull request #502 )
...
Fixed an additional 2 compiler warnings.
2016-11-21 11:07:03 +00:00
33c80a7091
Fixed an additional 2 compiler warnings.
2016-11-19 18:46:41 +00:00
0d56846b1b
Added a distributed notary that uses the Raft consensus algorithm (implemented by Copycat).
...
The notary operates by storing committed input states in a map state machine which is replicated across the Copycat cluster.
2016-11-18 18:13:19 +00:00
bf70091172
Now depending on the plugins in jcenter and not buildsrc.
2016-11-18 14:41:06 +00:00
7f0dd1ab5b
Generic startProtocol and typesafe wrappers, per-protocol permissions, CashProtocol, remove executeCommand, move almost all Cash-related things to :finance
2016-11-15 16:46:37 +00:00
c33c55eb20
Replace PublicKey with PublicKeyTree in Party. A single entity can now be identified by more than one key.
2016-11-14 14:57:16 +00:00
ce99f354cb
Rename com.r3corda -> net.corda
2016-11-10 17:14:24 +01:00
af8859ebf1
Merged in parkri-protocol-error-handling-fix (pull request #447 )
...
Fix handling of node shutdown so protocols don't blow up when they encounter the messaging layer already shutdown. Protocols will also stop resuming once shutdown has commenced.
2016-11-08 18:15:35 +00:00
fe6bf0e6ea
Implement controlled stop of StateMachineManager.
2016-11-08 17:53:43 +00:00
103817ec57
Add signing of transaction merkle root hash.
2016-11-08 17:41:32 +00:00
d195d6f69d
Merged in clint-httputilsjsonfix (pull request #450 )
...
Fixed HttpApi when sending strings
2016-11-07 17:15:21 +00:00
e823e11e85
Change places in code where instead of transaction id hash is used.
2016-11-04 17:15:59 +00:00
9fcdf70b33
Fixed putJson actually posting Json.
2016-11-04 16:23:56 +00:00
5ac679dd0e
String payloads to the HttpApi are assumed to be valid JSON and sent as is, previous behaviour would escape the string.
2016-11-04 15:59:56 +00:00
bd89da458b
Added nice extension methods for Path, which are more readable than the static methods from Files
2016-11-04 15:36:14 +00:00
8882b77b1b
Fixed quasar scanning.
2016-11-04 13:35:25 +00:00
7e198e7cf3
Renamed contracts project to finance to better reflect the purpose of the project.
2016-11-04 13:35:25 +00:00
6d39b71bf9
Simple RPC access control, with a demo control on the cash RPCs
2016-11-03 10:46:25 +00:00
276683e053
Merged in clint-attachmentdemosample (pull request #421 )
...
Moved attachment demo to another repo. Added ApiUtils.
2016-11-01 11:54:59 +00:00
7d08c0b068
Removed attachment demo.
...
Added ApiUtils - a library for managing api lifecycles with less boilerplate.
Added default values to http api and improved the api utils.
Fixed spacing and comments.
Removed withName and added a bad request response to handle error cases.
Replaced use of 400 error with a 404 and error message as per HTTP spec.
2016-11-01 11:53:49 +00:00
5898a15579
Upgrade H2 to 1.4 to fix curious file corruption issue encountered by Patrick.
2016-10-28 17:39:10 +01:00
c3533bac7d
Improved error reporting.
2016-10-28 13:46:43 +01:00
7eeea97653
Added new test utilities for HTTP requests.
2016-10-28 13:46:43 +01:00
39cbab9ce1
Removed trader demo integration test. Fixed the AttachmentDemo which had unnecessary coupling to the traderdemo. Added new test util func.
2016-10-28 13:46:43 +01:00
7d080c39df
Merge remote-tracking branch 'remotes/origin/master' into colljos-vault-code-clean-up-refactor
...
# Conflicts:
# core/src/main/kotlin/com/r3corda/core/contracts/Structures.kt
# node/src/test/kotlin/com/r3corda/node/services/NodeSchedulerServiceTest.kt
Fixed failing CommercialPaper test
(caused by re-use of same database transaction context for vault across two different transaction participants)
2016-10-27 12:56:08 +01:00
75f671a446
Decommissioned InMemoryVaultService service (all dependent Tests updated to use NodeVaultService)
2016-10-20 13:10:00 +01:00
30b7eec18c
Remove the file based checkpoints and transactions from the tests.
...
Messages requiring redelivery to late registered handler persisted in database.
Remove spurious comment and make local val not var
2016-10-19 16:33:12 +01:00
4db1836996
Unify messaging services to have a database and not support client type connections when they should use the RPC connections. Also, push NodeInfo across to the driver via the web interface to remove that use of startClient.
...
Fix typo
2016-10-18 17:48:52 +01:00
62dfea2a1a
Re-factoring of OnLedgerAsset generateSpend code (moved to VaultService)
2016-10-17 17:58:26 +01:00
02a9f8fe67
Remove SAME_THREAD executor and it's use in MockNetwork etc.
...
Remove all traces of unused optional Executor in messaging.
2016-10-12 12:02:28 +01:00
e48e09f04e
Session handshake optimised to carry the first send payload in the init message
2016-10-11 17:27:09 +01:00
1388454396
Never send transactions to the Notary that aren't signed by all parties. Toughen up to use validating Notary in general and put Client precheck into NotaryProtocol.
...
Rename method to better reflect its actions
Handle comments from PR
Correct indentation
2016-10-11 10:43:40 +01:00
1e836edd78
Change ServiceType to a sealed class from an abstract class
...
Allow AdvertisedServices to have their own identity and keys. Also, rationalise legalIdentity onto the local node's NodeInfo which is available on ServiceHub
Fixup after rebase
Remove legal identity that was on storage service. Now access via myInfo.legalIdentity and key via keyManagement lookup.
Enforce singleton notary per node for now
Tidy up based upon Rick's suggestions
Handle PR comments
clean up imports
Fix typo
Fixup rename
Capitalise comment
Eliminate unused variable warning
Make changes based upon PR comments
Cleanup whitespace changes
2016-10-07 13:44:51 +01:00
5ec22a7c9d
Merged in rnicoll-test-utils-maven (pull request #398 )
...
Add Maven publication of test-utils
2016-10-06 10:39:55 +01:00
c3f824001d
Removed unused ServiceRequestMessage class hierarchy and added sendRequest method
2016-10-06 10:27:35 +01:00
4117873b37
Add Maven publication of test-utils
...
Add Maven publication of test-utils, so that CorDapp tests can use test-utils.
2016-10-05 18:11:44 +01:00
c57229a944
New gradle task for packaging certificate singing request utility jar.
2016-10-04 16:56:18 +01:00
5e6533eb8a
Better use of Futures
2016-10-04 14:11:43 +01:00
53ecb0ecd9
Constrain class type passed to registerProtocolInitiator()
2016-10-04 12:57:22 +01:00
5efa0fd5b3
Advertised services now contain ServiceInfo which describes ServiceType and a service identifier. This will be used, e.g. for grouping distributed notary nodes into the same service cluster.
2016-10-04 11:36:26 +01:00
76808d36c3
Store protocol checkpoints in the DB, except during Single threaded MockNetwork activity, where we still use the file system based checkpointing. Make the Checkpoint acess a Sequence not an Iterable, so that we don't end up with all the checkpoints permanently resident in memory.
...
Split up storage initialisation so that there is less code copying in MockNode
Add header comment to DBCheckpointStorage class
Respond to PR comments
Resolve PR comments
Rename iterator on checkpoints
Fix typo
Fixup checkpoints in DB logic after Shams's PR
Delete duplicated code
2016-10-03 17:56:58 +01:00