Rick Parker
aa01ef638b
CORDA-1589 Flow hospital reports incorrect number of patients and fix… ( #3315 )
...
* CORDA-1589 Flow hospital reports incorrect number of patients and fix flakey associated test.
* Compare before and after count, not against zero. There's a leak in killFlow that will be easier to address in or after Shams PR.
2018-06-07 09:12:25 +01:00
Andrius Dagys
0978d041a3
CORDA-1494: Re-enable notarisation retries in the new state machine manager ( #3295 )
...
* Remove all notion of message level retry.
* Introduce randomness into de-duplication IDs based on the session rather than the flow, in support of idempotent flows.
* CORDA-1494: Re-enable notarisation retries in the new state machine manager.
The original message-based retry approach does not work well with the new
flow state machine due to the way sessions are handled. We decided to move
the retry logic to flow-level: introduce RetryableFlow that won't have
checkpoints persisted and will be restarted after a configurable timeout
if it does not complete in time.
The RetryableFlow functionality will be internal for now, as it's mainly
tailored for the notary client flow, and there are many subtle ways it can
fail when used with arbitrary flows.
2018-06-07 08:45:32 +01:00
Shams Asari
6a2e50b730
Blobinspector: trace level logging with --verbose ( #3313 )
2018-06-06 13:19:18 +01:00
Tudor Malene
5f2c3d175d
ENT-2036 Handle ClosedChannelException during SSL handshake ( #3314 )
2018-06-06 13:08:33 +01:00
Andras Slemmer
e2b4943bbb
Observable toposort for transactions ( #3027 )
2018-06-06 13:58:23 +02:00
Mike Hearn
468c0c7404
CORDA-1349: Docs: improve docs on permissioning, doorman and network map. ( #3277 )
...
* Docs: improve docs on permissioning, doorman and network map.
* Add a convenience serialization API for Java users, marked as
internal for now with a TODO to make it public after we start work on
Corda 4.0. Otherwise serializing arbitrary objects to AMQP is awkward.
2018-06-06 13:57:25 +02:00
Shams Asari
d620e71bb6
Replaced all uses of assert with require ( #3309 )
...
JVM assertions have to be enabled with the -ea flag so it's possible for these checks to be ignored.
2018-06-06 00:31:41 +01:00
Shams Asari
75f2c4a0a4
Removed flow-library doc page as it's redundant ( #3307 )
2018-06-05 21:43:03 +01:00
Rick Parker
e2a2c2d20d
ENT-2023 Minimise code diff between OS and ENT for enterprise change since code diff during merge resulted in a bad merge relating to rpcThreadPoolSize. ( #3306 )
2018-06-05 17:38:55 +01:00
Shams Asari
baa73ab141
Revert back logging of tests ( #3305 )
2018-06-05 15:58:38 +01:00
Matthew Nesbit
0812329aaf
The logic in my recent late start bridge PR was wrong. This doesn't affect embedded bridges, but for external bridges the state doesn't reset correctly on bridge restart. ( #3301 )
2018-06-05 13:30:20 +01:00
Joel Dudley
086b9daa6e
Updates the setup instructions to be IntelliJ 2018 compatibile. ( #3299 )
2018-06-05 10:57:29 +01:00
Katelyn Baker
010c30f6d4
DOCS - Remove references to webAddress since it's no longer a valid option ( #3293 )
2018-06-05 10:57:19 +01:00
Joel Dudley
ee5851b56a
Update CONTRIBUTORS.md
2018-06-05 10:43:17 +01:00
Matthew Nesbit
d86ae5fc0b
I set the max retry time for AMQP at 5 minutes. This is just too long for any kind of sensible testing, so drop back to 1 minute. ( #3294 )
2018-06-05 10:30:35 +01:00
Joel Dudley
7bf6608c8e
Fixes webport numbers based on recent build.gradle changes. ( #3298 )
2018-06-05 10:15:47 +01:00
Michele Sollecito
e34bce9f3f
[CORDA-1582]: Shell is back to logging only useful information. ( #3296 )
2018-06-05 09:25:47 +01:00
Joel Dudley
ff8471341f
Removes Log4J from Core. Readds to shell where required. ( #3257 )
...
* Removes Log4J dependency from `core`.
* Adds dependency on Log4J directly to shell. Missing colons.
2018-06-04 23:24:36 +01:00
Joel Dudley
d989ae9dcc
Stray backtick.
2018-06-04 23:20:26 +01:00
Tudor Malene
18a6e2fa2a
CORDA-1477 backport Ent test fixes ( #3292 )
2018-06-04 13:49:25 +01:00
Thomas Schroeter
141d45c39d
Add simulation of the avalanche consensus protocol to experimental ( #3283 )
2018-06-04 13:33:34 +01:00
Michele Sollecito
7350cd9d1e
[CORDA-1408]: Fixed some Demobench bugs. ( #3288 )
2018-06-04 09:35:38 +01:00
Michele Sollecito
fc020bca4b
[CORDA-1575]: Out of process nodes started by the driver do not log to file (fix). ( #3286 )
2018-06-01 16:16:23 +01:00
szymonsztuka
57d379597b
Fix a typo in node_attchments_contracts table name. ( #3202 )
2018-06-01 16:08:19 +01:00
Shams Asari
b7fbebb490
Cleaned up blob inspector doc ( #3284 )
2018-06-01 14:26:58 +01:00
Tudor Malene
9efb1ecfe0
CORDA-1477 add check for code version in checkpoints ( #3256 )
...
* CORDA-1477 add check for code version in checkpoints
* CORDA-1477 Comment style
* CORDA-1477 address code review comments
* CORDA-1477 add changelog entry
* CORDA-1477 attempt to fix tests
* CORDA-1477 attempt to fix tests and address code review comments
* CORDA-1477 attempt to fix tests
2018-06-01 13:37:39 +01:00
Joel Dudley
bd3280a06a
Update CONTRIBUTORS.md
2018-06-01 12:06:36 +01:00
Thomas Schroeter
4bc9151d5d
Limit concurrency of the bootstrapper ( #3271 )
2018-06-01 11:55:46 +01:00
Joel Dudley
aafa548454
Update CONTRIBUTORS.md
2018-06-01 09:45:43 +01:00
Mohamed Amine LEGHERABA
edb462eb06
update azure documentation ( #2950 )
...
add yo!app deployment for Corda V2
2018-06-01 09:26:07 +01:00
Joel Dudley
c6d5307b9e
Updates readme.
2018-05-31 22:01:27 +01:00
Michele Sollecito
52fa86079b
[CORDA-1569]: Shell doesn't yield control back to the user after a completed flow and throws NullPointerExceptions ( #3281 )
...
* [CORDA-1569]: Shell doesn't yield control back to the user after a completed flow and throws NullPointerExceptions
2018-05-31 18:50:35 +01:00
Rick Parker
51c359c48d
CORDA-1564 Clean up old sessions when retrying flows. ( #3278 )
2018-05-31 18:43:50 +01:00
Katarzyna Streich
74fd5b9e9d
Add documentation on clearing network map cache ( #3280 )
...
Add documentation on clearing network map cache
CORDA-1562
2018-05-31 17:44:38 +01:00
Shams Asari
34a480d7e3
Move checkPayloadIs out of the public API ( #3279 )
2018-05-31 17:40:49 +01:00
Michele Sollecito
c81951fbff
[CORDA-1557]: Remove "corda-" from 4.0 (and onwards) release version. ( #3275 )
2018-05-31 10:38:08 +01:00
Katarzyna Streich
3758dbea34
CORDA-1493: add --clear-network-map-cache command line option ( #3272 )
...
CORDA-1493: add --clear-network-map-cache command
2018-05-30 18:39:27 +01:00
Konstantinos Chalkias
5d1cc0bd54
K1 is supported by TLS (permissioning.rst) and identify Sphincs as experimental due to a BC 1.58 issue which needs investigation. ( #3269 )
2018-05-30 17:38:33 +01:00
Michele Sollecito
e44b6c6f4a
[CORDA-1356]: CashException is unable to derisalize with AMQP through RPC. (fix). ( #3274 )
2018-05-30 17:15:50 +01:00
Rick Parker
ef2772e328
CORDA-1540 Remove no-longer-used StateMachineConfiguration ( #3270 )
2018-05-30 17:06:36 +01:00
Shams Asari
7b09795795
CORDA-1383: Cleaned up the JSON format of WireTransaction and SignedTransaction ( #3248 )
...
In particular correctly outputs the custom state and command objects in the txs. Also fixed up deserialisation back into the transaction objects.
2018-05-30 16:37:41 +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
Michele Sollecito
26ef294d8d
[CORDA-1356]: OOM when using Demobench + Explorer (fix). ( #3268 )
2018-05-30 15:04:24 +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
Konstantinos Chalkias
de99f07d5a
Revert adding validatePublicKey to api-current ( #3261 )
2018-05-30 11:07:59 +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
1c1b492532
[CORDA-1542]: Ctrl-C in the shell no longer aborts the flow (fix). ( #3260 )
2018-05-30 10:29:10 +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