Commit Graph

12993 Commits

Author SHA1 Message Date
62c2e1c892 OS merge 2018-07-19 2018-07-19 16:43:46 +01:00
fe9b89369f CORDA-1816: Migrate JarFilter plugin to corda-gradle-plugins. (#3651) 2018-07-19 16:35:36 +01:00
7466463b89 [CORDA-1572] Create marker file to track initial registration status. (#3621)
[CORDA-1572] Create marker file to track initial registration status.
2018-07-19 16:20:04 +01:00
a94dbc9c9a Change SZ to CZ in the cert hierarchy diagram (#3655) 2018-07-19 16:07:50 +01:00
7a18dbb8ed Merge pull request #3644 from corda/flow-test-rationalisation
Flow test rationalisation
2018-07-19 15:33:43 +01:00
d1455b7a0e Move hamkrest version number into top-level configuration 2018-07-19 14:21:07 +01:00
f3d9750ea5 Eliminate needless equalTo 2018-07-19 13:47:18 +01:00
c0966067cc Move andRunNetwork out of transaction block 2018-07-19 12:02:46 +01:00
974db3a15b Rename matcher 2018-07-19 12:00:02 +01:00
2992866269 Eliminate unnecessary transactions 2018-07-19 11:45:42 +01:00
fc5cc89fdb Renaming matchers 2018-07-19 11:36:07 +01:00
82d7ec0729 Na testnet screenshots (#3647)
* update docs/screenshots
2018-07-18 16:38:30 +01:00
099756c4c7 Replace internal JDK reference with ASM reference. (#1281) 2018-07-18 16:32:16 +01:00
53b398a460 ENT-2116: handle amqp client remote error, added test (#3636)
* ENT-2116: handle amqp client remote error, added test

* ENT: 2116 rename test, added logging

* ENT-2116: rename test to indicate its purpose
2018-07-18 16:07:42 +01:00
1b05ccd397 Merge pull request #1280 from corda/chrisr3-os-merge
Merge up to e879de70f3.
2018-07-18 15:35:54 +01:00
0780d6051e Use startFlowAndRunNetwork 2018-07-18 15:21:04 +01:00
201628e44f Extract common test functionality into mixin interfaces 2018-07-18 13:49:49 +01:00
8c103d4247 ENT-2261: Systematic integration test for FlowProcessing (#1278)
* ENT-2261: Skeleton of parameterized test.

* ENT-2261: Programmatically compose rules and install them.

* ENT-2261: Separate counter decrement from termination.

* ENT-2261: Extend coverage to "executePersistCheckpoint".

* ENT-2261: Extend coverage to "ClientMessageImpl.acknowledge()"

* ENT-2261: Extend coverage to "RPCServer.context()"

* ENT-2261: Extend coverage to "ActionExecutorImpl.executeReleaseSoftLocks()" (unfinished)

* ENT-2261: Re-structure test data slightly.
"executeReleaseSoftLocks" seems to be failing.

* ENT-2261: Correct expectations in terms of number of transactions that ought to be produced.

Also use "eventually" construct to cater for node restart which may take some time.

* ENT-2261: Incorporate feedback from @exFalso and use polling approach.

* ENT-2261: Additional debug output.

* ENT-2261: Further expand coverage to RPCServer.context()

Also tighten-up assertion checks.

* ENT-2261: Further expand coverage to ActionExecutorImpl.executeCreateTransaction()

* ENT-2261: Further expand coverage to ActionExecutorImpl.executeRemoveCheckpoint()

* ENT-2261: Further expand coverage to ActionExecutorImpl.executePersistDeduplicationIds() and ActionExecutorImpl.executeCommitTransaction()

* ENT-2261: Revert non-material change.
2018-07-18 13:18:01 +01:00
0ceb9c3f22 Remove merge junk from constants.properties. 2018-07-18 11:36:24 +01:00
08b5cb6d5f Remove old future to event horizon not being implemented. (#3642) 2018-07-18 11:05:30 +01:00
ff607e1bc1 Moved network services tests back as unit tests (#3639) 2018-07-18 11:03:45 +01:00
c0207b2219 CORDA-1815 adding maxTransactionSize validation (#3635)
* CORDA-1815 adding maxTransactionSize validation

* Fixing failing tests

* Fixing failing test
2018-07-18 10:34:41 +01:00
fbac6d7042 Remove RandomFree reference to fix merge. 2018-07-18 10:24:57 +01:00
d54bf2f761 Remove Guava shading from node-api because Curator already shades its own. 2018-07-18 09:29:56 +01:00
aa50aaf95d Merge commit 'e879de7' into chrisr3-os-merge 2018-07-17 22:47:24 +01:00
7e3687c306 CORDA-1820: Reduce amount of logging/lookup performed by SerializerFactory.findCustomSerializer() (#3633)
* CORDA-1820: Reduce amount of logging/lookup performed by SerializerFactory.findCustomSerializer()

* CORDA-1820: Changes to make DJVM work.
2018-07-17 21:04:04 +01:00
dafd979bde CORDA-1818 - fix markup in h2 docs (#3629) 2018-07-17 17:47:46 +01:00
45514a8764 Minor tidying 2018-07-17 17:19:58 +01:00
e16056eb36 Refactor to new style, sharing mock network 2018-07-17 17:12:20 +01:00
73d3af504d Merge pull request #3615 from corda/df-reuse-mock-network-example
Reuse mock network, randomising party names to avoid clash
2018-07-17 17:10:33 +01:00
8a54badc6a CORDA-1514 Add our patented nested Merkle trees protocol to documentation 2018-07-17 15:36:10 +01:00
0e75027525 Configure remote gradle build cache. 2018-07-17 15:09:15 +01:00
921b132658 Deprecated freeLocalHostAndPort, freePort and getFreeLocalPorts of TestUtils (#3630)
They're prone to cause flaky tests due to the "allocated" ports already being taken by the system when eventually needed. Replaced usages with PortAllocation.Incremental.

Affected unit tests made into integration tests to avoid any issues in the future when unit tests are made to run in parallel.
2018-07-17 14:42:30 +01:00
2003881b77 Features/fix integration test in database mode (#1276)
Fix new/altered integration tests to run in database mode, disable new H2 db specific test when running against a remote database.
2018-07-17 12:40:05 +01:00
cb4e428ec4 Merge pull request #1275 from corda/bogdan-merge-160618
OS-ENT merge
2018-07-17 12:37:45 +01:00
e879de70f3 CORDA-1800: Shrink the Simm Valuation Demo's contract states using ProGuard. (#3586)
* Shrink the Simm Valuation Demo's contract states CorDapp using ProGuard.
* Remove CordFormation from CorDapp modules, which unbundles Jolokia from the CorDapps.
* Preserve directory structure for CorDapp's own classes.
* Remove unwanted transitive dependencies from Simm Valuation CorDapps.
* Use allprojects {} to set Strata version property.
2018-07-17 12:31:44 +01:00
829be5dfb6 CORDA-1747 fix issue around RPC return of generic objects (#3625)
* fix issue around RPC return of generic objects

* address review comments
2018-07-17 12:19:06 +01:00
a8fa232301 CORDA-1516 - Adding notary to key-concepts-transactions (#3502)
also decided not to include info about privacy salt (as too complex)
2018-07-17 11:53:53 +01:00
8b3f97ca8c Add long lost line of artemis magic 2018-07-17 11:08:12 +01:00
aee2377f4f Add a doc on local configuration for a Corda testnet node. (#3623)
* Add a page on local deployment

* Add a page on local deployment

* Fix typos

* add image

* Added warning on copying nodes.

* Added warning

* Fix reviewer comments

* Update index

* broken note

* typo
2018-07-17 10:45:46 +01:00
a18076a359 Update CONTRIBUTORS.md 2018-07-17 10:44:05 +01:00
736d62ec1a Retire RandomFree as it causes flaky tests (#3626) 2018-07-17 10:29:47 +01:00
1cffe1b080 Docs: update notary setup page 2018-07-17 11:26:55 +02:00
21725ef192 CORDA-3167 added titles to Treasury chart in Explorer 2018-07-17 11:15:30 +02:00
2b6e59e7bd Eliminate extensive printout when Byteman not found on the classpath. (#1277)
Byteman is absent for most of the integration tests and long stacktrace is seen in the log
presently that un-necessarily attracts attention and consumes logging space.
2018-07-17 09:04:24 +01:00
851d1fa557 Clarify test intention with generators, operations and matchers 2018-07-16 17:51:20 +01:00
1ca2059863 [CORDA-1635] Update docs (node naming constraints). (#3595)
* Update docs (node naming constraints).

* Update CordaX500NameTest to ensure consistency with the docs.

* Respond to feedback.
2018-07-16 17:29:29 +01:00
a1cb184a1d ENT-2168: Node internal docs tweaks (#3624) 2018-07-16 17:13:43 +01:00
d262c88c0b CORDA-1814: Quasar is only providing its annotations (i.e. @Suspendable) so remove its transitive dependencies. (#3620) 2018-07-16 15:57:11 +01:00
ca56f6bd33 Fixed out-of-date integration testing tutorial and added Java example (#3596) 2018-07-16 13:14:57 +01:00