josecoll
c8e55ae086
Backported fix. ( #2399 )
2018-01-22 14:32:04 +00:00
Austin Moothart
642b298d23
AWS marketplace getting started docs
2018-01-22 14:27:35 +00:00
Christian Sailer
8d5611853a
CORDA-929 Attachment caching ( #2372 )
...
* ENT-1403 Cache node attachments (and attachment content)
* ENT-1403 Make cache sizes configurable
* Update documentation with new config parameters
* Test that non-existence of attachments is not cached
* Remove unneeded defaults in interface
* It turned out we need the defaults on the interface in quite a few tests
* Codereview: typos, size in MB rather than bytes, charset in tests, move concurrencyLevel to a constant
* Codereview: Make the internal config value bytes again, but config file in MB
* Fix example config unit test
2018-01-22 13:41:06 +00:00
Michal Kit
4a3379ac8a
CORDA-937 adding node key pair to utility/testing methods ( #2405 )
2018-01-22 13:06:22 +00:00
Andrzej Cichocki
1fc646cfa8
CORDA-716 Move test-utils and node-driver to stable API section in docs ( #2335 )
...
* Move test-utils and node-driver to stable section.
* Move FlowStackSnapshotFactory to testing.services package & update docs
* Move SerializationTestHelpers to testing.core package
* Move TestConstants.kt to core namespace
* Move Expect.kt to core namespace
* Move CoreTestUtils to core.TestUtils - rename class and update imports
* Added some clarification to documents after re-reading them
* Added static imports
* Removing unused import
* Fix merge conflict
* Fixing merge conflict
2018-01-22 11:28:41 +00:00
Andrzej Cichocki
d00438b86f
Fix MockNetwork non-daemon thread leak. ( #2397 )
2018-01-22 11:00:40 +00:00
szymonsztuka
f59560bb06
Database schema changes. ( #2389 )
...
Changes compatible with R3.Corda (ENT-794):
1) Added Hibernate corda-wrapper-binary two to to columns.
2) Shorten names of tables in dummy schemas used in tests.
3) Undo removal of compound index of VaultTxnNote (b423fea
).
4) Assertions for 2 vault tests don't rely on order of rows.
2018-01-19 17:09:02 +00:00
Mike Hearn
ac7637e2b4
Revert "CORDA-599 RPCSecurityManager is no longer lateinit ( #2347 )"
...
This reverts commit 75e74e67a1
.
2018-01-19 17:52:59 +01:00
Joel Dudley
cfc5c6709a
Fixes formatting.
2018-01-19 13:43:17 +00:00
Joel Dudley
87b00fde7d
Better instructions for building against master.
2018-01-19 11:47:19 +00:00
Anthony Keenan
35f89e03ea
Abstract InMemoryMessaging behind an interface so as not expose net.corda.nodeapi.internal.persistence.CordaPersistence in public API ( #2390 )
2018-01-19 10:57:08 +00:00
cburlinchon
de4c062529
Node restarted with shutdown executor ( #2391 )
...
* Test for node restart
* Executor gets shutdown on stop, make sure we have one on start
* Reset shutdown otherwise AbstractNode.stop never gets called
2018-01-19 10:19:12 +00:00
Joel Dudley
7427d63bbc
Prevents checkSignatures from failing if tx also contains unrecognised sigs.
2018-01-18 18:08:22 +00:00
Katarzyna Streich
af081a7170
Remove primary key constraint on DBHostAndPort ( #2318 )
...
Remove primary key constraint on DBHostAndPort
Return always first node if more are matching by address.
2018-01-18 16:23:41 +00:00
Joel Dudley
4d4f12d598
Reworks upgrade notes to improve structure and style.
2018-01-18 11:10:52 +00:00
Joel Dudley
038c4eb615
Removes cli vs ide from quickstart. Adds link to new utilities page.
2018-01-18 11:04:07 +00:00
Katelyn Baker
9df35ae5d3
Merge pull request #2383 from corda/kat/feature/deterministicSerilaizer
...
CORDA-914 - Deterministic property ordering for AMQP serialization
2018-01-18 10:29:57 +00:00
Andrzej Cichocki
bbcafca959
Retire DatabaseTransactionManager. ( #2385 )
2018-01-18 10:11:34 +00:00
josecoll
e699dad076
CORDA-917 Bootstrap nodes without Notary schemas (by default) ( #2376 )
...
* Default jolokia version with optional override in CorDapp project gradle file.
* Bootstrap a node without Notary schemas by default.
* Revert unrelated Jolokia code change.
* Revert unrelated Jolokia code change.
* Addressed PR review feedback.
2018-01-18 10:10:06 +00:00
Katelyn Baker
619f333541
Merge pull request #2350 from corda/kat/docFix
...
Serialization documentation update
2018-01-17 22:14:43 +00:00
joeldudleyr3
7a458323a0
Clarified some further points.
2018-01-17 17:54:13 +00:00
joeldudleyr3
4248660017
Various grammar fixes and clarifications.
2018-01-17 17:54:13 +00:00
joeldudleyr3
776289cb01
Corrects glossary.
2018-01-17 17:54:13 +00:00
Katelyn Baker
a3fd653aff
Serialization documentation update
2018-01-17 17:54:13 +00:00
Katelyn Baker
0e047d9263
CORDA-914 - Deterministic property ordering for AMQP serialization
2018-01-17 17:52:33 +00:00
Shams Asari
d19eb4a9d7
Removed useHTTPS from NodeConfiguration as it's not needed by the node. ( #2375 )
...
It's still expected to be present in node.conf if the web server needs to use SSL.
2018-01-17 17:47:40 +00:00
Matthew Nesbit
6edf95506b
Rename the inbox ( #2360 )
...
Add changelog entry
Address review comments
Alternate solution to service queues
Fixup after merge
2018-01-17 16:06:31 +00:00
josecoll
d0b62db0d2
Backported fix. ( #2378 )
2018-01-17 16:02:10 +00:00
Joel Dudley
0638f8c539
Adds Java code samples for versioning docs.
2018-01-17 15:21:00 +00:00
Andrzej Cichocki
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
Clinton
a19b213d7d
Added conditional to disable tests when CORDA_DOCS_ONLY_BUILD envvar is present ( #2371 )
2018-01-17 13:08:00 +00:00
Joel Dudley
6e817f014d
Adds default endpoints for the Corda development webserver.
2018-01-17 11:04:37 +00:00
Christian Sailer
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
Mike Hearn
d247e643ae
Minor: tweaks to the discussion of network parameters and network map.
2018-01-16 17:18:49 +01:00
Andrius Dagys
55b7035a44
Don't propagate internal notary service errors to the client ( #2368 )
2018-01-16 09:58:23 +00:00
Anthony Keenan
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
Andrzej Cichocki
75e74e67a1
CORDA-599 RPCSecurityManager is no longer lateinit ( #2347 )
2018-01-15 19:11:00 +00:00
Mike Hearn
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
Christian Sailer
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
Christian Sailer
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
Christian Sailer
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
Andras Slemmer
91779276fc
Use single thread per netty eventgroup during testing
2018-01-15 11:18:29 +00:00
igor nitto
2082168cf7
Close Hikari CP around external auth database on shutdown (RPCSecurityManagerImpl.kt) ( #2359 )
2018-01-15 09:57:44 +00:00
Andrius Dagys
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
Andrius Dagys
7311111c9c
Re-enable notary idempotence test ( #2356 )
...
* Re-enable notary idempotence test
2018-01-12 20:25:49 +00:00
Andrius Dagys
219d6f8b12
Un-ignore several integration tests
2018-01-12 18:19:02 +00:00
Andrius Dagys
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
Joel Dudley
29b52f66dc
Updates the documentation on versioning.
2018-01-12 10:20:24 +00:00
Shams Asari
bbfbb08c43
CORDA-881: Signed network parameters has the network map cert attached to it instead of just the public key. ( #2346 )
...
Introduced DigitalSignatureWithCert and SignedDataWithCert as internal APIs, with the expectation that they will become public; renamed the network parameters end-point to network-parameters; updated the network-map.rst doc; and did some refactoring.
2018-01-12 07:59:08 +00:00
Andrius Dagys
0a56c75543
Minor: AuthDBTests - close RPC connections to prevent thread leaks
2018-01-11 12:00:02 +00:00