Commit Graph

11045 Commits

Author SHA1 Message Date
ea57639a37 CORDA-924 Fix IntegrationTestingTutorial (#2349)
i.e. H2 startup bug. also:
* Fix poor connection pool discipline
* Log cleanup failures instead of replacing foreground failure
2018-01-17 14:23:13 +00:00
a19b213d7d Added conditional to disable tests when CORDA_DOCS_ONLY_BUILD envvar is present (#2371) 2018-01-17 13:08:00 +00:00
6e817f014d Adds default endpoints for the Corda development webserver. 2018-01-17 11:04:37 +00:00
fca0afe591 CORDA-928 Caching in the NetworkMapCache (#2358)
* CORDA-928 cache query results via `getPeerByLegalName` and `getNodesByIndentityKey` to avoid hitting the DB hard in RPC handling.

* Skip cache invalidation during init() - caches are still null.

* Remove registeredNodes/partyNodes caching of data feed.
Rewrite data feed to be initialised off the DB.
Add start method to trigger readyness/artemis listeners if there are nodes in the DB.

* Invalidate cache last rather than first when updating
2018-01-16 21:15:15 +00:00
52a6abefb5 Merge pull request #276 from corda/bogdan-date-to-localdatetime
replace java.Date with java.time
2018-01-16 19:53:08 +00:00
a3436160cf Monitoring and Logging Design document (#129)
* WIP draft of Monitoring and Logging design document (JIRA ENT-1109)

Added missing diagram.

Minor updates and reshuffle: Michele's proposal is an architectural/design implementation detail (not a solution in its own right).

Completed technical implementation detail.

Moved Design Decision signoff to top.
Moved current state of logging and reporting to Appendix.

WIP ...

Listed additional metrics to add.

Minor update to proposed solutions activities.

* Incorporating feedback following review by RGB.

* Incorporating feedback following review by MS.

* Added details about Artemis logging.

* Clarified usage of SLF4J

* Updated Design Decisions matrix.

* Decision point: should LOG4J2 output be separated for Corda Node vs CorDapps.
Clarify additional effort required in logging.
Minor reformatting for clarify.

* Clarifications following review feedback from WN

* Incorporating minor clarifications and feedback from WN.

* Incorporating Auditing requirements following conversation with Andrey.

* Updated following review feedback from MH.
2018-01-16 18:03:18 +00:00
c7ae92c103 Merge pull request #352 from corda/colljos-merge-release3-dp-master
Merge from R3 Corda 3.0 Dev Preview release branch to master
2018-01-16 17:33:28 +00:00
ee2fe71d0b Removed reference to 'enterprise' caused by incorrect auto-merge. 2018-01-16 16:30:11 +00:00
d247e643ae Minor: tweaks to the discussion of network parameters and network map. 2018-01-16 17:18:49 +01:00
646cd3e103 Updates versioning docs. 2018-01-16 15:29:26 +00:00
9035a0521b ENT-1407 changing the docs logo. 2018-01-16 15:02:52 +00:00
eb9a51af75 Merge branch 'master' into colljos-merge-release3-dp-master 2018-01-16 14:28:07 +00:00
1522ab27f3 Merge pull request #364 from corda/colljos-merge-160118
Merge OS to Enterprise
2018-01-16 14:26:00 +00:00
fb8f5efd08 Merge pull request #360 from corda/change-example-of-network-parameters
Set maxMessageSize and maxTransactionSize at the real, useful values
2018-01-16 14:20:40 +00:00
42b4b80545 Fixed imports 2018-01-16 13:24:53 +00:00
eb3798da5e Merge remote-tracking branch 'open/master' into colljos-merge-160118 2018-01-16 12:13:49 +00:00
66b47f0926 Highlight some text. 2018-01-16 10:44:54 +00:00
7bc2f2a8e6 Set maxMessageSize and maxTransactionSize at the real, useful values 2018-01-16 10:02:53 +00:00
24bf6df868 Merge branch 'master' into colljos-merge-release3-dp-master 2018-01-16 09:58:51 +00:00
55b7035a44 Don't propagate internal notary service errors to the client (#2368) 2018-01-16 09:58:23 +00:00
90021f9002 Merge pull request #105 from corda/dl-hadr-design-doc
HA/DR design doc by Matthew Nesbit
2018-01-16 09:32:15 +00:00
1367cd4adb CORDA-912 Stop exposing internal node user, create user in testing infrastructu… (#2361)
* Stop exposing internal node user, create user in testing infrastructure instead

* Update kdocs
2018-01-15 19:30:33 +00:00
75e74e67a1 CORDA-599 RPCSecurityManager is no longer lateinit (#2347) 2018-01-15 19:11:00 +00:00
e817c95a78 Fixed typo; corrected note to 'certain databases' 2018-01-15 18:49:19 +00:00
895b745c37 Added missing spaces 2018-01-15 18:47:17 +00:00
d390716a9b Added goals/non-goals headers; fixed typo 2018-01-15 18:45:30 +00:00
788d88c8fd Fixed typo 2018-01-15 18:42:55 +00:00
5940417f5b Merge pull request #357 from corda/shams-os-merge-120118
Merge from O/S
2018-01-15 17:36:04 +00:00
094e96d303 Move the CommercialPaperTest examples to a location where it'll be run by gradle/ci. Make sure the tests pass, even the example tests that are intended to fail, so these files are kept up to date as the code changes. 2018-01-15 17:56:21 +01:00
97423bbf94 Revert @Ignore for ErrorMessageTests (causing AMQP serialization failure) 2018-01-15 15:45:42 +00:00
7cdacb0142 Merge branch 'master' into shams-os-merge-120118 2018-01-15 15:23:27 +00:00
b1509607cb Updating network-management to use DigitalSignatureWithCert, network map certs and other relevant changes from O/S. 2018-01-15 15:23:07 +00:00
5e7d2f00ae ENT-1389 Modify the HibernateObserver to persist states by schema (and only create a session per schema, not one per state per schema) (#2366) 2018-01-15 15:19:32 +00:00
df195b20bd ENT-1383 Memory weight based transaction cache (#2355)
* ENT-1383 Make the transaction cache in DBTransactionStorage memory-weight based (rather than count based) so large transactions can no longer use an undue amount of memory.

* Code review: formatting and legibility

* Fix stupid type cast error

* More formatting
2018-01-15 13:48:55 +00:00
591e37adb3 Merge pull request #2357 from corda/aslemmer-workaround-excessive-epoll-fds
Use single thread per netty eventgroup during testing
2018-01-15 12:42:36 +00:00
120500646c Minor reverts requested by Shams. 2018-01-15 11:54:24 +00:00
91779276fc Use single thread per netty eventgroup during testing 2018-01-15 11:18:29 +00:00
2082168cf7 Close Hikari CP around external auth database on shutdown (RPCSecurityManagerImpl.kt) (#2359) 2018-01-15 09:57:44 +00:00
fb1d3087de Raft notaries can share a single key pair for the service identity (in contrast to a shared composite public key, and individual signing key pairs). This allows adjusting the cluster size on the fly. 2018-01-13 16:36:41 +00:00
05b8d936b5 Remove duplicate import. 2018-01-13 11:27:21 +00:00
4ea0cc9a3a Remove empty file with incorrect name. 2018-01-13 11:26:17 +00:00
f58c1a9902 Remove redundant empty line. 2018-01-13 11:24:59 +00:00
3e8132b687 Revert to correct spacing. 2018-01-13 11:23:37 +00:00
15ffc85712 Reverted labels back to "master". 2018-01-13 11:16:51 +00:00
729aa65e7f Merge from R3 Corda 3.0 Dev Preview release branch to master 2018-01-13 11:00:01 +00:00
7311111c9c Re-enable notary idempotence test (#2356)
* Re-enable notary idempotence test
2018-01-12 20:25:49 +00:00
4b3a77b5cb attempt to fix db integration tests (#350) 2018-01-12 18:38:20 +00:00
219d6f8b12 Un-ignore several integration tests 2018-01-12 18:19:02 +00:00
89b64da12b Increase shutdown action timeout. In some tests using driver, the shutdown
can be invoked before the notary node gets started, and the node disposal action
times out, leading to unclosed message brokers and port conflicts.
2018-01-12 18:19:02 +00:00
29b52f66dc Updates the documentation on versioning. 2018-01-12 10:20:24 +00:00