tudor.malene@gmail.com
063efe0c6d
Merge branch 'master' into tudor_merge_os_master
2018-10-02 15:50:20 +01:00
Florian Friemel
df4936c1fa
[CORDA-1926] Make CordappInfoResolver.withCordappInfoResolution @VisibleForTesting. ( #4011 )
...
Make CordappInfoResolver.withCordappInfoResolution and CordappInfoResolver.clear @VisibleForTesting.
2018-10-02 15:48:22 +01:00
Viktor Kolomeyko
63ae29d153
OS->Ent merge
2018-10-01 14:45:01 +01:00
Rick Parker
8bbc0d9f43
ENT-2431 Add caching metrics, consolidate tracing config and better default cache sizes ( #1418 )
2018-10-01 14:28:03 +01:00
Tudor Malene
f96a59932c
ENT-2222 Constraints propagation
...
ENT-2222 Fix tests
ENT-2222 Fix tests
ENT-2222 Add ledger transaction verification logic
ENT-2222 Fixed IRS test
ENT-2222 Fixed IRS test
ENT-2222 Fixed unit test
ENT-2222 Better kdocs
ENT-2222 Support for reference states
ENT-2222 Fix support for reference states
ENT-2222 Revert wrong change
ENT-2222 Fix Kdoc
ENT-2222 Fix Kdoc
ENT-2222 Better docs
ENT-2222 Address code review comments
ENT-2222 Fix test
ENT-2222 Fix rebase
ENT-2222 Add documentation around constraint propagation
ENT-2222 Add tests for contract propagation
ENT-2222 Add Signature Constraints propagation - first draft
ENT-2222 fix tests
ENT-2222 more tests
ENT-2222 unseal the TransactionVerificationException
ENT-2222 unseal the TransactionVerificationException
ENT-2222 more docs
ENT-2222 address code review comments
ENT-2222 address code review comments
ENT-2222 re-implement transition logic
ENT-2222 better comments and checks
ENT-2222 Fix tests
ENT-2222 merge fixes
2018-09-28 13:38:35 +01:00
Florian Friemel
842eac5c43
[CORDA-1926] Implement target version and min platform version ( #3899 )
...
https://r3-cev.atlassian.net/browse/CORDA-1926
2018-09-28 09:46:06 +01:00
Konstantinos Chalkias
e92ad538cf
CORDA-2031 put "AlgorithmParameters.SHA256WITHECDSA" to BC ( #3997 )
2018-09-27 15:21:12 +01:00
rick.parker
5469e41458
Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20180924-1
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/internal/NamedCache.kt
# docs/source/index.rst
# node/src/integration-test/kotlin/net/corda/node/services/messaging/ArtemisMessagingTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/network/PersistentNetworkMapCacheTest.kt
# node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
# node/src/main/kotlin/net/corda/node/services/messaging/P2PMessageDeduplicator.kt
# node/src/main/kotlin/net/corda/node/services/messaging/P2PMessagingClient.kt
# node/src/main/kotlin/net/corda/node/services/persistence/DBTransactionStorage.kt
2018-09-24 10:13:01 +01:00
Rick Parker
965f9ce528
ENT-2431 Lay foundations for caching metrics ( #3955 )
2018-09-24 09:55:56 +01:00
szymonsztuka
dc25fc28b7
Merge remote-tracking branch 'remotes/open/master' into corda/os-merge-20-09-2018
...
# Conflicts:
# core-deterministic/build.gradle
# core/src/test/kotlin/net/corda/core/utilities/KotlinUtilsTest.kt
# node/src/integration-test/kotlin/net/corda/node/BootTests.kt
# node/src/integration-test/kotlin/net/corda/node/flows/AsymmetricCorDappsTests.kt
# node/src/integration-test/kotlin/net/corda/node/modes/draining/P2PFlowsDrainingModeTest.kt
# node/src/main/kotlin/net/corda/node/internal/CordaRPCOpsImpl.kt
# node/src/main/kotlin/net/corda/node/serialization/kryo/Kryo.kt
# node/src/main/kotlin/net/corda/node/serialization/kryo/KryoSerializationScheme.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/internal/InternalTestUtils.kt
2018-09-20 16:39:34 +01:00
Roger Willis
c4d86b1b26
CORDA-1999 Changed isRelevant to relevancyStatus. ( #3966 )
...
* Changed isRelevant to relevancyStatus.
* Fix cash selection from breaking.
* Fixed non-backwards compatible API change.
* Updated schema migration changelog.
* Updated comment.
2018-09-19 15:50:39 +01:00
Michal Kit
492c25fedd
CORDA-1995 removing DigitalSignatureWithCertPath ( #3953 )
...
* CORDA-1995 removing DigitalSignatureWithCertPath
* Fixing unit tests
* Addressing review comments
2018-09-19 14:30:21 +01:00
Dominic Fox
98c92ef16f
CORDA-1391: Separate out Checkpoint serialization ( #3922 )
...
* Separate out Checkpoint serialization
* Update kdocs
* Rename checkpoint serialization extension methods
* Fix bungled rename
* Limit API changes
* Simplify CheckpointSerializationFactory
* Add CheckpointSerializationScheme to API checker
* CheckpointSerializationScheme should not be implemented
* Move checkpoint serialisation to internal package
* Remove CheckpointSerializationScheme from api-current
* Quarantine internal classes
* Remove checkpoint context from public API
* Remove checkpoint context from public API
* Fix test failures
* Completely decouple SerializationTestHelpers and CheckpointSerializationTestHelpers
* Remove CHECKPOINT use case
* Remove stray reference to checkpoint use case
* Fix broken test
2018-09-19 14:23:29 +01:00
Konstantinos Chalkias
7b4c4803b9
isRelevant didn't work for composite ownership, it's now fixed (under certain assumptions). ( #3967 )
2018-09-19 10:03:16 +01:00
Tudor Malene
32f279a243
ENT-2506 Changes signers field type
...
ENT-2506 Clean up some docs
ENT-2506 Fix tests and api
ENT-2506 Fix compilation error
ENT-2506 Fix compilation error
2018-09-19 08:48:21 +01:00
Michele Sollecito
5113f4c8c1
[CORDA-1941]: Server-side draining node shutdown. ( #3909 )
2018-09-18 13:04:26 +02:00
Shams Asari
c79dd8017d
CORDA-1264: Mask internal errors if devMode is false ( #3942 )
2018-09-17 15:44:51 +01:00
Anthony Keenan
fa6827ceaa
Fix broken smoke test ( #1393 )
2018-09-14 14:17:15 +01:00
Chris Rankin
4602a21a35
Merge pull request #1391 from corda/chrisr3-os-merge
...
Merge from Open Source
2018-09-13 15:14:50 +01:00
Shams Asari
725441b39c
Minor changes to bring in-sync with OS ( #1390 )
2018-09-13 12:53:06 +01:00
Chris Rankin
96597ba084
Merge commit '1c7dfd4b7b310e86b8aa973b8350487ba63c08b1' into chrisr3-os-merge
2018-09-13 11:06:52 +01:00
Thomas Schroeter
057ee74611
Single node notary thread safety ( #3924 )
2018-09-12 13:36:04 +01:00
Shams Asari
445ffc8404
Merge remote-tracking branch 'open/master' into os-merge-90a7dd2
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/crypto/internal/ProviderMap.kt
# core/src/main/kotlin/net/corda/core/messaging/CordaRPCOps.kt
# core/src/main/kotlin/net/corda/core/utilities/ByteArrays.kt
# finance/src/main/resources/migration/cash.changelog-master.xml
# finance/src/main/resources/migration/commercial-paper.changelog-master.xml
# finance/src/test/kotlin/net/corda/finance/flows/CashIssueFlowTests.kt
# node/src/integration-test/kotlin/net/corda/node/flows/FlowRetryTest.kt
# node/src/integration-test/kotlin/net/corda/node/modes/draining/P2PFlowsDrainingModeTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/statemachine/HardRestartTest.kt
# node/src/integration-test/kotlin/net/corda/services/messaging/P2PMessagingTest.kt
# node/src/main/kotlin/net/corda/node/Corda.kt
# node/src/main/kotlin/net/corda/node/services/keys/PersistentKeyManagementService.kt
# node/src/main/kotlin/net/corda/node/services/persistence/DBCheckpointStorage.kt
2018-09-12 11:37:11 +01:00
Viktor Kolomeyko
90a7dd2bf4
ENT-2489: Fix serialization for some of the CordaExceptions. ( #3925 )
...
Also add a unit test that exposes the problem.
Without these changes AMQP serialization fails with the following:
```
net.corda.serialization.internal.amqp.AMQPNotSerializableException: Constructor parameter - "reason" - doesn't refer to a property of "class net.corda.node.services.statemachine.SessionRejectException"
at net.corda.serialization.internal.amqp.SerializationHelperKt.toPropertyAccessorConstructor(SerializationHelper.kt:120) ~[corda-serialization-4.0-SNAPSHOT.jar:?]
at net.corda.serialization.internal.amqp.SerializationHelperKt.propertiesForSerializationFromConstructor(SerializationHelper.kt:107) ~[corda-serialization-4.0-SNAPSHOT.jar:?]
at net.corda.serialization.internal.amqp.custom.ThrowableSerializer.toProxy(ThrowableSerializer.kt:28) [corda-serialization-4.0-SNAPSHOT.jar:?]
at net.corda.serialization.internal.amqp.custom.ThrowableSerializer.toProxy(ThrowableSerializer.kt:12) [corda-serialization-4.0-SNAPSHOT.jar:?]
at net.corda.serialization.internal.amqp.CustomSerializer$Proxy.writeDescribedObject(CustomSerializer.kt:159) [corda-serialization-4.0-SNAPSHOT.jar:?]
```
2018-09-12 11:29:36 +01:00
Shams Asari
ca5d88e65a
Minor changes made in ENT which should have been ported over ( #3932 )
2018-09-12 11:26:37 +01:00
Shams Asari
4ffe2960db
Merge pull request #1379 from corda/os-merge-d56a80d
...
O/S merge d56a80d
2018-09-10 13:23:22 +01:00
Christian Sailer
cc58a0c34a
ENT-2414 Cache trace capture ( #1372 )
...
* Refactor cache tracing so it is available in core (without pulling in any extra dependencies
* Wrap all named caches in trace wrapper (if configured to create traces)
* Remove special case for NodeVaultService and initialise CacheTracing config as soon as possible.
* Keep checkCacheName internal
* Revert back to use Google Longs class rather than hand-rolled code.
* Add comment explaining unusual location of initialisation code.
* Code review rework
2018-09-10 11:56:39 +01:00
Shams Asari
31530b35c6
Merge fixes
2018-09-10 11:45:53 +01:00
Shams Asari
8e4547c811
Merge remote-tracking branch 'open/master' into os-merge-d56a80d
...
# Conflicts:
# core/src/main/kotlin/net/corda/core/internal/cordapp/CordappImpl.kt
# finance/build.gradle
# node/src/integration-test/kotlin/net/corda/node/services/messaging/ArtemisMessagingTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/network/PersistentNetworkMapCacheTest.kt
# node/src/main/kotlin/net/corda/node/VersionInfo.kt
# node/src/main/kotlin/net/corda/node/internal/Node.kt
# node/src/main/kotlin/net/corda/node/internal/NodeStartup.kt
# node/src/main/kotlin/net/corda/node/internal/cordapp/JarScanningCordappLoader.kt
2018-09-10 11:03:58 +01:00
Shams Asari
83e66d542d
Syncing Cordapp info code from ENT so that ENT-1731 is fully ported ( #3914 )
...
Also, Cordapp.Info has been made internal as it's not used in the public API
2018-09-10 10:43:00 +01:00
Shams Asari
46cbfefc77
Merge remote-tracking branch 'open/master' into os-merge-4f8a564
...
# Conflicts:
# experimental/behave/src/main/kotlin/net/corda/behave/process/Command.kt
# node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
2018-09-07 14:49:52 +01:00
Dan Newton
db6c7f38a5
Support for case insensitive vault queries ( #3853 )
...
* Make the criteria builder functions case insensitive
Add IGNORE_CASE versions of the comparison operator enums
Add exactMatch argument to criteria builder functions where strings can be passed in and set its default value to true
Use JvmOverrides to provide the default true version to java without needing to specify a value manually
If exactMatch is true then the original enums will be used, if false the IGNORE_CASE enums will be used instead
HibernateQueryCriteriaParser.columnPredicateToPredicate now takes into account the IGNORE_CASE versions of the enums
* Tidy up QueryCriteriaUtils and HibernateQueryCriteriaParser
Split HibernateQueryCriteriaParser.columnPredicateToPredicate into smaller functions
Reduce duplicated code in QueryCriteriaUtils
* Tidy up QueryCriteriaUtils and HibernateQueryCriteriaParser
Split HibernateQueryCriteriaParser.columnPredicateToPredicate into smaller functions
Reduce duplicated code in QueryCriteriaUtils (missed some code here)
* update changelog and api-vault-query docs with new API functions
* reorder Operator enums so that the ignore case enums are at the end
In case anyone is depending on the order of the enums, to keep compatibility with existing CorDapps the enums should be added at the end to prevent ordinals from breaking.
2018-09-07 10:20:21 +01:00
Anthony Keenan
230d91046c
Merge commit '20cd4539d637676ac55457fc7fe4df2ce8dacff8' into anthony-os-merge-20180906
...
# Conflicts:
# node/capsule/build.gradle
2018-09-06 16:03:39 +01:00
Michele Sollecito
584387d5ec
Fixed some problem I discovered while working on another story ( #3901 )
...
* - Fixed some problems with error handling for Observables.
- Eliminated incorrect double `stop()` call for RpcBroker.
- Added `Schedulers.shutdown()` call in `stop()` implementation for Node and Driver, to avoid stuck processes when observable pipelines go wrong.
* Fixed a missing import.
* Removed `Schedulers.shutdown()` for now.
* Fixed an issue with `pendingFlowsCount()` function.
2018-09-06 13:11:41 +01:00
Anthony Keenan
b8a4b68495
Merge remote-tracking branch 'open/master' into anthony-os-merge-20180906
...
# Conflicts:
# docs/source/contributing-index.rst
# docs/source/contributing.rst
# docs/source/running-a-node.rst
# node/src/integration-test/kotlin/net/corda/node/services/messaging/ArtemisMessagingTest.kt
# node/src/integration-test/kotlin/net/corda/node/services/network/PersistentNetworkMapCacheTest.kt
# node/src/main/kotlin/net/corda/node/Corda.kt
# node/src/main/kotlin/net/corda/node/NodeArgsParser.kt
# node/src/main/kotlin/net/corda/node/internal/NodeStartup.kt
# node/src/main/kotlin/net/corda/node/services/config/ConfigUtilities.kt
2018-09-06 11:20:45 +01:00
Shams Asari
be45096082
CORDA-1864: Added getter for network parameters to RPC ( #3892 )
2018-09-05 11:17:13 +01:00
Michele Sollecito
31e58dd2e5
[CORDA-1937]: Fixes to enterprise float and bridge.
2018-09-04 11:20:34 +01:00
Michele Sollecito
fbaa31e9d2
Merge remote-tracking branch 'open/master' into os_ent_merges/CORDA-1937
...
# Conflicts:
# client/rpc/src/main/kotlin/net/corda/client/rpc/internal/CordaRPCClientUtils.kt
# core/src/main/kotlin/net/corda/core/internal/InternalUtils.kt
# node-api/src/main/kotlin/net/corda/nodeapi/internal/ArtemisMessagingClient.kt
# node-api/src/main/kotlin/net/corda/nodeapi/internal/bridging/AMQPBridgeManager.kt
# node-api/src/main/kotlin/net/corda/nodeapi/internal/bridging/BridgeControlListener.kt
# node/src/integration-test/kotlin/net/corda/node/NodeKeystoreCheckTest.kt
# node/src/integration-test/kotlin/net/corda/node/amqp/AMQPBridgeTest.kt
# node/src/integration-test/kotlin/net/corda/node/amqp/ProtonWrapperTests.kt
# node/src/integration-test/kotlin/net/corda/node/services/network/NetworkMapTest.kt
# node/src/integration-test/kotlin/net/corda/services/messaging/MQSecurityTest.kt
# node/src/main/kotlin/net/corda/node/internal/Node.kt
# node/src/main/kotlin/net/corda/node/services/config/NodeConfiguration.kt
2018-09-04 11:07:50 +01:00
Michele Sollecito
d01dd22419
[CORDA-1937]: Refactor NodeConfiguration hierarchy. ( #3856 )
2018-09-04 10:26:10 +01:00
Mike Hearn
97aef9c8a1
Merge remote-tracking branch 'open/master' into mike-merge-f6ee263db10
2018-09-03 20:13:38 +02:00
Mike Hearn
33f5aa4190
RPC: make the client library require the platform version it is built for.
...
Remove an unnecessary override on the CordaRPCOps interface.
2018-09-03 19:05:47 +02:00
Shams Asari
11e2bef240
ENT-2473: Removed copyright headers ( #1364 )
2018-09-03 16:38:52 +01:00
Shams Asari
9544fac2c0
Clean up of MerkleTransaction.kt ( #3880 )
...
Primarily making the deserialiseComponentGroup method simpler.
2018-08-31 12:44:53 +01:00
Michal Kit
8e6a9818b7
CORDA-1932 Fixing network map certificate path verification ( #3843 )
...
* CORDA-1932 Fixing network map certificate path verification to be certificate hierarchy agnostic
* Addressing review comments
2018-08-31 09:35:36 +01:00
Michal Kit
d7b85b4928
CORDA-1934 Renaming INTERMEDIATE_CA certificate role to DOORMAN_CA certificate role ( #3844 )
2018-08-31 09:35:06 +01:00
Dominic Fox
f061235cc8
Resolve merge conflict
2018-08-30 10:47:56 +01:00
Dominic Fox
b6bd923f3b
Resolve merge conflicts
2018-08-30 10:31:38 +01:00
Dominic Fox
7ee946b98f
ENT-2320 Introduce BelongsToContract annotation ( #1 )
...
* ENT-2320 Introduce BelongsToContract annotation
* Update kdoc
* Eliminate duplicate warnings
2018-08-30 10:02:18 +01:00
Christian Sailer
260e50572a
Merge pull request #1357 from corda/christians/merge-ENT-2414
...
OS -> Ent merge up to bc330bd
2018-08-29 09:52:59 +01:00
Christian Sailer
43f7b8477e
Merge commit 'bc330bd9890d41904bbeea6e579f5fc4438872b6' into christians/merge-ENT-2414
2018-08-28 12:26:57 +01:00