Dimos Raptis
e2a22ba9e8
Update lastModificationTime in missing spots
2020-10-23 11:29:04 +01:00
Dimos Raptis
d8a5f19fb3
Remove session-init flag from sender hash and enforce requirements more widely
2020-10-23 11:29:04 +01:00
Dimos Raptis
b662b95574
Consolidate suspension time field with existing one from DB
2020-10-23 11:29:04 +01:00
Dimos Raptis
40766183a3
Address Dan's feedback
2020-10-23 11:29:04 +01:00
Dimos Raptis
d3de729390
Refactor common code in Error and KillFlowTransition
2020-10-23 11:29:04 +01:00
Dimos Raptis
0858b7852d
Address Rick's comments
2020-10-23 11:29:03 +01:00
Dimos Raptis
1af6e89927
Add tests for replayed and reordered messages
2020-10-23 11:28:11 +01:00
Dimos Raptis
dd8763494f
Add logic for rejecting old messages based on event horizon
2020-10-23 11:28:11 +01:00
Dimos Raptis
673f02d635
Address Rick's comments
2020-10-23 11:28:11 +01:00
Dimos Raptis
fcee4ed7cb
Add e2e/unit tests for session data persistence
2020-10-23 11:28:11 +01:00
Dimos Raptis
f4fa08ed10
Address Viktor's comments
2020-10-23 11:28:11 +01:00
Dimos Raptis
c263b75894
Fix tests
2020-10-23 11:28:11 +01:00
Dimos Raptis
5168c38740
Detekt fixes
2020-10-23 11:28:11 +01:00
Dimos Raptis
aa74ae69c1
Add gating checks to fail gracefully between incompatible versions
2020-10-23 11:28:11 +01:00
Dimos Raptis
086a406fc5
Deprecate deduplicationSeed, initiationEntropy fields from sessionState and session-init messages
2020-10-23 11:28:11 +01:00
Dimos Raptis
64e7fdd83a
Introduce MessageIdentifier and related tests
2020-10-23 11:28:08 +01:00
Denis Rekalov
c9056f171b
CORDA-4062: Bump platform version to 9 for safe identity key rotation ( #6777 )
2020-10-20 12:31:47 +03:00
Denis Rekalov
4193adf6fd
CORDA-3979: Support for multiple trust roots ( #6772 )
2020-10-20 12:18:00 +03:00
Denis Rekalov
401d8b8856
ENT-5888: Resurrect node_hash_to_key ( #6776 )
2020-10-19 12:56:12 +03:00
Denis Rekalov
551b3f0811
CORDA-4054: combine different identities of the same notary after its key rotation ( #6734 )
2020-10-16 13:53:04 +01:00
Ross Nicoll
1ccd84bbcb
Merge remote-tracking branch 'origin/release/os/4.6' into rni/notick/merge-46-47
2020-10-14 15:52:56 +01:00
Ross Nicoll
64dc73c7b1
ENT-5679 Correct instability of linear builds ( #6722 ) ( #6770 )
...
Disable test which triggers OOM
2020-10-14 13:51:35 +01:00
Ross Nicoll
eb65cdc08a
CORDA-4045 Adjust test to remove scope for race conditions ( #6769 )
...
Change assertion in `Restart does not set senderUUID` to verify a single message has a sender UUID set, rather than the last to be recorded as sent has no sender UUID.
2020-10-14 13:44:41 +01:00
Ben McMahon
12f1603822
INFRA-504 Change to use an out of process node ( #6538 )
...
* Change to use an out of process node
* Remove exception swallowing and add package for test constants to test process
2020-10-12 17:00:39 +01:00
Denis Rekalov
cdd725e79c
CORDA-3972: Support for node identity rotation in IdentityService ( #6752 )
2020-10-12 18:01:32 +03:00
Ramzi El-Yafi
e2efbaea35
AG-341 Notary backpressure mechanism improvements ( #6762 )
...
Notary backpressure mechanism improvements
2020-10-08 09:12:45 +01:00
Ben McMahon
2790e945c6
INFRA-687 Change to use an out of process node ( #6696 )
...
* Change to use an out of process node
* Remove exception swallowing and add package for test constants to test process
2020-10-05 18:12:31 +01:00
Denis Rekalov
e837bb0ca8
Merge branch 'release/os/4.5' into denis/merge_os_4.5_to_4.6
2020-10-02 21:43:57 +01:00
Dan Newton
dcc65b1d65
NOTICK Change class byteman references ( #6749 )
...
Scripts now reference the class `ProxyConnection` which is an implementation of `Connection`, to address JDK 11 compatibility issue.
2020-09-25 15:42:14 +01:00
Ross Nicoll
5c1ca20dae
Detekt
2020-09-25 10:38:46 +01:00
Ross Nicoll
5a93f848b0
Merge remote-tracking branch 'origin/release/os/4.4' into rni/notick-merge-44-45
2020-09-25 09:57:10 +01:00
Ross Nicoll
8048cb4966
CORDA-3845: Update BC, log4j, slf4j ( #6699 ) ( #6742 )
...
* CORDA-3845: Update BC, log4j, slf4j (#6699 )
* CORDA-3845: Update BC to 1.64
* CORDA-3845: Upgraded log4j to 2.12.1
* We can remove the use of Manifests from the logging package so that when _it_ logs it doesn't error on the fact the stream was already closed by the default Java logger.
* Remove the logging package as a plugin
* latest BC version
* Remove old test
* Fix some rebased changes to log file handling
* Update slf4j too
Co-authored-by: Ryan Fowler <fowlerrr@users.noreply.github.com>
Co-authored-by: Adel El-Beik <adel.el-beik@r3.com>
2020-09-25 09:54:59 +01:00
Jerome Gerakis
25ab7667a5
backport of bugfix ENT-5752 into OS 4.3 ( #6724 ) ( #6744 )
2020-09-24 14:30:35 +01:00
Kyriakos Tharrouniatis
60309114ec
NOTICK Properly merge the two RPCPermissionResolver classes as they diverged
2020-09-22 20:57:49 +01:00
Kyriakos Tharrouniatis
5ff95efbce
NOTICK Remove unused imports
2020-09-22 19:14:12 +01:00
Kyriakos Tharrouniatis
a274655e7b
NOTICK Delete duplicate class after merge
2020-09-22 18:58:56 +01:00
Kyriakos Tharrouniatis
98bf8a7996
NOTICK Remove eliminated code that was re-introduced from merge
2020-09-22 18:53:25 +01:00
Kyriakos Tharrouniatis
2b0d58c7aa
NOTICK Fix callsite after merge
2020-09-22 18:42:31 +01:00
Kyriakos Tharrouniatis
88386f38a9
NOTICK Remove leftover var after merge
2020-09-22 18:38:33 +01:00
Ryan Fowler
ed9f6f0ce1
Merge branch 'release/os/4.6' into rfowler-os-4.6-ent-4.6-20200922
2020-09-22 11:42:00 +01:00
Ross Nicoll
f97bb594b2
Merge remote-tracking branch 'origin/release/os/4.3' into rni/notick/merge-43-44
2020-09-18 16:42:26 +01:00
Ross Nicoll
2064a572ba
CORDA-4034 ENT-5679 CORDA-3845 Correct instability of linear builds ( #6722 )
...
* CORDA-4034 Reduce forkEvery to 15 to attempt to mitigate memory leak.
* ENT-5679 Disable test which triggers OOM
* Run tests on two Jenkins agents
* Fixed processing JUnit test results by Allure
* Add timeouts to VaultObserverExceptionTest
* Revert "CORDA-3845: Update BC, log4j, slf4j (#6699 )" to eliminate introduced memory leaks
Co-authored-by: Waldemar Zurowski <waldemar.zurowski@r3.com>
2020-09-18 00:23:16 +01:00
Adel El-Beik
01cd8d6415
Merge remote-tracking branch 'origin/release/os/4.5' into adel/merge-from-4.5-17-Sept
2020-09-17 10:34:01 +01:00
Denis Rekalov
5c6acb0909
CORDA-3968: Prepare keystore handling for certificate rotation [OS] ( #6698 )
...
* CORDA-3968: Move keystore logic to KeyStoreHandler.
* CORDA-3967: Stop generating node legal identity in runtime.
* CORDA-3969: Remove Node CA access at node normal runtime.
* CORDA-3968: Fix handling of absent keystore file and wrong password.
2020-09-17 10:15:46 +01:00
Denis Rekalov
acb82f77b4
CORDA-3974: NetworkMapCache should link entries with different public keys by X.500 name ( #6711 )
2020-09-17 09:25:42 +01:00
bpaunescu
2498bb3ae1
[ENT-5752]-Fall back on NM cache if NM service is unreachable during node start-up ( #6716 )
2020-09-16 18:13:44 +01:00
Ross Nicoll
cc14c8e53a
CORDA-4034 Rebuild AuthDBTests so H2 shuts down correctly ( #6718 )
...
* CORDA-4034 Rebuild AuthDBTests so H2 shuts down correctly
2020-09-16 16:44:31 +01:00
Ryan Fowler
afd3876faf
CORDA-4036: Put the identity failures on the same log so they aren't missed. ( #6717 )
2020-09-16 16:37:16 +01:00
Dan Newton
bd7b96e816
ENT-5768 startFlowWithClientId permissions ( #6708 )
...
Do not let a user reattach to a flow started by another user.
Reattaching to a flow using startFlowWithClientId for a flow not
started by the current user throws a PermissionException
Reattaching to a flow using reattachFlowWithClientId for a flow not
started by the current user returns null.
finishedFlowsWithClientIds does not return flows started by other
users.
Normal rpc permissions around startFlowWithClientId and
startFlowDynamicWithClientId has also been added.
To allow admins to remove client ids as well as be able to see all the
client ids on the node, admin versions have been added that bypass the
user restrictions. These can be permitted via rpc to only provide
their usage to admins.
2020-09-16 16:11:06 +01:00
Ross Nicoll
0226f7ccb9
CORDA-4034 Shut down node in AuthDBTests ( #6714 )
2020-09-16 13:10:54 +01:00