Tudor Malene
fd2f2eb14a
ENT-1871 Rebrand R3Corda to Corda Enterprise ( #838 )
...
* ENT-1871 Rebrand R3Corda to Corda Enterprise
* ENT-1871 Address code review comments
* ENT-1871 Address code review comments
* ENT-1871 Address code review comments
* ENT-1871 Address code review comments
2018-05-31 08:59:05 +01:00
szymonsztuka
294c134965
Merge pull request #894 from corda/merges/os-2018-05-30-up-to-ed70fea
...
OS -> ENT merge up to ed70fea
2018-05-30 19:06:28 +01:00
szymonsztuka
953b0ca87d
Added copyrights to the test class.
2018-05-30 16:37:46 +01:00
szymonsztuka
37cadbce69
Resolved merge conflicts.
2018-05-30 16:36:06 +01:00
szymonsztuka
ed70fea3a7
CORDA-1548 Hibernate session not flushed before handing over raw JDBC session to user code (e.g. coin selection) ( #3266 )
...
* Hibernate session flushed before handing over raw JDBC session to user code + test - inserting and selecting cash in the same transaction
* Additional two tests copied from Enterprise repo
2018-05-30 16:19:06 +01:00
Thomas Schroeter
9418f9191e
Document notary.serviceLegalName
( #3265 )
2018-05-30 15:47:40 +01:00
Viktor Kolomeyko
43ddc5e179
ENT-1396: Improve verification of states to transactions. ( #882 )
...
Since not every output state may be present, e.g. if the whole amount been paid and at source
the state is fully spent, there will not be a trace of an output state at source.
But recipient(target) will always have references of output states in its vault.
Also perform transfer of the full issued amount to eliminate any sort of coin selection issues.
2018-05-30 15:35:28 +01:00
Michele Sollecito
26ef294d8d
[CORDA-1356]: OOM when using Demobench + Explorer (fix). ( #3268 )
2018-05-30 15:04:24 +01:00
szymonsztuka
1a82de8b53
Document ability to add custom dataSource properties - related to ENT-1428 ( #870 )
...
When specifying data source for NonStop database custom data source properties needs to be passed, which was always feasible but never documented (as there was no need for it).
2018-05-30 14:54:55 +01:00
bpaunescu
9447398acb
Hot-cold operational guide fixes and improvements ( #884 )
...
* minor typos, improving the HA operational
* Hot-cold operational guide improvement(typos, styling, more specific settings)
* ENT-1959: address PR comments
* address pr comments
2018-05-30 14:12:47 +01:00
Matthew Nesbit
86b4086b37
Merge pull request #892 from corda/mnesbit-merge-20180530
...
Merge from OS
2018-05-30 13:39:55 +01:00
sollecitom
6f0363258e
[CORDA-1552]: Log commands executed by the Shell.
2018-05-30 13:28:05 +01:00
Joel Dudley
3535633d45
Add DCO requirement to contributing docs. ( #3263 )
2018-05-30 12:35:51 +01:00
szymonsztuka
621835aea8
ENT-1990 SQL Server and Oracle coin selection over-select coins ( #891 )
2018-05-30 11:40:38 +01:00
szymonsztuka
d377f14ac3
Upgrade integration test introduced by CORDA-1465 to run in database mode ( #887 )
2018-05-30 11:31:22 +01:00
Matthew Nesbit
a3c6ef351d
Merge remote-tracking branch 'remotes/open/master' into mnesbit-merge-20180530
...
# Conflicts:
# docs/source/changelog.rst
2018-05-30 11:12:25 +01:00
Konstantinos Chalkias
de99f07d5a
Revert adding validatePublicKey to api-current ( #3261 )
2018-05-30 11:07:59 +01:00
Matthew Nesbit
74a3c70ee5
Merge pull request #890 from corda/mnesbit-bridge-artemis-reconnect-bug
...
ENT-1991: The Bridge Artemis reconnection logic failed in test.
2018-05-30 11:05:20 +01:00
szymonsztuka
0a4d98161a
CORDA-1266 When a cash output is identical only the fist output is saved. ( #3244 )
2018-05-30 10:49:44 +01:00
Michele Sollecito
df928f6f2a
Merge pull request #889 from corda/merges/may-29-16-48
2018-05-30 10:37:34 +01:00
Michele Sollecito
1c1b492532
[CORDA-1542]: Ctrl-C in the shell no longer aborts the flow (fix). ( #3260 )
2018-05-30 10:29:10 +01:00
Stefano Franz
7c8038f388
Merge pull request #888 from roastario/add_post_process_tarballing_task
...
add post process step to build tarball from node distribution
2018-05-30 10:03:52 +01:00
Matthew Nesbit
202bd6603b
Simplify the toString, so that printing ConnectionChange events into the log output only gives a summary and reduce logging. ( #3247 )
2018-05-29 18:18:31 +01:00
Matthew Nesbit
f98bf4db14
The Artemis reconnection logic failed in test, because there were active artemis bridge connections. Correct the integration test, fix the bridging code and log all onError cases in the bridge.
2018-05-29 18:14:35 +01:00
sollecitom
afdfd983e7
Fixed some compilation errors.
2018-05-29 17:19:37 +01:00
sollecitom
0b753969ee
Fixed some compilation errors.
2018-05-29 17:19:16 +01:00
sollecitom
de0c69a888
Merge remote-tracking branch 'remotes/open/master' into merges/may-29-16-48
...
# Conflicts:
# node/src/integration-test/kotlin/net/corda/node/services/RaftNotaryServiceTests.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/internal/Node.kt
# node/src/main/kotlin/net/corda/node/services/identity/PersistentIdentityService.kt
# node/src/main/kotlin/net/corda/node/services/persistence/DBTransactionMappingStorage.kt
# node/src/main/kotlin/net/corda/node/services/persistence/DBTransactionStorage.kt
# node/src/main/kotlin/net/corda/node/services/vault/NodeVaultService.kt
# node/src/test/kotlin/net/corda/node/internal/NodeTest.kt
# node/src/test/kotlin/net/corda/node/services/identity/PersistentIdentityServiceTests.kt
# node/src/test/kotlin/net/corda/node/services/messaging/ArtemisMessagingTest.kt
# node/src/test/kotlin/net/corda/node/services/persistence/DBCheckpointStorageTests.kt
# node/src/test/kotlin/net/corda/node/services/persistence/DBTransactionStorageTests.kt
# node/src/test/kotlin/net/corda/node/services/persistence/HibernateConfigurationTest.kt
# node/src/test/kotlin/net/corda/node/services/persistence/NodeAttachmentStorageTest.kt
# node/src/test/kotlin/net/corda/node/services/schema/HibernateObserverTests.kt
# node/src/test/kotlin/net/corda/node/services/transactions/PersistentUniquenessProviderTests.kt
# node/src/test/kotlin/net/corda/node/services/transactions/RaftTransactionCommitLogTests.kt
# node/src/test/kotlin/net/corda/node/services/vault/VaultQueryTests.kt
# node/src/test/kotlin/net/corda/node/utilities/ObservablesTests.kt
# samples/irs-demo/cordapp/src/test/kotlin/net/corda/irs/api/NodeInterestRatesTest.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/MockServices.kt
2018-05-29 17:17:08 +01:00
Konstantinos Chalkias
ac212972ea
[CORDA-1539] Minimum RSA key of 2048 bits on validatePublicKey ( #3239 )
2018-05-29 17:11:00 +01:00
Joel Dudley
1c7b44fb3d
Instructions for IntelliJ 2018.1 ( #3250 )
...
* Instructions for IntelliJ 2018.1
* Addresses review feedback
2018-05-29 16:51:28 +01:00
Stefano Franz
3e9c6f0f96
add post process step to build tarball from node distribution
2018-05-29 16:45:28 +01:00
Rick Parker
22280ee611
Merge pull request #886 from corda/parkri-os-merge-20180529-1
...
OS -> ENT merge
2018-05-29 16:31:29 +01:00
szymonsztuka
9c368b1486
ENT-1956 Fix SQL query for cash selection for SQL Server/Azure and Oracle ( #885 )
...
Bug in SQL code for cash selection in Azure/Sql Server/Oracle db was occurring for selection within outputs few outputs from a single transaction and requiring returning a change.
2018-05-29 15:39:30 +01:00
Michele Sollecito
7c87353bde
[CORDA-1547]: Make log4j2.xml files more resilient to regex escaping problems. ( #3254 )
2018-05-29 15:25:52 +01:00
Michele Sollecito
f68cf6f712
[CORDA-1341]: Ensure API can be called concurrently wrt transactions. ( #3235 )
2018-05-29 15:25:34 +01:00
Shams Asari
0f82e2df7f
Explicitly check the contractStateType param of the RPC vault queries is a ContractState class. ( #3251 )
...
We lose the compile-time checks of the Class type parameter when invoking from the shell.
2018-05-29 15:01:55 +01:00
Katelyn Baker
a359f627d5
CORDA-1545 - Arrays of primitive byte arrays don't deserialize ( #3249 )
...
* CORDA-1545 - Arrays of primitive byte arrays don't deserialize
At serialization time we incorrectly encode the type as byte[p][] instead
of binary[]
2018-05-29 14:36:04 +01:00
rick.parker
af1c3289ab
ENT-1975 Remove mutex and SQLException handling around perfcordapp coin selection to rely on flow hospital.
2018-05-29 14:25:41 +01:00
rick.parker
34a9a7aa05
Merge remote-tracking branch 'remotes/open/master' into parkri-os-merge-20180529-1
2018-05-29 14:21:53 +01:00
Viktor Kolomeyko
8a5978e881
CORDA-1536: Fix client infinitely re-trying when incorrect endpoint specified. ( #3243 )
...
Apparently, if incorrect endpoint provided, ActiveMQNotConnectedException is thrown
which is different to ActiveMQSecurityException. Extend catch block to: ActiveMQException
to cater for all such cases.
2018-05-29 14:05:51 +01:00
szymonsztuka
ab97ae252d
Merge pull request #883 from corda/merges/os-2017-05-29
...
OS merge up to 2017-05-28
2018-05-29 12:53:56 +01:00
Christian Sailer
6791ea800d
CORDA-1524 Fix NodeSchedulerService ( #3238 )
...
* Simplify flow scheduler
* Fix mutex and count up on the unfinished flows latch
* Fix missing import
* Some code layout shifting
* Undo automated change
* minor format changes from code review.
* Fix up tests to work with changes to scheduler
* Formatting fixes
* Remove commented out line.
* Fix race condition.
* We were not waiting for the scheduler to stop, or indeed stopping it.
2018-05-29 12:20:30 +01:00
Rick Parker
accb9eb5b3
Remove mutex and stop catching deadlock / SQLExceptions. ( #3242 )
...
SQL Exceptions thrown with Cash Selection are now retried via Flow Hospital
2018-05-29 12:15:06 +01:00
szymonsztuka
99d4d92ae2
Added Liquibase migration schema file for DummyTestSchemaV1 introduced by ENT-1932 to fix integration tests in database mode. ( #878 )
...
Added Liquibase migration schema file for DummyTestSchemaV1 for IntegrationTest - when running integration tests against remote database schema migration is on and needs the missing file, a table renamed to avoid clash with another one from a dummy schema.
2018-05-29 12:10:11 +01:00
szymonsztuka
c6168cb4e6
Resloved merge conflicts.
2018-05-29 11:32:43 +01:00
Chris Rankin
78c759e2e6
Resolve compiler warnings for Kotlin >= 1.2.40. ( #3245 )
2018-05-28 18:06:33 +01:00
Maksymilian Pawlak
7d69bc664a
[CORDA-1297] Columns nullability ( #3112 )
...
JPA/Hibernate entities need to impose the correct NULL/NOT NULL constraints on the database - whatever these correct values actually are.
API change: net.corda.core.schemas.PersistentStateRef fields (index and txId) are now non-nullable. Rationale: The fields were always effectively non-nullable - values were set from non-nullable fields of other objects. The class is used in context of database table Primary Key of for other entities and a database already imposes those columns as non-nullable (even if JPA annotation nullable=false was absent).
2018-05-25 19:03:24 +02:00
guyho
380ab22917
Update contributors ( #3241 )
...
changed Guy Hochstetler org from IBM to R3
2018-05-25 17:48:56 +01:00
Rick Parker
687b6080af
Merge pull request #881 from corda/parkri-os-merge-20180525-1
...
OS -> ENT merge
2018-05-25 17:26:54 +01:00
Katarzyna Streich
8504b65e7b
ENT-1933: make NetworkParameters serialization compatible ( #3234 )
...
* ENT-1933: make NetworkParameters serialization compatible
2018-05-25 17:14:00 +01:00
Shams Asari
d772bc8b7f
Added back support for parsing OpaqueBytes as UTF-8 strings in JacksonSupport ( #3240 )
2018-05-25 17:07:19 +01:00