corda/testing
Roger Willis 1c2c3d3fed
Identity service refactor for confidential-identities and accounts (#5434)
* Removed IdentityServiceInternal as it is no longer used.

* Removed externalIdForPublicKey API from KMS and added it to IdentityService.
Added a registerKeyToExternalId API on IdentityService.

* Fix remaining compile errors.

* Removed "registerKeyToParty" and in its place added a new registerKey method which takes a PublicKey, Party and optionally a UUID.
Added a cache to the "PersistentIdentityService" to store other node's public keys.
Added the cache and new hibernate entity to all teh places where one needs to add them.
New keys created by teh node now automatically get associated entries in the KEY -> PARTY map and optionally the KEy -> EXT ID map.
Added a test.

* Removed old comments and TODOs.

* Fixed broken test.
Added comments/explanations for what's going on in IdentityService.
Updated kdocs.

* First try at Implementing publicKeysForExternalId.

* Fixed broken test.

* Added migration.
Amended existing persistent identity service migration to handle new migration.
Addressed some review comments.

* Fixed broken test - whoops!

* Implemented mock identity service methods.

* Added back exception when remapping a key to a different party.

* Fixed compile errors.
Fixed broken tests.

* Use set instead of first entry in ourNames.
2019-09-16 13:14:12 +01:00
..
node-driver Identity service refactor for confidential-identities and accounts (#5434) 2019-09-16 13:14:12 +01:00
smoke-test-utils CORDA-2629: Configure smoke-test nodes to have validating notaries. (#4881) 2019-03-12 18:32:07 +00:00
test-cli CORDA-2333: Updated the majority of the dependencies that were out of date (#5235) 2019-06-20 16:19:16 +01:00
test-common CORDA-2333: Dependency update pass for tests and demos (#5211) 2019-06-13 10:15:13 +01:00
test-db CORDA-3009 - Migrate identity service to use to string short (#5217) 2019-08-28 14:16:18 +00:00
test-utils TM-23 Fail build on compiler warnings (#5453) 2019-09-11 16:34:51 +01:00
Dockerfile WIP Kubenetes parallel build (#5396) 2019-09-03 15:40:08 +00:00
DockerfileBase WIP Kubenetes parallel build (#5396) 2019-09-03 15:40:08 +00:00