Commit Graph

5518 Commits

Author SHA1 Message Date
b8f25fe689 Docs on contributing to Corda 2018-01-25 17:15:36 +00:00
17a6f61eba Simplify CashTests and add some comments/convenience APIs to MockServices (#2241) 2018-01-25 16:29:26 +01:00
242d9cf7ad CORDA-692 Don't include internal packages in API documentation (#2415)
* Use G1 for gradle daemon
2018-01-25 15:26:13 +00:00
471907366b Renames Controller to NetworkMapAndNotary, in line with templates and example CorDapp. 2018-01-25 15:14:32 +00:00
371cb0a081 Gradle plugins: additional of publish sources configuration field (#2420)
* Gradle plugins change: publication of source code is config driven (defaults to true).
2018-01-25 14:40:11 +00:00
9783f11ba8 Exposed RPC SSL settings through Cordformation (#2419) 2018-01-25 14:32:58 +00:00
5f8af818b1 Merge pull request #2408 from corda/jamesbr-remove-jolokia-war
Remove jolokia war reference from webserver
2018-01-24 21:19:50 +00:00
0fa6969d5d Added various X509 utilities to remove some of the existing boilerplate. (#2416) 2018-01-24 18:07:29 +00:00
3c95772288 Merge pull request #2418 from corda/kat/feature/gradleUpgrade4.4.1
Upgrade gradle to 4.4.1
2018-01-24 17:29:03 +00:00
52ae34782d Removes a reference to the bundled node webserver. 2018-01-24 16:41:49 +00:00
51d6209c97 Upgrade gradle to 4.4.1 2018-01-24 16:15:43 +00:00
cfb8997f23 Fix build break due to an API change between PR check and merge 2018-01-24 17:14:03 +01:00
d17670c747 Provide an API to register callback on app shutdown (#2402)
Provide an API to register callback on app shutdown.
2018-01-24 16:19:24 +01:00
3c0e006456 Reverted incorrect additional advertised RPC address in NodeInfo (#2417) 2018-01-24 14:42:07 +00:00
61c7de22d6 Replaced KeyStoreWrapper with X509KeyStore, which is still a wrapper but assumes only X509 certs and has better APIs (#2411) 2018-01-24 07:51:55 +00:00
5df50c0e81 Fixes a bug in the deserialisation of UniqueIdentifiers in the CRaSH shell. 2018-01-23 17:28:24 +00:00
142f52fa82 [CORDA:936]: Enable RPC layer to work with SSL 2018-01-23 16:23:37 +00:00
70f1fdeb2b CORDA-939 Make SerializationEnvironmentRule.env private so as not to expose internals. (#2404)
* Make SerializationEnvironment private so as not to expose internals.

* Only expose used parts of api

* Make properties lateinit

* Removing java calls to getEnv

* Initialise properties at declaration

* Tidy up imports
2018-01-23 14:42:30 +00:00
8de2c78dd2 Remove jolokia war reference from webserver 2018-01-22 16:21:28 +00:00
443afb3515 Rethrows a clearer error message when a test tx in a test ledger does not create a valid tx. 2018-01-22 16:08:26 +00:00
c8e55ae086 Backported fix. (#2399) 2018-01-22 14:32:04 +00:00
642b298d23 AWS marketplace getting started docs 2018-01-22 14:27:35 +00:00
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
4a3379ac8a CORDA-937 adding node key pair to utility/testing methods (#2405) 2018-01-22 13:06:22 +00:00
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
d00438b86f Fix MockNetwork non-daemon thread leak. (#2397) 2018-01-22 11:00:40 +00:00
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
ac7637e2b4 Revert "CORDA-599 RPCSecurityManager is no longer lateinit (#2347)"
This reverts commit 75e74e67a1.
2018-01-19 17:52:59 +01:00
cfc5c6709a Fixes formatting. 2018-01-19 13:43:17 +00:00
87b00fde7d Better instructions for building against master. 2018-01-19 11:47:19 +00:00
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
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
7427d63bbc Prevents checkSignatures from failing if tx also contains unrecognised sigs. 2018-01-18 18:08:22 +00:00
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
4d4f12d598 Reworks upgrade notes to improve structure and style. 2018-01-18 11:10:52 +00:00
038c4eb615 Removes cli vs ide from quickstart. Adds link to new utilities page. 2018-01-18 11:04:07 +00:00
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
bbcafca959 Retire DatabaseTransactionManager. (#2385) 2018-01-18 10:11:34 +00:00
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
619f333541 Merge pull request #2350 from corda/kat/docFix
Serialization documentation update
2018-01-17 22:14:43 +00:00
7a458323a0 Clarified some further points. 2018-01-17 17:54:13 +00:00
4248660017 Various grammar fixes and clarifications. 2018-01-17 17:54:13 +00:00
776289cb01 Corrects glossary. 2018-01-17 17:54:13 +00:00
a3fd653aff Serialization documentation update 2018-01-17 17:54:13 +00:00
0e047d9263 CORDA-914 - Deterministic property ordering for AMQP serialization 2018-01-17 17:52:33 +00:00
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
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
d0b62db0d2 Backported fix. (#2378) 2018-01-17 16:02:10 +00:00
0638f8c539 Adds Java code samples for versioning docs. 2018-01-17 15:21:00 +00:00
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