Mike Hearn
cd52ca21ce
Minor: expose the rates oracle service (if the node provides one) as a property
2016-04-07 19:32:06 +02:00
Mike Hearn
10ee49d994
Minor: refactoring to reduce dependencies of the JSON object mapper. Clean up how mock identities are handled a little. This assists with the simulation code.
2016-04-07 19:32:06 +02:00
Mike Hearn
a2bd9f63a4
Move JSON objectmapper and serialiser code into a separate file.
2016-04-07 19:32:06 +02:00
Mike Hearn
a67267f562
Minor: add an SMM todo
2016-04-07 19:32:06 +02:00
Ross Nicoll
345738f7de
Rename classes
...
Rename LegallyIdentifiableNode to NodeInfo, to represent that legally identifiable is not a single concept.
Rename NetworkMapService to NetworkMapCache, as the API exposed is suited to a local cache, not a remote service.
2016-04-07 15:33:13 +01:00
Rick Parker
34940c903b
Merged in plt-17-api-server-merge5 (pull request #51 )
...
IRS related protocols and scripts
2016-04-07 15:01:25 +01:00
rick.parker
55265e6115
IRS related protocols and scripts
...
Additional changes based on feedback
Additional changes based on feedback
2016-04-07 14:56:30 +01:00
Ross Nicoll
c1ebf45834
Merged in rnicoll-typos (pull request #46 )
...
Minor: Fix typo ('amounnt' to 'amount')
2016-04-06 13:16:31 +01:00
Mike Hearn
420ecf80a0
Minor: fix a typo in a variable name, spotted by Rick
2016-03-30 18:50:12 +02:00
Mike Hearn
3adfd02e31
Support injection of latency into the mock (simulated) network.
2016-03-30 18:50:12 +02:00
Mike Hearn
d1e62c27c4
Unit testing: minor refactoring of MockNetwork
2016-03-30 18:50:12 +02:00
Mike Hearn
d1b5ada423
Add a notion of physical location.
...
This will be useful for various things in future, such as approximating the nearest consensus service (approximate because physical distance doesn't always match network distance), visualisation, simulation, etc.
LegallyIdentifiableNode now lists a physical place for the node to be in (which might not be totally accurate one day if we have super distributed mega-nodes, but will do for now).
The config file allows the admin to specify their nearest city.
There is a city database that can map such names through to coordinates, when known.
There is support for Mercator projection.
2016-03-30 18:50:11 +02:00
Ross Nicoll
366860b2d8
Minor: Fix typo ('amounnt' to 'amount')
2016-03-30 16:13:33 +01:00
rick.parker
e122a57bf2
First working commit
...
First working commit
Formatting clean up
Revert All_tests.xml
Remove extra space
Feedback from code review
2016-03-30 15:04:08 +01:00
Mike Hearn
5b7fb86b6b
Use TypeSafe Config library instead of Java properties files for the config file format. The default formats are compatible so this should not be disruptive.
2016-03-23 16:49:28 +00:00
rick.parker
9f7ae4c61d
Basic JSON API with servertime call exposed at GET /api/servertime
...
Global Clock as part of ServiceHub to offer source of time in transactions, protocols, time stamping service etc (can be replace for demos and testing with a Clock that can be externally manipulated)
Edited with Mike's feedback
Edited with Mike's feedback
2016-03-23 09:34:45 +00:00
Richard Green
6c0e696107
Updated with new Tenor class that verifies string during construction.
...
Now uses new Tenor class for Interest Rate Oracle
2016-03-22 11:46:06 +00:00
Richard Green
d7d05a2f70
Merged in PLT-15-b (pull request #36 )
...
Neater branch with IRS code.
2016-03-22 11:42:08 +00:00
Richard Green
a78c5b11d1
IRS Contract example
2016-03-22 11:36:40 +00:00
Mike Hearn
b1694e2d0d
Move MockNode/InMemoryNetwork to the main sourceset, as these are useful not only for unit testing, but also simulation tools.
2016-03-22 10:54:35 +00:00
Mike Hearn
7ef8397920
Use new Quasar API to skip serialisation of TLS slots.
2016-03-17 16:53:01 +01:00
Mike Hearn
3c4ce0a8fe
Minor: fix a regression introduced by a bad merge that broke the rate fix demo
2016-03-17 13:07:19 +01:00
Richard Green
8ab5efe4a7
Quick fix for previous merge; missed fixing the tests for NodeInterestRates when the String.d function renamed to .bd
2016-03-15 18:42:59 +00:00
Vibhu Mohindra
11d14001cd
Unified the various StorageService implementations. Made getMap() private. Made the nested tables into instance variables. Moved StorageServiceImpl out into its own file to avoid merge conflicts in the future.
2016-03-15 17:08:28 +00:00
Mike Hearn
77fd6071a1
Merged in jmx-mbeans (pull request #32 )
...
Export various ledger stats via JMX
2016-03-11 18:27:12 +01:00
Mike Hearn
3533e87953
Take out the fake signing delay in the trader demo.
2016-03-11 18:12:18 +01:00
Mike Hearn
07eee0233f
Export wallet balances via JMX.
2016-03-11 17:55:03 +01:00
Mike Hearn
28869ad85d
Export attachment count via JMX
2016-03-11 17:26:17 +01:00
Mike Hearn
730b7949ea
Export stats to JMX from the state machine manager.
2016-03-11 17:26:17 +01:00
Mike Hearn
139bf1e450
Minor: fix trader demo
2016-03-11 17:02:35 +01:00
Mike Hearn
87e8562675
Make Jolokia return data as application/json
2016-03-11 11:57:38 +01:00
Mike Hearn
c436841461
Restrict Jolokia JMX access
2016-03-11 11:49:50 +01:00
Mike Hearn
fce799726f
Minor: rename NetworkMap -> NetworkMapService for consistency
2016-03-11 11:49:50 +01:00
rick.parker
429ac589df
Clean integration of Jersey & Jackson for JAX-RS support, with Config for setting up custom marshalling. No API classes configured by default
...
Enable Jersey monitoring JMX MBean
Updates based on Mike's feedback
2016-03-11 08:37:53 +00:00
Mike Hearn
a03352e6cd
Export JMX statistics via JSON REST endpoints using Jolokia.
2016-03-09 15:53:32 +01:00
Mike Hearn
b2f9aa64d5
RatesFixProtocol: add progress tracking
2016-03-09 14:38:03 +01:00
Mike Hearn
4e15755883
RatesFixProtocol: add an empty, overridable beforeSigning method that lets you customise the logic of the protocol.
2016-03-09 14:08:37 +01:00
Mike Hearn
0f208d8b4d
Check in a demo of how to get an interest rate fix from an oracle.
2016-03-08 17:31:35 +01:00
Mike Hearn
d63a3a8923
Minor: add a toString for the UnknownFix exception
2016-03-08 17:31:35 +01:00
Mike Hearn
6ac05c2edb
Minor: don't check the file name in an upload if there isn't one
2016-03-08 17:31:35 +01:00
Mike Hearn
29e58ce3db
Allow upload of interest rate fixes to the oracle over HTTP.
2016-03-08 17:31:35 +01:00
Mike Hearn
2b4a1eedc3
Generalise support for file uploads over HTTP to allow reuse of the upload servlet.
2016-03-08 17:29:56 +01:00
Mike Hearn
a7fec047ed
Add an interest rates oracle.
...
Currently lacking the following useful things:
- Progress reporting
- Ability to upload new rates
- Demo app[s]
2016-03-08 17:29:56 +01:00
Mike Hearn
8d3c9643e9
Minor: Move TraderDemo to demos package
2016-03-08 17:29:23 +01:00
Mike Hearn
92a7363c83
Minor: add a couple more utilities for converting strings into the type safe endpoint address objects
2016-03-08 17:29:08 +01:00
Mike Hearn
5aaa6bd204
Minor: rename NodeAttachmentStorage -> NodeAttachmentService
2016-03-08 17:29:08 +01:00
Mike Hearn
ffcc0507c4
Return the hashes of newly uploaded attachments to the uploader.
2016-03-08 15:41:44 +01:00
Mike Hearn
5eda0e066e
Minor: add a TODO about a little rpc framework to StateMachineManager
2016-03-08 15:19:44 +01:00
Mike Hearn
dc6ef73b6b
Minor: more code motion ... TimestampingProtocol now split to top level class and moved to same location as the other protocols. Few other timestamping related classes reorganised.
2016-03-08 12:17:07 +01:00
Mike Hearn
2c4475b0d9
Minor: TimestamperNodeService -> NodeTimestamperService for consistency
2016-03-08 12:01:49 +01:00