Commit Graph

1722 Commits

Author SHA1 Message Date
Matthew Nesbit
478cb58dd6 Delay State Machine fiber start until network map cache is fully populated.
Add some unit tests of the late init behaviour.

Fix merge error

Change statemachine logic to use an in-memory only flag on checkpoints to track their materialisation during startup.

Add annotations for test method

Fix possible race condition on storing checkpoint objects

Correctly create checkpoint

Use then helper function

Cleanup imports
2016-09-19 12:15:33 +01:00
sofusmortensen
c328655f68 Universal: completed Cap unit test, full life cycle 2016-09-19 00:06:42 +02:00
sofusmortensen
2299b3beae Universal: fixed syntax issue that should have resulted in compile error 2016-09-18 18:09:00 +02:00
sofusmortensen
9c5ef6cdfe Universal: more refactor + cap rollout unit test 2016-09-17 16:16:18 +02:00
Rick Parker
1d5c7963c4 Merged in move-db-commit-at-protocol-finish (pull request #363)
Move db commit to after "protocol completed" future is set.
2016-09-16 14:22:17 +01:00
rick.parker
476db876d9 Move db commit to after "protocol completed" future is set.
Move db commit to after "protocol completed" future is set.
2016-09-16 13:56:49 +01:00
Rick Parker
9a6c6b17d6 Merged in cor-344-persistent-services (pull request #356)
Persistent services to survive a controlled stop/start of a node (ex.interest rates)
2016-09-16 12:24:49 +01:00
rick.parker
236a47104f Persitent network map and key service. Temporary persistence workaround for scheduler. 2016-09-16 12:14:56 +01:00
Patrick Kuo
542436caac Merged in pat-node-config-new-properties (pull request #358)
Permissioning server: added new node properties in node config for certificate signing request
2016-09-16 11:43:54 +01:00
Patrick Kuo
1388747484 Permissioning server: added new node properties in node config for certificate signing request 2016-09-16 11:42:33 +01:00
Mike Hearn
4d83f1489f Add a client library that provides an RPC mechanism for talking to the Corda node.
The RPC mechanism uses message queues and is essentially conventional except for the fact that it supports marshalling observables. An observable encapsulates a stream of ongoing events, and server-side observables sent to the client are automatically bound to message queues and managed by Artemis.
2016-09-16 10:13:21 +01:00
Rick Parker
25daa7d688 Merged in fix-hanging-scheduler-test (pull request #362)
Fix hanging test and fail fast on hang.
2016-09-15 17:15:38 +01:00
rick.parker
17c9d231f4 Fix hanging test and fail fast on hang. 2016-09-15 16:39:58 +01:00
Shams Asari
8ea20dd0d2 Removed session IDs from the send and receive methods of ProtocolLogic and are now partially managed by HandshakeMessage 2016-09-14 15:26:55 +01:00
Shams Asari
f314bab6c8 Replacing the two params of AbstractNodeService with single ServiceHubInternal 2016-09-13 11:52:31 +01:00
Rick Parker
53de66a23d Merged in cor-344-persistence-jdbc-transactions (pull request #353)
Add database transactions ready for more widespread persistence.
2016-09-13 10:48:48 +01:00
rick.parker
27cb1c3597 Introduce database transactions around message handling, web API and in protocols. 2016-09-13 10:47:50 +01:00
Andrius Dagys
422a766c1a Minor persistent uniqueness provider tweak 2016-09-13 10:37:53 +01:00
sofusmortensen
789bb2bb9d Universal: removed some debug code 2016-09-12 16:51:39 +01:00
sofusmortensen
143c6d2d90 Universal: started IRS contract/test, added min/max 2016-09-12 16:41:19 +01:00
Mike Hearn
ee637b79e2 Merge branch 'mike-fix-wms-for-k104' 2016-09-12 16:40:11 +01:00
Mike Hearn
f3b6352589 Merge branch 'mike-rename-amc' 2016-09-12 16:40:03 +01:00
Rick Parker
2f0a78c924 Merged in gradle-based-all-tests (pull request #347)
Remove non-gradle "All tests" as seems to hang and add several Gradle based run configurations.
2016-09-12 15:18:54 +01:00
rick.parker
0b1c3a09a9 Remove non-gradle "All tests" as seems to hang and add several Gradle based run configurations.
Added buildCordaJAR to install step.
2016-09-12 15:17:54 +01:00
Andras Slemmer
836933d223 experimental: Fix compile errors 2016-09-12 14:34:11 +01:00
sofusmortensen
9f6415efab Universal: Post refactor, rollout unit test passing 2016-09-12 13:49:50 +01:00
sofusmortensen
b93aa71afa Universal: checkpoint before refactor 2016-09-12 13:49:50 +01:00
Mike Hearn
0e37547af0 Rename ArtemisMessagingClient to NodeMessagingClient to make the purpose clearer once we start landing the clientrpc framework. 2016-09-12 13:16:45 +01:00
Mike Hearn
f6def0ef8f Minor: fix build for Kotlin 1.0.4 pre-release. It is stricter about some dubious code. 2016-09-12 12:18:35 +01:00
Andrius Dagys
dab883dcba Merged in andrius-persistent-notary (pull request #349)
Single node persistent notary
2016-09-12 10:30:47 +01:00
Andrius Dagys
0ed6a0ef4d Added a persistent uniqueness provider, backed by a JDBCHashMap.
Enabled a single node persistent notary.
2016-09-12 10:15:03 +01:00
Rick Parker
8cad9efd27 Merged in clockutils-fix (pull request #348)
Remove use of interrupts in ClockUtils
2016-09-09 16:46:35 +01:00
rick.parker
03a04d10ca Remove use of interrupts to in ClockUtils 2016-09-09 16:45:49 +01:00
Rick Parker
a11de4258a Merged in cor-344-persistent-map (pull request #338)
JDBC/Exposure table backed persistent map
2016-09-09 14:02:31 +01:00
rick.parker
879802f7fd JDBC backed persistent hash map implementation. 2016-09-09 14:01:05 +01:00
Matthew Nesbit
028fc72491 Merged in mnesbit-cleanup-remove-irs-from-node (pull request #346)
Move Interest Rate related classes out of :node
2016-09-09 12:16:23 +01:00
Matthew Nesbit
bf0721868e Move Interest Rate related classes out of :node to reduce dependency of :node module on any specific contract. (Currently only WalletMonitorService and CashBalanceAsMetricsObserver stop me removing the compil dependency of :node on :contracts rather than :core). This has required that I modify fixing protocol to require information on what class of Oracle to use. 2016-09-09 11:31:08 +01:00
Andras Slemmer
600c630f91 Merged in aslemmer-relax-tptp-tests (pull request #344)
Relax tptp tests
2016-09-09 11:24:19 +01:00
Andras Slemmer
02a1b93708 test-utils: Address PR comments on Expect, fix variance, add some comments 2016-09-09 10:54:16 +01:00
Andras Slemmer
d19e8b6a7b test-utils: Remove unnecessary type variable from Expect functions, fixes compile error 2016-09-09 10:54:16 +01:00
Andras Slemmer
0fc560d20a node: Relax TwoPartyTradeProtocolTests so it only checks a subsequence of store accesses 2016-09-09 10:54:16 +01:00
Andras Slemmer
ca93f33356 test-utils: Extend Expect DSL to work with Iterables 2016-09-09 10:54:16 +01:00
Mike Hearn
31f3bb28bb Fix build 2016-09-09 11:47:40 +02:00
Mike Hearn
34890b7678 Merged in james-encumbrances (pull request #289)
Encumbrances implemented by reference to an index of an output state
2016-09-09 11:32:03 +02:00
Mike Hearn
53967e26ae Minor type fix in the encumbrances doc section 2016-09-09 09:31:52 +00:00
Mike Hearn
5f048889f0 Merged in mike-tweak-erroror (pull request #343)
Minor: move ErrorOr into the core module and tweak its API a bit. Add a Path div operator.
2016-09-09 11:29:22 +02:00
jamescarlyle
b7e6c210d9 Merge with master
# Conflicts:
#	docs/build/html/_sources/index.txt
#	docs/build/html/_sources/protocol-state-machines.txt
#	docs/build/html/_sources/tutorial-contract-clauses.txt
#	docs/build/html/index.html
#	docs/build/html/protocol-state-machines.html
#	docs/build/html/searchindex.js
#	docs/build/html/tutorial-contract-clauses.html
#	docs/build/html/tutorial-contract.html
2016-09-09 09:43:14 +01:00
jamescarlyle
455a0ac9c9 Tidied document code example 2016-09-08 23:02:01 +01:00
jamescarlyle
e187c4d91d Further tweaks based on feedback - simplified the embedded timelock contract 2016-09-08 22:49:24 +01:00
Matthew Nesbit
71f0325a39 Merged in mnesbit-cleanup-integration-tests-not-in-default-build (pull request #345)
Ensure integration tests not directly called from build or installDist.
2016-09-08 16:41:42 +01:00