Commit Graph

7167 Commits

Author SHA1 Message Date
Matthew Nesbit
3a27ca5989 Correct main application class name 2016-05-23 15:20:20 +01:00
Matthew Nesbit
ab5fc4a1d5 Fix up default IntelliJ run configuration 2016-05-23 15:10:45 +01:00
Matthew Nesbit
63a5fd1b9e Add com.r3corda to all namespaces. 2016-05-23 14:53:56 +01:00
Matthew Nesbit
4eb4233584 Merged in mnesbit-cor-174-refactor-namespaces (pull request #108)
Further refactoring of namespaces and tidy up of unit test locations
2016-05-20 18:15:18 +01:00
Matthew Nesbit
d1e8d15d9d Merge branch 'mnesbit-cor-174-refactor-namespaces' of https://bitbucket.org/R3-CEV/r3prototyping into mnesbit-cor-174-refactor-namespaces
# Conflicts:
#	core/src/main/kotlin/core/testing/TestUtils.kt
2016-05-20 16:56:41 +01:00
Matthew Nesbit
1d5f409c66 Remove unnecessary .Companion statements brought in during refactoring. 2016-05-20 16:43:03 +01:00
Matthew Nesbit
45f67a4f8c Remove orphaned comment 2016-05-20 16:43:02 +01:00
Matthew Nesbit
60ff42dd30 Move test to core as part of tidy up. 2016-05-20 16:43:02 +01:00
Matthew Nesbit
69cba98ddc Push unit tests that needed some contract functionality into core by embedding the minimal contract support needed. 2016-05-20 16:43:02 +01:00
Matthew Nesbit
a7c0296f6b Rename node.core to node.internal from Rick's suggestion not to use core outside of the core package. 2016-05-20 16:43:01 +01:00
Matthew Nesbit
8e9055b907 Kill test resource file that didn't move correctly 2016-05-20 16:43:00 +01:00
Matthew Nesbit
f6f56797ce Refactor code into clear core, contracts and node namespaces. Move services into clear implementation and api sides. Push unit tests down to lowest level of dependency hierarchy possible. 2016-05-20 16:42:59 +01:00
Matthew Nesbit
a556dfb17d Push internal subsystems into node 2016-05-20 16:42:56 +01:00
Matthew Nesbit
c6b788f792 Remove orphaned comment 2016-05-20 16:09:08 +01:00
Matthew Nesbit
06f4c6ab5b Move test to core as part of tidy up. 2016-05-19 14:10:25 +01:00
Matthew Nesbit
097a520e05 Push unit tests that needed some contract functionality into core by embedding the minimal contract support needed. 2016-05-19 14:01:38 +01:00
Matthew Nesbit
5d054c8ab3 Rename node.core to node.internal from Rick's suggestion not to use core outside of the core package. 2016-05-19 12:07:14 +01:00
Mike Hearn
6c31420d23 Minor: typo fix in running-the-demos.rst doc. 2016-05-19 12:38:00 +02:00
Mike Hearn
073f4a8e7e Merged in docs-setup (pull request #103)
Improve Set Up documentation
2016-05-19 12:22:24 +02:00
Matthew Nesbit
4ecc129b72 Kill test resource file that didn't move correctly 2016-05-19 10:59:11 +01:00
Matthew Nesbit
01e9536444 Refactor code into clear core, contracts and node namespaces. Move services into clear implementation and api sides. Push unit tests down to lowest level of dependency hierarchy possible. 2016-05-19 10:59:10 +01:00
Matthew Nesbit
c8130581a9 Push internal subsystems into node 2016-05-19 10:59:07 +01:00
Mike Hearn
5e70646bd2 Refactor the trader demo and add comments to make it easier to customise. 2016-05-18 19:10:49 +02:00
Mike Hearn
6f1e2047dd Docs: add a doc that describes how to link the other tutorials together into a demo. 2016-05-18 19:05:33 +02:00
Wawrzyniec Niewodniczanski
ed3b33af19 Cosmetic change
- missing word
- wrong URL
2016-05-18 18:00:38 +01:00
Wawrzyniec Niewodniczanski
6896af25b2 Merge branch 'setup-docs-changes' of bitbucket.org:R3-CEV/r3prototyping into docs-setup 2016-05-18 10:44:11 +01:00
Wawrzyniec Niewodniczanski
e5ef9b28b7 Improve Set Up documentation
- there seems to be some changes to IntelliJ
- some further clarification
2016-05-18 10:39:47 +01:00
Rick Parker
719e0ad9f2 Merged in plt-141-serialisation-helpers (pull request #95)
Serialisation proxy for proxying large node-internal components
2016-05-18 10:26:43 +01:00
rick.parker
041aab5af0 Serialization tokenization support for large objects (e.g. entries in ServiceHub) 2016-05-18 10:25:50 +01:00
Andrius Dagys
e8ae3be38d TwoPartyDealProtocol fix: don't check Notary identity if the transaction has no inputs 2016-05-18 10:06:30 +01:00
Mike Hearn
06cf7a21be Docs: misc markup fixes and adjust an out of date paragraph about oracles. 2016-05-17 19:40:53 +02:00
Mike Hearn
5b1b5773ee Merged in simplify-demo-execution (pull request #99)
Simplify demo execution
2016-05-17 18:14:45 +02:00
Mike Hearn
e1f899647a Modify the trader demo so it doesn't need a shell script to start it anymore. Now all configuration is in the driver program. 2016-05-17 18:13:24 +02:00
Mike Hearn
8211a7937b Merged in simulation-bug-fixes (pull request #96)
Simulation bug fixes
2016-05-17 18:10:17 +02:00
Mike Hearn
69eef9a947 Temporarily disable the IRS simulation test due to it revealing an issue with the new verifyCorrectNotary code. 2016-05-17 18:09:26 +02:00
Mike Hearn
e475b146d9 Testing: add a unit test that runs the IRS simulation through to completion, to ensure some test coverage of TwoPartyDealProtocol until it's merged with TPTP. Fix an issue that was breaking the simulation. 2016-05-17 17:57:41 +02:00
Mike Hearn
f9920cbc28 Testing: expose a future from the Simulation.start method to let you find out when the simulation has finished (if it finishes at all).
Add a simple test that just forces the IRS simulation through to completion (no real checks on the output).
2016-05-17 17:57:40 +02:00
Mike Hearn
8bcc6bdf1c Testing: expose the full message transfer record (with sender and recipients) when iterating a mock network and simulation.
This is useful for the visualiser to exclude uninteresting interactions.
2016-05-17 17:56:32 +02:00
Mike Hearn
5de2ba4ef9 Tweak the simulation so that the startup sequence of the network (with map registration etc) can be observed. 2016-05-17 17:56:31 +02:00
Mike Hearn
474054411d Minor: expose a started getting on AbstractNode and check for double starts. Expose findMyLocation as public. 2016-05-17 17:55:52 +02:00
Mike Hearn
c5f7849689 Minor: delete dead field 2016-05-17 17:53:28 +02:00
Mike Hearn
b714a09881 A node that is exporting a network map service should not try to register with itself twice (one internally and once over the network).
Minor renamings and cleanups in the network map code.

Throw an exception if a production node isn't configured with any network map service at all.
2016-05-17 17:53:26 +02:00
Mike Hearn
883be19978 Testing: make the in memory messaging service support logging of all sent messages with useful text descriptions of each node 2016-05-17 17:50:27 +02:00
Mike Hearn
c5217412a4 Put the network map service into the list of network services in Simulation, and update the mock physical locations, so the visualiser tool looks better. 2016-05-17 17:50:26 +02:00
Andrius Dagys
b388fa529f Merged in uniqueness-service-tweaks (pull request #98)
Notary tweaks
2016-05-17 12:14:58 +01:00
Andrius Dagys
8f9413115b Added a TODO for combining the Notary verification logic with command sig verification 2016-05-17 12:14:14 +01:00
Andrius Dagys
4affe7271b Seller: Verify that the Notary signature received from the Buyer is by the correct Notary 2016-05-17 12:14:14 +01:00
Andrius Dagys
f363439a6c NotaryException now provides the specific error information 2016-05-17 12:14:14 +01:00
Mike Hearn
3ef8763d71 Minor: add /node/build to .gitignore 2016-05-17 11:12:15 +02:00
Matthew Nesbit
bfeb768f2d Merged in mnesbit-cor-174-reorganise-for-bank-developers (pull request #89)
A proposal for how to restructure the gradle modules and namespaces to better support bank demos
2016-05-16 16:52:57 +01:00