8335 Commits

Author SHA1 Message Date
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
Thomas Schroeter
af4d9c48a0
ENT-4933: Document notary.etaMessageThresholdSeconds (#5948)
* ENT-4933: Document `notary.etaMessageThresholdSeconds`

* Fix typo
2020-02-12 14:10:26 +00:00
Denis Rekalov
ba002a82ec
CORDA-3587: hashLookup command help misspelling (#5936) 2020-02-11 15:13:34 +00:00
Denis Rekalov
448e7baf0b
Merge pull request #5942 from corda/denis/ENT-4918-certificates-dir-symbolic-link
ENT-4918: Support symbolic link for certificates directory during node registration
2020-02-11 14:03:20 +00:00
Denis Rekalov
1705299bde ENT-4918: Support symbolic link for certificates directory during node registration 2020-02-11 13:14:34 +00:00
Waldemar Żurowski
e90058962f
Updating Artifactory URLs for Corda OS (#5930) (#5939)
* Switching Artifactory URLs from obsolete ci-artifactory to software.r3.com
2020-02-11 11:57:51 +00:00
Stefano Franz
b23af5f0d2
add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
Stefano Franz
1d0918cdde
NOTICK - Speed up regression tests (#5918)
* speed up regression tests

* move to local-k8s for all Jenkins builds
2020-01-31 16:47:24 +00:00
Kyriakos Tharrouniatis
9ca1dd59da
CORDA-3381 Make internalUtilsKt Observer tee not wrap with SafeSubscriber (#5913)
* Make tee not wrap PublishSubjects in SafeSubscribers, otherwise a non Rx exception from an unsafe observer shuts down all other observers under the same PublishSubject

* Throw SQLException or PersistenceException plain, that may come out of an unsafe subscriber

* Revert "Throw SQLException or PersistenceException plain, that may come out of an unsafe subscriber"

This reverts commit c7b8af3fa6f94c5451924f5ba8c287e6472a39a7.

* Update Detekt baseline
2020-01-31 12:32:59 +00:00
Florian Friemel
cb6ed6042c
Move jimfs dependency from node to test-utils. (#5911) 2020-01-31 10:55:05 +00:00
jmacmahonr3
9511329e3d
[EG-75] Not handled exception when NetworkMap not accessible (#5903)
* Just passing in the exception was printing the entire stacktrace to the log, now we just pring the exception and message

* Updating exception message
2020-01-30 17:26:22 +00:00
Denis Rekalov
609ae5664b
Merge pull request #5909 from corda/christians/NOTICK-remove-forms-dependency
Remove unused dependency on IntelliJ forms
2020-01-30 14:03:49 +00:00