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
Katarzyna Streich
75b467e340
ENT-1433: Implementation of NetworkParameters updates ( #477 )
...
* Implementation of NetworkParameters updates
Implementation of NetworkParameters updates for network-management
server side of the process.
Change the way network parameters are read up on network-management
startup. Introduced 3 flags to clearly communicate intentions:
initial-network-parameters, update-network-parameters and flag-day.
* Address Shams comments
* Address comments
* NetworkMapStorage refactor
getLatestNetworkParameters returns NetworkParametersEntity
* TODO Exit after parameters update
Started implementing feature requested by devops. TODO: Fix
NodeRegistrationTest
* Code cleanup
* Merged the two cmd line flags into one --set-network-parameters. The idea being to simply check if there are any active network parameters to determine if it's an update or not.
Applying network parameters causes the server to exit once done (ENT-1559).
* Merge fixes
* Minor cleanup
* Small fixes
* Merge fixes and cleanup
* TODO Implementation of cancelUpdate flag
Will slightly change after more manual testing
* Small cleanup
* Address comments
Add OneToOne relation between ParametersUpdate and NetworkParameters.
* Address comments fix tests
2018-03-21 12:29:27 +00:00
Michele Sollecito
2905989d19
Merge pull request #578 from corda/merges/march-19-14-41
...
Merges: March 19th at 14:41
2018-03-19 16:34:20 +00:00
sollecitom
8a561cddbf
Merge remote-tracking branch 'remotes/open/master' into merges/march-19-14-41
...
# Conflicts:
# client/rpc/src/test/kotlin/net/corda/client/rpc/RPCPerformanceTests.kt
# node-api/src/main/kotlin/net/corda/nodeapi/internal/persistence/CordaPersistence.kt
# node/src/integration-test/kotlin/net/corda/node/modes/draining/P2PFlowsDrainingModeTest.kt
# node/src/main/java/CordaCaplet.java
# node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt
# testing/node-driver/src/main/kotlin/net/corda/testing/node/MockServices.kt
2018-03-19 15:17:49 +00:00
Shams Asari
24c0588a92
Key store passwords not required in the command line for the private key copying tool. ( #577 )
...
If not provided they will be asked for via the command line.
2018-03-19 15:06:23 +00:00
Michal Kit
a26c5c1483
Fixing exception logging for the HSM cert generator ( #561 )
2018-03-19 08:26:27 +00:00
Shams Asari
060f7cc3cb
Using CordaX500Name in the doorman database entity objects (ENT-1524) ( #573 )
...
certificate_signing_request.legal_name is nullable - invalid names from CSRs are not stored in the db.
2018-03-16 18:45:28 +00:00
Michal Kit
6d99f7e5d4
Adding CRL signing ( #528 )
...
* Adding CRL signing
* Adding CRL
* Addressing review comments
* Address review comments
2018-03-16 11:48:41 +00:00
Shams Asari
78b2bc7549
network_map table references the network_parameters table (ENT-1524). ( #567 )
2018-03-16 10:57:30 +00:00
Patrick Kuo
2a898658c2
ENT-1561 - Identity copying tool for distributed notary ( #563 )
...
* check in before shelving this task
* keytool in-progress, TODO: Docs and more test
* unit test and doc
* minor typo
2018-03-16 09:42:27 +00:00
Shams Asari
a99a910730
Removed duplicate SignedNetworkParameters and SignedNetworkMap type aliases ( #562 )
2018-03-15 20:55:40 +00:00
Patrick Kuo
d2b29b42fe
ENT-1592 Add private network id to CSR ( #533 )
...
* * add private network id to CSR
* TODO : Doc
* TODO : Signing server and network map end points
* Remove private network attribute from CSR
* revert unnecessary changes
* remove private network identifier from node as we are not shipping this to the node in DP3
* revert unnecessary changes
* address PR issues
2018-03-15 15:20:07 +00:00
Rick Parker
a71ab3f1a1
ENT-1594 Remove usages of Guava cache. Replace with Caffeine. Added whether message is session initiation or not to cache key for de-duplication to account for the 2 P2P consumers. ( #557 )
2018-03-15 07:58:28 +00:00