Commit Graph

5013 Commits

Author SHA1 Message Date
37b34c6fc1 Remove unused code. (#2071) 2017-11-16 17:01:46 +00:00
85071f227a Reflects tutorial changes and CorDapp build docs changes from release-V1. 2017-11-16 15:31:52 +00:00
55bcf295ee Move class to the only place that uses it. (#2067) 2017-11-16 14:40:39 +00:00
5bdbd2457a Removal of transaction contract state as BLOB in VaultStates table. (#2034)
* Removal of transaction contract state as BLOB in VaultStates table.
Transaction contract state now resolved using StateLoader (from DBTransactionStorage).

Fixed broken JUnits.

* Changes to address review comments by RP

Address logic error.

* Fixed failing JUnit (CashExitFlowTests.exit zero cash).

* Fix VaultQueryTests to respect transaction visibility boundaries.

* Adopt consistent use of "session" using DatabaseTransactionManager.

* Removed redundant transaction demarcation boundaries in Vault Query tests.
2017-11-15 19:28:04 +00:00
b423fea537 Consistent database tables naming convention. (#2064)
* Added explicit table names (mostly for join tables).
* Shorten or alter name of 2 tables backing notaries.
* Change a compound index declaration to one column index.
2017-11-15 18:35:26 +00:00
8e18e1ba2a Updates flow cookbook to use freshKeyAndCert not freshKey. 2017-11-15 16:49:06 +00:00
d78308f510 Detangle issuers in NodeVaultServiceTest (#2057)
Detangle issuers in NodeVaultServiceTest, which has been using two keys on a single node, for different
issuing identities, which doesn't work right now because we don't actually have multiple identity support.

Also remove duplicate data in parameters to fillWithSomeTestCash().
2017-11-15 15:26:17 +00:00
7337996e08 Add config library and default config to webserver JAR (#2047)
* Add config library and default config to webserver JAR

* Applied Clinton's feedback to create a config rather than do filtering.
2017-11-15 15:03:15 +00:00
92c8861802 [CORDA-760]: Propagate invocation context across the codebase. (#2016) 2017-11-15 14:58:43 +00:00
f0a5ea96e7 Consistent database columns naming convention. (#2043)
* Consistent database column naming convention.
* Remove a column length constraint in NodeAttachmentService.
2017-11-15 13:09:25 +00:00
4e263a1981 Removed incorrect @Lob annotation from key_hash schema fields. (#2033) 2017-11-15 12:14:45 +00:00
419fe5063f Merge pull request #2055 from thschroeter/thomas-store-raft-index
Store Raft commit index in DistributedImmutableMap
2017-11-15 11:40:00 +00:00
b5fffa76f2 Retire a lateinit var. (#2038) 2017-11-15 11:24:27 +00:00
c4a9320e70 CORDA-716 Don't allow the netty global executor to inherit serialization env holder (#2048)
and close some dangling RPC connections.
2017-11-15 11:22:35 +00:00
ecd09b7e6c Store raft commit index in DistributedImmutableMap 2017-11-15 10:52:22 +00:00
2577c75f28 Merge pull request #2046 from thschroeter/thomas-remove-snapshotting
CORDA-767: Raft Notary: remove snapshotting
2017-11-15 09:59:34 +00:00
75d42a25fb Removed ValidateClasspathTest smoke test, as NodeProcess.Factory does the same thing and has wider coverage 2017-11-14 20:52:14 +00:00
2fe41715cc On exit, the driver will automaticallly shutdown any nodes which weren't waited for.
The motivation for this came with the recent change that a default notary is started by the driver, which if ignored will leak the notary process.

Also, waitForAllNodesToFinish() has been replaced by a driver parameter.
2017-11-14 20:20:00 +00:00
fc8ed34205 Switch from compaction mode sequential to full
Full requires the command to be `closed` before it can be removed from
the log during compaction. We don't close commands, thus and retaining
the log forever, allowing users to increase the cluster size. The
downsize is the unbounded growth of the size of the log.

Cluster membership changes need testing.
2017-11-14 16:34:41 +00:00
b0af1c715c From code review 2017-11-14 15:24:02 +00:00
4e67a979a0 Added some more details regarding setting log levels for individual modules 2017-11-14 15:24:02 +00:00
8a5bbe7cf8 Merge pull request #2018 from thschroeter/thomas-raft-notary-bootstrap
CORDA-768: Raft Notary: bootstrap command line flag
2017-11-14 14:48:34 +00:00
0d2382619b Raft Notary: bootstrap command line flag 2017-11-14 13:51:21 +00:00
64a9946f03 Replace artemis network map with http network map (#1970)
* Network map cache using Network map client instead of artemis. -- WIP

* fix up after rebase

* address PR issues, split network map update test, added todos to remove sleeps

* move jimfs and baseDir to field variable
2017-11-14 11:37:50 +00:00
3627cc9fc2 Vault query - return single column which groups multiple aggregation functions.
* Vault query was returning redundant selects (repeated column used to 'group by') for query with multiple aggregation functions.
2017-11-14 11:20:57 +00:00
2d997b1fa7 Retire verifierDriver serialization init. (#2026) 2017-11-14 10:45:36 +00:00
b23e727685 Raft Notary: change compaction mode to sequential
Keep log until it has been applied to all replicas.
2017-11-14 10:39:16 +00:00
cf33be66ff Raft Notary: remove snapshotting 2017-11-14 10:39:16 +00:00
887dc68a45 RELEASE - Increment Platform Version Number (#2040)
Takes account of the observer node addition in the release of V2.0
2017-11-14 10:29:59 +00:00
1a02c9a74f AttachmentCriteriaQuery class and infrastructure (#2022)
* Attachments metadata support
2017-11-14 10:22:02 +00:00
2a961b8e2c Separate server contexts from shared contexts. (#2044) 2017-11-13 21:23:23 +00:00
687a992262 CORDA-716 Make asContextEnv available to smoketesting (#2039) 2017-11-13 18:28:54 +00:00
c583af8f4b Add AbstractPartyDescriptor to stop Hibernate warning (#1878) 2017-11-13 18:04:38 +00:00
58e0882d37 Merge pull request #2041 from corda/kat/bugfix/removeBadImport
BUGFIX: Remove bad import
2017-11-13 17:57:08 +00:00
81869535b3 BUGFIX: Remove bad import 2017-11-13 16:01:40 +00:00
b8b3911ceb Fix the BFT startup consensus workaround. (#2042) 2017-11-13 15:45:26 +00:00
d7ce405ec5 Fix RPCStabilityTests.client doesnt leak threads when it fails to start (#2037) 2017-11-13 09:43:12 +00:00
076a8ab937 Step through cert path when registering (#2027)
Ensure when registering identities, we store the certificate closest to the trust root, with the same name. This ensures that looking up an identity by name produces the best match, not earliest registered identity (often but not necessarily the same).
2017-11-10 17:41:45 +00:00
6a569fb3f1 Retire findTokenizableService. (#2036) 2017-11-10 16:40:18 +00:00
052124bbe0 CORDA-716 Make serialization init less static (#1996) 2017-11-10 15:44:43 +00:00
cc4c732a48 CORDA-715 Upgrade Artemis from 2.1.0 to 2.4.0 (#2029) 2017-11-10 15:42:05 +00:00
001cb4f901 Don't blow up if a param is anonymous e.g. underscore. (#2020) 2017-11-10 15:19:41 +00:00
83857950fe Merge pull request #2028 from corda/cburlinchon-amqp-contract-attachment-serializer
ENT-1031 AMQP serializer for ContractAttachment, evaluate lazy attachment
2017-11-10 15:12:26 +00:00
39e2f6ad99 ENT-1031 AMQP serializer for ContractAttachment, evaluate lazy attachment and write out in full 2017-11-10 14:42:18 +00:00
2a83167d3b Merge pull request #2024 from corda/christians_public-key-caching-hooks
Public key customization hooks
2017-11-10 13:37:37 +00:00
5354c777ce CORDA-781 code layout cleaned up 2017-11-10 11:54:03 +00:00
52dea9e5c3 Merge pull request #1958 from corda/christians_nodeconfig-fix
Add helper for checking whether to check checkpoints and unit test it.
2017-11-10 11:28:13 +00:00
449a714478 Merge pull request #1999 from corda/christians_fix_irs-demo-deploy
IRS demo gradle files
2017-11-10 11:26:40 +00:00
b0517954a0 CORDA-781 clean up imports 2017-11-10 11:10:06 +00:00
13001ee674 CORDA-781 code review: clean up AMQP scheme 2017-11-10 10:23:19 +00:00