Commit Graph

5112 Commits

Author SHA1 Message Date
75e74e67a1 CORDA-599 RPCSecurityManager is no longer lateinit (#2347) 2018-01-15 19:11:00 +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
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
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
7311111c9c Re-enable notary idempotence test (#2356)
* Re-enable notary idempotence test
2018-01-12 20:25:49 +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
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
0a56c75543 Minor: AuthDBTests - close RPC connections to prevent thread leaks 2018-01-11 12:00:02 +00:00
8b5ad9d5c0 Remove unused class DefaultCordaRpcPermissions (#2328) 2018-01-11 10:45:33 +00:00
d846011cc4 Merge pull request #2251 from corda/kat/feature/testingDisableEvolver
Disable Evolver / Generics fingerprinting bugfix
2018-01-10 17:26:38 +00:00
97793447d5 CORDA-855 - Adding tests for wild card generics
Can't actually get something to go through the serializer with a
wild card in place as it seems that's an impossible situation

    * Review Changes
    * CORDA-855 - Review Comments
    * Review Comments
    * Review comments
2018-01-10 15:53:28 +00:00
41220de816 CORDA-855 - Fix for fingerprinting generics in AMQP
* Undo refactor
2018-01-10 15:36:54 +00:00
017f865fa3 CORDA-852 - Fix AMQP serialisation of nested generic 2018-01-10 15:35:47 +00:00
c2bd7403a8 hibernate mapping changes (#2337)
* add foreign key names and move the participants mapping to the subclass so that the table name can be configured

* update api-current file

* fix compilation errors

* PR changes

* PR changes
2018-01-10 11:42:08 +00:00
cacdba872e CORDA-908 - Support private properties in AMQP serialization (#2336)
CORDA-908 - Support private properties in AMQP serialization

* Review comments

* Fix tests

* Review Comments

* review comments

* review comments
2018-01-10 11:41:49 +00:00
979d7f2c63 ENT-1226 Improve Network client Error Handling (#2344)
* Improve Network client Error Handling

* Reformatted NetworkMapServer

* Removed line that is now redundant
2018-01-09 16:55:16 +00:00
a6cf04b49c Ignore flaky Raft Notary integration test while it's being investigated 2018-01-09 16:07:07 +00:00
63e1bdaa94 Revert "Raft notaries can share a single key pair for the service identity (i… (#2269)"
This reverts commit 3e00676851.
2018-01-09 12:20:25 +00:00
46d88ed740 Adds JavaDocs for waitForAllNodesToFinish param 2018-01-09 11:56:48 +00:00
3e00676851 Raft notaries can share a single key pair for the service identity (i… (#2269)
* 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-09 08:17:59 +00:00
4a995870c8 Fix example-node.conf in docs (#2334) 2018-01-08 17:50:29 +00:00
38fd99792f Minor: add some discussion to the JavaDocs about why attachments are zip files. 2018-01-08 17:36:47 +01:00
5df48e0f5e Allow testing of platform version when building test node info (#2333) 2018-01-08 14:42:51 +00:00
c5149bab9f Backport of ENT-1303 applied to 3.0-RC3 (#2332) 2018-01-08 12:11:55 +00:00
5924427659 Make additionalcorddapps property on cordform node internal (#2329) 2018-01-08 11:54:41 +00:00
83a0a2fa3c Enum evolution documentation (#2189)
* CORDA-553 - Documentation

* CORDA-553 - Documentation

* Review comments

* review comments

* DOCUMENTATION: Serilization docs review updates
2018-01-05 19:30:17 +00:00
6a07576c96 CORDA-834 - Class default evolution serialisation documentation (#2209)
CORDA-834 - Class default evolution serialisation documentation
2018-01-05 17:44:53 +00:00
e2286a75e5 CORDA-902 - Serialization documentation (#2323)
CORDA-902 - Serialization documentation
2018-01-05 17:34:32 +00:00
37e0830b7d Merge pull request #2317 from corda/kat/feature/setterConstructAMQP
CORDA-902 - AMQP Setter Construction when empty / no constructor
2018-01-05 16:37:23 +00:00
9d66214f4a CORDA-891 Convert NodeSchedulerServiceTest into a unit test (#2273) 2018-01-05 16:34:03 +00:00
3bf84ebbd4 Review Comments 2018-01-05 15:50:24 +00:00
f230e2670b REVIEW COMMENTS 2018-01-05 15:50:24 +00:00
f4ad8d3e70 CORDA-902 - AMQP Setter Construction when empty / no constructor 2018-01-05 15:50:24 +00:00
7856eb158c Merge pull request #2327 from corda/REMOVE_FLAKEY_TESTS
REMOVING FLAKEY TESTS TILL THEYRE STABILISED
2018-01-05 15:49:23 +00:00
ab76ef4deb REMOVING FLAKEY TESTS TILL THEYRE STABILISED 2018-01-05 15:05:10 +00:00
694721e8ba TEMP removal of SSH tests till they're made determinsitic (#2325) 2018-01-05 14:07:55 +00:00
00b570df29 Improve RPC security test coverage [CORDA-827] (#2320)
* Added test cases covering encrypted password usage
 * Renamed UserAuthServiceTests as AuthDBTests: the integration tests checking user credentials loaded from external database (still limited to H2 in-memory for now).
 * Some internal renamings
2018-01-05 11:50:21 +00:00
1661cea816 CORDA-892: Make cordform test use new network bootstrapper logic (#2307)
* Make cordform test use new network bootstrapper logic

* Fixing review comments

* Fix issue with backwards compatibility

* Fix issue with setup not being called from CordformDefinitions

* Make sure node dir is created (as CordformDefinition uses it directly if setup is overridden
Make sure tmp dir is created

* Don't crash if node dir is already created

* Stop overwriting errors
2018-01-05 09:21:59 +00:00
00a02b30fe Update link for Corda API strategy documentation. (#2316) 2018-01-04 18:05:06 +00:00
48be562a2a ECDSA entropyToKeyPair + no idempotent signatures (#2210) 2018-01-04 17:52:31 +00:00
259eef8838 Merge pull request #2314 from corda/spellerrorfix
SPELLING ERROR FIX - It's -> Its
2018-01-04 16:46:29 +00:00
01e4880947 SPELLING: updae error message in tests 2018-01-04 15:49:55 +00:00
63734aa3ed Harmonises the names of the parameters across CashExitFlow constructors. 2018-01-04 13:35:56 +00:00
412fead02e CORDA-785: Add functions for constructing FlowLogicRef without the class (#2134)
Add functions for constructing `FlowLogicRef` from class name, rather than requiring the class itself. This avoids requiring that schedulable states have access to the scheduled flow to instantiate, but instead can require it only actually scheduling the flow. This reduces the size of the JAR required to validate transactions containing these states.
2018-01-04 13:32:10 +00:00