Matthew Nesbit
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
Andrius Dagys
4e2f0e0ff9
Split out NodeConfiguration helpers into a separate utility class
2016-10-07 10:44:03 +01:00
Mike Hearn
0bcecac7f6
Merge branch 'master' of https://bitbucket.org/R3-CEV/r3prototyping
2016-10-07 11:11:54 +02:00
Mike Hearn
604aa05859
Minor: suppress useless warnings
2016-10-06 18:36:33 +02:00
Rick Parker
d7d5e54301
Merged in h2-client-access (pull request #397 )
...
H2 database exported via configurable port number.
2016-10-06 14:44:06 +01:00
rick.parker
2e3952ee1f
H2 database exported via configurable port number.
2016-10-06 14:33:56 +01:00
Ross Nicoll
31956ce78e
Merged in rnicoll-remove-tf (pull request #395 )
...
Remove trade finance contract code
2016-10-06 10:49:53 +01:00
Ross Nicoll
35aaac0c15
Remove trade finance contract code
2016-10-06 10:40:31 +01:00
Ross Nicoll
5ec22a7c9d
Merged in rnicoll-test-utils-maven (pull request #398 )
...
Add Maven publication of test-utils
2016-10-06 10:39:55 +01:00
Shams Asari
c3f824001d
Removed unused ServiceRequestMessage class hierarchy and added sendRequest method
2016-10-06 10:27:35 +01:00
Shams Asari
307c93858b
Using Checkpoint.id when storing Checkpoints
2016-10-05 18:30:46 +01:00
Ross Nicoll
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
Andrius Dagys
60d555d4ed
Updated AttachmentDemo with latest configuration changes
2016-10-05 18:00:58 +01:00
Andrius Dagys
6eb91ffe8b
Minor refactoring and api doc update
2016-10-05 17:48:04 +01:00
Andrius Dagys
4dedb6fc2e
Updated unfinished sentence in the docs
2016-10-05 17:48:04 +01:00
Andrius Dagys
893f6e4f50
Updated config docs
2016-10-05 17:48:04 +01:00
Andrius Dagys
d76ab32c7c
Set default notary in configuration to be validating
2016-10-05 17:48:04 +01:00
Andrius Dagys
e5072a8854
FullNodeConfiguration: make use of the getOrElse helper
2016-10-05 17:48:04 +01:00
Andrius Dagys
727c3ac5fc
Node: get artemisAddress and webAddress from the config rather than constructor parameters
2016-10-05 17:48:04 +01:00
Andrius Dagys
e5c0c975bd
Remove hostNotaryServiceLocally config property – nodes need to specify the correct notary service type in extraAdvertisedServiceIds
2016-10-05 17:48:04 +01:00
Andrius Dagys
3b187a2171
Make Node override configuration and use FullNodeConfiguration so that no casting is needed
2016-10-05 17:48:04 +01:00
Andrius Dagys
fac12b4fce
Remove NodeConfigurationFromConfig and replace usages with FullNodeConfiguration
2016-10-05 17:48:04 +01:00
Ross Nicoll
9707ce7367
Merged in rnicoll-notary-error-handling (pull request #392 )
...
Simplify results from notary protocol
2016-10-05 14:36:19 +01:00
Ross Nicoll
f98abd4700
Simplify results from notary protocol
...
Restructure the Result class used in the notary protocol to use a sealed class, so that it's impossible for it
to be empty, removing that error case from the checks.
2016-10-05 14:33:02 +01:00
Ross Nicoll
a9541885ab
Merged in rnicoll-attachments (pull request #383 )
...
Add attachment demo and tutorial
2016-10-05 14:32:24 +01:00
Ross Nicoll
f1557e687b
Add attachement demo and documentation
...
Add a demo of attachments on transactions as a worked example for others to use, along with documentation
on how to run it, and how it functions.
2016-10-05 14:29:20 +01:00
Rick Parker
8d75fbc433
Merged in fix-kotlin-cast-error (pull request #396 )
...
Fix kotlin 1.0.4 error on use of Class.cast()
2016-10-05 14:00:39 +01:00
rick.parker
5419e773dc
Fix kotlin 1.0.4 error on use of Class.cast()
2016-10-05 13:59:18 +01:00
Rick Parker
aa3af60232
Merged in persistent-interest-rate-oracle (pull request #388 )
...
Persistent interest rate oracle
2016-10-05 13:47:25 +01:00
rick.parker
cd301c727e
First working version with database persistence in MockNetwork/Node.
2016-10-05 12:03:28 +01:00
Rick Parker
a15a2b1d9f
Merged in persistence-docs-typo-fix (pull request #394 )
...
Fix typo in persistence docs.
2016-10-05 11:47:19 +01:00
rick.parker
0266d6e3d6
Fix typo in persistence docs.
2016-10-05 11:46:40 +01:00
Clinton Alexander
38ba8c8759
Merge branch 'clint-cordamaven'
2016-10-05 11:44:11 +01:00
Rick Parker
4f9bc99a10
Merged in hibernate-integration-prototype (pull request #393 )
...
Hibernate ORM implementation for states.
2016-10-05 11:42:07 +01:00
rick.parker
ec975b0426
Hibernate ORM implementation for states.
2016-10-05 11:40:27 +01:00
Clinton Alexander
4d213698df
Updated docs to document building against Corda.
2016-10-05 11:35:12 +01:00
Clinton Alexander
1a87faf224
Corda JAR now publishes without -capsule at the end.
2016-10-05 10:46:46 +01:00
Andras Slemmer
07e528c659
docs: Address review comments
2016-10-05 10:40:18 +01:00
Andras Slemmer
3bb96f3f3e
node: Fix after rebase
2016-10-05 10:40:18 +01:00
Andras Slemmer
3b77de67b6
docs: add docs/source/example-code module, tutorial on the Client RPC API
2016-10-05 10:40:18 +01:00
Andras Slemmer
8e471c6768
node: Address review comments
2016-10-05 10:40:18 +01:00
Andras Slemmer
5af0e97444
Refactor explorer and friends to use RPC, remove NodeMonitor*
2016-10-05 10:40:18 +01:00
Patrick Kuo
415de1ce1f
Merged in pat-key-utility-command-line-tool (pull request #390 )
...
New gradle task for packaging certificate singing request utility jar.
2016-10-04 17:15:13 +01:00
Patrick Kuo
c57229a944
New gradle task for packaging certificate singing request utility jar.
2016-10-04 16:56:18 +01:00
Ross Nicoll
383814f235
Merged in rnicoll-register-revert (pull request #389 )
...
Revert constraint on registerProtocolInitiator()
2016-10-04 16:04:41 +01:00
Ross Nicoll
8b23fe6686
Merged in rnicoll-tf-contract (pull request #384 )
...
Add skeleton of receivable contract
2016-10-04 16:04:19 +01:00
Ross Nicoll
4099034791
Add receivable contract for Trade Finance Registry
...
This introduces the core of a receivable contract for the second stage Trade Finance Registry project.
This is a subset of the cope of the initial Trade Finance project, which focuses on managing
invoices/receivables only, and does not deal with the contents of the invoice yet.
2016-10-04 15:47:38 +01:00
Shams Asari
6b97fbb79f
Removed ValidatingClient as notary behaviour is not client configurable
2016-10-04 15:20:36 +01:00
Ross Nicoll
bd919bbe1b
Revert constraint on registerProtocolInitiator()
...
Revert constraint on registerProtocolInitiator(), as there may be cases that need it to not be
a ProtocolLogic. Added note to explain it's normally a ProtocolLogic but not always.
2016-10-04 14:54:26 +01:00
Shams Asari
5e6533eb8a
Better use of Futures
2016-10-04 14:11:43 +01:00