8346 Commits

Author SHA1 Message Date
Kyriakos Tharrouniatis
d5facae178 Update kdoc of flowSafeSubscribe 2020-02-18 14:23:06 +00:00
Kyriakos Tharrouniatis
79577a110a Update kdoc of flowSafeSubscribe 2020-02-18 14:14:25 +00:00
Kyriakos Tharrouniatis
2459530a14 Add timeout to tests 2020-02-18 14:06:16 +00:00
Kyriakos Tharrouniatis
5d1936a7a3 Minor text update 2020-02-18 14:01:43 +00:00
Kyriakos Tharrouniatis
96b46782c1 Move CustomSafeSubscriber outside test methods 2020-02-18 13:57:57 +00:00
Kyriakos Tharrouniatis
6e0ae53156 Introducing Observable.flowSafeSubscribe public API method to subscribe with -non unsubscribing- Rx.Subscribers to Observables. It also replaced FlowSafeSubject 2020-02-18 13:54:49 +00:00
Kyriakos Tharrouniatis
b3941809ef Update kdoc of FlowSafeSubscriber 2020-02-17 14:21:38 +00:00
Kyriakos Tharrouniatis
82f6e9b3db Update test comment 2020-02-17 14:03:55 +00:00
Kyriakos Tharrouniatis
bececa153d Minor kdoc update 2020-02-17 14:00:04 +00:00
Kyriakos Tharrouniatis
1319da6b50 Changing exception thrown when accessing VaultService.rawUpdates from within a flow to a CordaRuntimeException 2020-02-17 13:58:53 +00:00
Kyriakos Tharrouniatis
b5682e3a4e Throw exception upon accessing VaultService.rawUpdates from within a flow 2020-02-17 13:50:43 +00:00
Kyriakos Tharrouniatis
3000d58022 Make kdoc more clear 2020-02-17 13:06:30 +00:00
Kyriakos Tharrouniatis
071d58cbf7 Update kdoc of FlowSafeSubscriber and FlowSafeSubscriber.onNext 2020-02-17 12:00:26 +00:00
Kyriakos Tharrouniatis
4acdcbd964 Moving SubscribingRawUpdatesFlow from ErrorHandling to VaultObserverExceptionTest 2020-02-17 11:45:19 +00:00
Kyriakos Tharrouniatis
7e370c136b Moving NotarisedTxs from SendStateFlow to VaultObserverExceptionTest inside NodeHandle.getNotarisedTransactionIds 2020-02-17 11:37:56 +00:00
Kyriakos Tharrouniatis
e2df4d383e Update test and add test comment 2020-02-17 11:32:29 +00:00
Kyriakos Tharrouniatis
812b4d5af2 Update test name 2020-02-17 11:11:43 +00:00
Kyriakos Tharrouniatis
58a71d8d07 Add explanatory comment to test 2020-02-17 11:09:09 +00:00
Kyriakos Tharrouniatis
9a27a81670 Update test name 2020-02-17 10:42:27 +00:00
Kyriakos Tharrouniatis
163beefc0f Splitting heartBeat into heartBeatOnNext and heartBeatOnError 2020-02-17 10:34:52 +00:00
Kyriakos Tharrouniatis
f024c7db9e Update messy comment 2020-02-17 00:32:44 +00:00
Kyriakos Tharrouniatis
4f3fc81081 Correcting comment 2020-02-17 00:17:37 +00:00
Kyriakos Tharrouniatis
11d92f90d5 Splitting heartBeat to heartBeat1 and hearBeat2 for more clear asserting 2020-02-17 00:14:01 +00:00
Kyriakos Tharrouniatis
6a89e88999 Replace assertThat with assertEquals 2020-02-16 23:57:19 +00:00
Kyriakos Tharrouniatis
a5f19ea8d2 Update messy comment 2020-02-16 23:48:42 +00:00
Kyriakos Tharrouniatis
8241911e0e Minor text update 2020-02-16 23:42:42 +00:00
Kyriakos Tharrouniatis
2fffef5701 Change PreventSubscriptionsSubject#errorAction to be more specific; to return an Exception 2020-02-16 23:35:29 +00:00
Kyriakos Tharrouniatis
2c0e4396d1 Add comment and update kdoc explaining how to subscribe with SafeSubscriber to FlowSafeSubject 2020-02-16 22:14:56 +00:00
Kyriakos Tharrouniatis
17b94c45e8 Moved FlowSafeSubject under package node.internal as it is only used by NodeVaultService 2020-02-16 21:29:51 +00:00
Kyriakos Tharrouniatis
d341a982a3 Update kdocs of FlowSafeSubject/ PreventSubscriptionsSubject 2020-02-16 20:30:41 +00:00
Kyriakos Tharrouniatis
a194c79e5f Minor text correction 2020-02-16 17:05:27 +00:00
Kyriakos Tharrouniatis
ddbcba3f2e Add kdoc to OnNextFailedException 2020-02-16 16:59:48 +00:00
Kyriakos Tharrouniatis
9a2daeb5c9 Logging flow name instead of flow id at VaultService.rawUpdates subscribing error 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
0fb49e9ed2 Added test, asserting FlowSafeSubscriber is alive and re-accessed upon flow retry 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
bc79ce8058 Add fiber's id to log message and exception message 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
db8457ef3f Improve log message 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
c8566d2cf9 Correcting log message 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
4517457e16 Revert "Wrap PublishSubjects with FlowSafeSubjects in all tests that test Observer.tee"
This reverts commit e419af86
2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
91d8de32c4 Warning fix: Add else block to when statement 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
97ec3a18b1 Make rawUpdates Rx.Observers not unsubscribe when accessed from CordaServices - Do not allow rawUpdates subscribing from flows 2020-02-14 14:12:34 +00:00
Kyriakos Tharrouniatis
f27e0641b4 Minor code formatting 2020-02-14 14:00:51 +00:00
Kyriakos Tharrouniatis
cfcca4ac18 Wrap PublishSubjects with FlowSafeSubjects in all tests that test Observer.tee 2020-02-14 14:00:51 +00:00
Kyriakos Tharrouniatis
e41fb714c1 Introducing not unsubscribing version of Rx.Subscriber 2020-02-14 13:55:44 +00:00
Kyriakos Tharrouniatis
5f446aea7e Add explanatory comment about why we changed Observer.tee to use unsafe subscribe 2020-02-14 13:49:50 +00:00
Kyriakos Tharrouniatis
9d2df380ea Throw SQLException or PersistenceException plain, that may come out of an unsafe subscriber 2020-02-14 13:49:50 +00:00
James Higgs
da192bcf0d
[EG-140] Allow system property paths with multiple keys to be specified in node.conf (#5963)
* [EG-140] Allow system property paths with multiple keys to be specified in node.conf

* [EG-140] Split property paths to remove quotes

* [EG-140] Quote system properties in docs

* [EG-140] Rename path to key
2020-02-14 11:18:21 +00:00
Ryan Fowler
84be738374
CORDA-3752: rethrow non-rpc specific errors rather than try to reconnect to the server (#5922) 2020-02-13 14:08:56 +00:00
Ryan Fowler
1c80ad8be2
CORDA-3576: Use the connectionMaxRetryInterval configuration when reconnection the RPC client (#5957) 2020-02-13 13:11:39 +00:00
Chris Rankin
117108f456
ENT-4921: Ensure that CorDapp classloader is not lost with graceful reconnect. (#5954) 2020-02-13 09:25:28 +00:00
Razvan Codreanu
c6ab07d92c
TM-197 Fix failing test caused by regression and ignoring flaky DistributedServiceTests (#5934)
* TM-197 Setting bouncy castle provider in order for the test to pass

* TM-197 setting timeout for all builds at 3 hours

* TM-197 ignoring unstable tests
2020-02-12 14:26:06 +00:00