corda/samples
Christian Sailer e38cd9ec63
ENT-5043 separate out test utils (#5998)
* Remove unused dependencies from test-common

* Explicit imports and formatting

* Add core-test-utils project

* Add dependency

* Move Kryo serialization context to node-api (not serialization as we do not want to pull kryo into the serialization lib)

* Move AMQP server serialization scheme to node api

* Move serialization tests to node-api

* Move internal test helpers without further dependencies.

* Move out some types from RPCClientProxyHandler to node-api in preparation for moving the AMQP scheme

* Move client AMQP context to node-api so we can move the test serialization rule out.

* Move InternalSerializationTestHelpers to core-test-utils

* Moved testing.core to core-test-utils

* Make detekt happy

* Add api-scanner to core-test-utils

* Remove inlined package names introduced by IntelliJ refactoring

* Update api-current.txt to account for reordering.

* Add core-test-utils to list of published artifacts.

* Add missing import

* Location of things in api text has moved again (publish name of artefact?)

* Revert all additions to the API, leaving just the reordering

* Code review: fix up core-test-utils build.gradle and introduce kryo version constant.

* Remove OpenSsl flag from ssl config stub (can't be used from node-api)

* Suppress detekt warning

* Move core test util tests to the right module

* Expose kotlin test as a transient dependency - projects have come to rely on that.

* Fix typo in package name
2020-03-03 15:55:17 +00:00
..
attachment-demo add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
bank-of-corda-demo CORDA-3091: Move executor thread management into CordaRPCConnection (#5491) 2019-09-26 17:48:07 +01:00
cordapp-configuration CORDA-3024 Rename the webserver (#5489) 2019-09-26 10:20:49 +01:00
irs-demo ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
network-verifier add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
notary-demo ENT-4610 Move tx signing to the Uniqueness provider (#5773) 2019-11-29 17:30:33 +00:00
simm-valuation-demo ENT-4652: Tighten Groovy code for writing Cordapp-Dependencies. 2020-02-13 19:43:30 +00:00
trader-demo ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
README.md CORDA-3370 Remove Network visualiser reference 2019-10-30 16:45:33 +00:00

Sample applications

Please refer to README.md in the individual project folders. There are the following demos:

  • attachment-demo A simple demonstration of sending a transaction with an attachment from one node to another, and then accessing the attachment on the remote node.
  • irs-demo A demo showing two nodes agreeing to an interest rate swap and doing fixings using an oracle.
  • trader-demo A simple driver for exercising the two party trading flow. In this scenario, a buyer wants to purchase some commercial paper by swapping his cash for commercial paper. The seller learns that the buyer exists, and sends them a message to kick off the trade. The seller, having obtained his CP, then quits and the buyer goes back to waiting. The buyer will sell as much CP as he can! We recommend starting with this demo.
  • simm-valuation-demo A demo showing two nodes reaching agreement on the valuation of a derivatives portfolio.
  • notary-demo A simple demonstration of a node getting multiple transactions notarised by a single or distributed (Raft or BFT SMaRt) notary.
  • bank-of-corda-demo A demo showing a node acting as an issuer of fungible assets (initially Cash)
  • network-verifier A very simple CorDapp that can be used to test that communication over a Corda network works.