203 Commits

Author SHA1 Message Date
Katarzyna Streich
509a52ad5e
CORDA-866: Implement removal of stale nodes from network (#774)
* Implement removal of stale nodes from network

Add eventHorizon to NetworkParameters structure. Add republishing of
node info on 1 day intervals - it is treated by network map as heartbeat from node indicating if it's alive or not. Add removal of old node infos on network map signing.

* Add copy method to NetworkParameters data class

Add JvmOverloads annotation to the constructor, because it's data class
exposed in API
2018-05-11 17:11:56 +01:00
Katarzyna Streich
56c6ec967c
ENT-1803: Allow change of updateDeadline on parameters update (#814)
* Allow change of updateDeadline on parameters update

ENT-1803. Parameters that where already advertised still need explicit
cancellation.
2018-05-09 15:01:57 +01:00
Katarzyna Streich
d254bf6d46
ENT-1548: Improve docs for hsm (#805)
* Improve docs for hsm

Add information on different configs depending on which execution mode
for hsm is run

* Remove default config file argument for hsm, add required to cli flag.
2018-05-04 15:58:36 +01:00
Michal Kit
c044096260
Merge pull request #801 from corda/mkit-os-ent-merge
OS -> ENT Merge up to ab80df342ab8a7ede0539daaee9fcecd02f6aeeb
2018-05-03 12:23:28 +01:00
Katarzyna Streich
2e1cee00f7
ENT-1608: Check that notary identities are registered (#799)
Check that notary identities are registered

On loading new parameteres check that provieded notary identities were
registered by doorman.
Refactor of NetworkParameters loading code in network-management.
2018-05-03 11:09:11 +01:00
Michal Kit
e5e98f3540 Merge OS commit 'ab80df342ab8a7ede0539daaee9fcecd02f6aeeb' into enterprise 2018-05-03 10:55:40 +01:00
Patrick Kuo
5ed60ab60d
Bug fix: registration tool doesn't register for service identity if keystore already contains node cert (#756)
* fix a bug where registration tool will refuse to register for a service identity if the keystore contain NODE_CA key already.
some refactoring
2018-05-02 09:54:28 +01:00
Katarzyna Streich
f25b0bd1c5
Add more documentation on private networks (#786)
Add more documentation on private networks
2018-04-30 16:01:53 +01:00
Michele Sollecito
8ce718f4bf
Merge pull request #785 from corda/merges/april-27-09-38
Merges: April 27th at 09:38
2018-04-27 17:26:50 +07:00
sollecitom
70b32636b5 Merge remote-tracking branch 'remotes/open/master' into merges/april-27-09-38
# Conflicts:
#	docs/source/changelog.rst
#	node-api/src/main/kotlin/net/corda/nodeapi/internal/config/ConfigUtilities.kt
#	node/src/main/kotlin/net/corda/node/services/config/NodeConfiguration.kt
2018-04-27 10:12:15 +01:00
szymonsztuka
df5d45a4a6
Enable integration tests to run doorman against remote database (part of ENT-1447) (#776)
Change integration tests in remote database mode infrastracture to allow passing parameterised dataSource configuration to doorman. Add doorman tables to SQL clearup scripts.
2018-04-27 09:57:16 +01:00
Chris Rankin
e135cf062c Merge commit '5f70b6e04954a6dc64a1a56089eeccb2966bb0ae' into chrisr3-os-merge 2018-04-24 18:09:41 +01:00
Patrick Kuo
e618b49a6c
fix a bug which prevent us from starting network map server without doorman. (#760) 2018-04-20 17:45:27 +01:00
Patrick Kuo
57291c435c
ENT-1661 Doorman crashes ungracefully when started with incorrect or … (#747)
* ENT-1661 Doorman crashes ungracefully when started with incorrect or no program arguments. Should display a meaningful message instead.
2018-04-19 21:22:04 +01:00
Patrick Kuo
ac99b81ba8
added optional config property for keystore file path (#748) 2018-04-18 17:10:04 +01:00
Patrick Kuo
9cbf7fd7ab
register crypto provider in main when program startsup (#745) 2018-04-18 17:09:45 +01:00
Michal Kit
38a38aa4c4
Fixing Azure deadlock when CSR is persisted (#749) 2018-04-18 11:21:11 +01:00
Patrick Kuo
0e663250ca
add old config annotation to doorman config (#731) 2018-04-17 10:35:28 +01:00
Patrick Kuo
fbdba41b07
ENT-1740 Make registration tool notary only to avoid confusion (#734)
* ENT-1740 Make registration tool notary only to avoid confusion

* address PR issues
2018-04-16 14:56:13 +01:00
Patrick Kuo
7f8c36faa0
ENT-1586 Update entire service stack to support private network maps (#691)
* private network map
2018-04-13 15:54:53 +01:00
Michal Kit
a320c8d49f
ENT-1456 Adding try-catch to jira ticket processing (#667)
* Adding try-catch to jira ticket processing

* Addressing review comments

* Addressing review comments

* Refactoring getTransitionId method.

* Addressing review comments

* Refactoring to use requireNotNull

* Refactoring to use more requireNotNull

* Fixing missing map population
2018-04-13 07:46:16 +01:00
Shams Asari
45d6bca071 Merge branch 'master' into os-merge-f88542f 2018-04-12 15:14:28 +01:00
Shams Asari
a83f3f3abe Removing explicit waits for the default notary in driver tests.
This issue was fixed in https://github.com/corda/corda/pull/2947.
2018-04-12 15:13:01 +01:00
Patrick Kuo
eae7d1d3a6
CORDA-1159 Node attempts duplicate CSR if process terminates before receiving Request ID (#723)
* CORDA-1159 Node attempts duplicate CSR if process terminates before receiving Request ID
2018-04-12 13:53:17 +01:00
Patrick Kuo
f9ed55b731
ENT-1323 Network map service to check all identities in submitted node info (#499)
* ENT-1323 Network map service to check all identities in submitted node info

* fixup after rebase

* address PR issues, refactored createValidNodeInfo

* address PR issues
2018-04-12 13:05:15 +01:00
Shams Asari
c7ad2ca391 Merge fixes 2018-04-11 11:16:31 +01:00
Konstantinos Chalkias
f1ddd2b747 ENT-1756 register providers first thing on doorman boot. 2018-04-10 16:27:01 +01:00
szymonsztuka
6761824ba7
Update database integration tests setup for the test related to ENT-1684 (#703) 2018-04-09 12:36:22 +01:00
Shams Asari
11af3992db
Doorman db entity attributes which are hashes are of type SecureHash where possible. (#695)
Also made use of InputStream.readObject extension method.
2018-04-07 17:26:09 +01:00
Katarzyna Streich
00a22c91df ENT-1684: Remove nodes that didn't accept update from network map (#692)
On flag day all nodes that didn't accept new parameters update will be kicked out of the network map.
2018-04-07 15:28:57 +01:00
Michal Kit
c4df6b0c85
Fixing CRR signing execution mode (#677)
* Fixing CRR signing execution mode

* Addressing review comments
2018-04-06 17:00:47 +01:00
Michal Kit
84398362ab
ENT-1626 Validating cert path on node info submission (#650)
* Validating cert path on node info submission

* Addressing review comments

* Refactoring user exceptions

* Changing response message.
2018-04-05 14:21:54 +01:00
Michal Kit
6c2cfc3880
ENT-1732 Preventing non-notaries composite keys being submitted in node info (#676)
* Preventing non-notaries composite keys being submitted in node info

* Addressing review comments
2018-04-04 14:33:40 +01:00
Michal Kit
6593560655
Adding revocation reasons to docs. (#670) 2018-04-03 16:59:40 +01:00
Katarzyna Streich
bba3721c86
ENT-1685: Add clarification of update process to README (#645)
Add clarification of parameters update process to README
2018-04-03 14:46:48 +01:00
Michal Kit
625d0447aa
ENT-992: Introducing the CRR submission tool (#633)
* Introducing the CRR submission tool

* Addressing review comments

* Addressing review comments - round 2 - Redesign of the tool.

* Fixing messages
2018-04-03 08:33:22 +01:00
Michal Kit
296e74aca7
Adding the @Produces annotation for the GET endpoints in the Network Map service (#652) 2018-03-29 15:09:39 +01:00
Michal Kit
109af246e6
ENT-992: Adding docs for the CRL/CRR (#608)
* Adding docs for the CRL/CRR

* Addressing review comments

* Addressing review comments - round 2
2018-03-29 10:48:28 +01:00
Katarzyna Streich
848c516422
ENT-1662: Print better message when no keystore (#634)
Print better message when no keystore

ENT-1662
Clarify how to run the node in network-management README.
2018-03-28 14:47:22 +01:00
sollecitom
b93f12d413 Finished porting change to make JPA entities non-final and serializable. 2018-03-28 10:58:41 +01:00
Michal Kit
68cdd5e374
ENT-1683 Ensuring that the updateDeadline time is in the future (#609)
* Ensuring that the updateDeadline time is in the future

* Addressing review comments
2018-03-27 15:20:08 +01:00
Thomas Schroeter
f6e14b8d4d
Distributed notary setup fixes (#606)
* MySQL notary is clustered notary

* Fix registration tool app class

* Allow config file without parent

* Fix `MySQLNotaryServiceTest`
2018-03-27 13:03:46 +01:00
Shams Asari
76298fc34b
Update to ENT-1433: Network parameter update entities in the db are not deleted, but rather marked as CANCELLED or APPLIED. (#600)
Also, the node info entity refers to the update entity, and not to the network parameters entity, which brings in a natural check that the parameters hash that the node is accepting is a planned update.
2018-03-26 18:20:13 +01:00
Clinton
16c98800cb
ENT-1672: Fixed database configuration for description field of parameters_update to fix doorman crash (#604) 2018-03-26 15:15:08 +01:00
Katarzyna Streich
a888d78b42
Fix serialization on network map startup (#598)
Fix serialization on network-management startup

Minor documentation fixes
2018-03-23 17:01:46 +00:00
Michal Kit
101eee1ff5
Adding jira integration to CRL (#579)
* Adding jira integration

* Addressing review comments

* Adding review comments

* Fixes after rebase
2018-03-23 12:54:38 +00:00
Michal Kit
c9caaf8be4
Adding sockets (#570)
* Adding sockets

* Addressing review comments

* Adding review comments

* Addressing review comments
2018-03-23 07:43:13 +00:00
szymonsztuka
f433ec88fe
Add support for database integration tests to new tests created for ENT-1433 (#594) 2018-03-22 11:45:03 +00:00
Patrick Kuo
ff4bbaf63f ENT-1524 & ENT-1358: Cleaned up doorman db schema (#565)
* Renamed tables and constraints to have name < 30 characters
* Using AttributeConverters were possible for custom types
* NodeInfoEntity has relationship to accepted NetworkParametersEntity, not the hash
* Improved logging in the node
2018-03-22 06:39:02 +00:00
Clinton
a386e71cbd
Fixed a deadlock that occurs when running a split network map and doorman. (#470) 2018-03-21 15:00:46 +00:00