Commit Graph

3348 Commits

Author SHA1 Message Date
Chris Rankin
3eb14b6692 Move FlowHandle implementations back into core so that RPC clients can use them. (#653) 2017-05-11 00:19:05 +01:00
Clinton Alexander
d552037beb Updated getting started instructions to refer to M11 2017-05-05 10:06:33 +01:00
Chris Rankin
de94e4dac1 Final documentation tweaks for M11 (#632)
* Update DemoBench documentation after revamp.
* Remove mention of running demos within IntelliJ.
2017-05-05 08:31:45 +01:00
Chris Rankin
04a17da532 Set version to 0.11.0. 2017-05-03 17:44:23 +01:00
Ross Nicoll
89a45b3ce2 Extract common name from legal name to determine path in Driver (#613)
Rewrote node name to extract common name to use as the node path for samples, to work around characters being incorrectly treated as separators.
2017-05-03 17:21:52 +01:00
Chris Rankin
5d0bbfa6b5 Fix downloading attachments from WebServer. (#615)
* Fix /attachments endpoint on WebServer, and update demo to use it.
* Add @Throws statements to servlet methods.
* Ensure target entry is not a directory.
* Simplify, because JarInputStream verifies signatures by default.
* Move JarInputStream.extractFile() function into core.
* Don't close the output stream automatically as it commits our response.
2017-05-03 13:38:00 +01:00
Joel Dudley
b570247f75 Adds the cheat sheet to the docsite. (#556)
* Adds the cheat sheet to the docsite.

* Added a JPG of the cheatsheet and included it in the docsite page.
2017-05-03 13:02:07 +01:00
Chris Rankin
5e49519827 Remove notes concerning the next release. 2017-05-03 11:49:43 +01:00
Chris Rankin
b177345106 M11 documentation (#609)
* Describe new source-tree directories "verifier" and "webserver", and update descriptions for "node" and "tools".
* Update changelog and release notes for M11.
* Thank Gary Rowe for his contribution to M11.
* Update Copyright and fix some broken links.
* Fix reference to CordaRPCOps class.
* Include changelog for CompositeKey upgrade.
* Fix warnings in changelog
* Update release notes after review.
* Add help for IntelliJ/Gradle.
2017-05-03 11:48:28 +01:00
Ross Nicoll
85bdcfa8a4 Expanded release notes on X.500 distinguished names (#596) 2017-05-03 11:44:47 +01:00
Chris Rankin
676d775eaa Fixes for Network Visualiser (#618)
* Restore Zurich and Cairo to cities.txt
* Only display each node's common name in Network Visualiser.
2017-05-03 10:53:17 +01:00
Andrzej Cichocki
c172ab3e1e Fix the RAFT notary demo, previously only 1 of the notaries was being used. (#619) 2017-05-03 10:47:35 +01:00
josecoll
4dcbfe7a05 Apply @Suspendable on all flow methods that call vault generateSpend (#612) 2017-05-02 13:18:31 +01:00
Ross Nicoll
cc86499217 Extract common name from legal name to determine path
Rewrote node name to extract common name to use as the node path for samples, to work around characters
being incorrectly treated as separators.
2017-04-28 17:15:57 +01:00
Chris Rankin
71f6fe423e Customise the error message according to why Corda cannot boot. (#610)
* Customise the error message according to why Corda cannot boot.
* Reset system property programmatically for the sake of developers.
2017-04-28 16:02:00 +01:00
RogerWillis
ad937ef0d5 Addressed review comments. 2017-04-28 15:20:14 +01:00
RogerWillis
acd17c6392 Filter out the default node plugins as per request from Chris. 2017-04-28 15:20:06 +01:00
Katarzyna Streich
06c8b880a3 Rename leavesKeys to leafKeys. 2017-04-28 12:01:19 +01:00
Chris Rankin
bd6ce2765e Set the "no deserialisation" property in the Capsule and Driver. (#603) 2017-04-28 10:23:33 +01:00
RogerWillis
e81915fc8f First commit for adding webserver index page.
Now builds page using kotlinx. Added support for static web content.

Removed code to re-direct to static web content if it exists.

Minor changes to comments. The recursive API crawler now uses a data class instead of a mutable map.
2017-04-28 10:01:32 +01:00
Chris Rankin
aee3805904 Remove "is master" warning from docsite. 2017-04-26 12:10:09 +01:00
Chris Rankin
e8fdb3510f Basic clean-up for demos, load-test and examples (#590)
* Fix RPC usage by marking unused Observables.
* Update Client RPC tutorial documentation to mention the importance of "notUsed" observables.
2017-04-26 11:02:55 +01:00
Mike Hearn
f894730693 Shell: more aggressive catch/rethrow of errors during command line parse. Avoids stack traces being dumped to the console when an unknown party name is provided. 2017-04-25 20:18:01 +01:00
Mike Hearn
2a62496145 Shell: add 'start' as an alias for 'flow start'. 2017-04-25 20:17:55 +01:00
Mike Hearn
f7b535671b DemoBench: symlink or copy apps into the plugins folder for the Explorer, as a temp deserialisation hack. 2017-04-25 20:17:48 +01:00
Andrius Dagys
22b4b31979 Fix Raft notary demo post name refactoring 2017-04-25 18:15:00 +01:00
Chris Rankin
b597f05bd4 Delete IntelliJ RunConfiguration files for the demos. (#584) 2017-04-25 14:22:04 +01:00
Mike Hearn
b4e7944a18 DemoBench: address review comments 2017-04-25 14:13:20 +02:00
Mike Hearn
238d4e29e2 Webserver: Redirect / to the first static web path.
DemoBench: Misc usability improvements:

- Pre-fill details for some fictional banks when Add Node is pushed.
- Make services a checkbox list rather than one where you have to know how to use the keyboard to do multi-select.
- Make web server launch button spin until server is launched to show activity.
- Suppress an exception that spams the log due to inability to load all the states. It'll get fixed as part of the vault API and serialisation work.
2017-04-25 14:13:20 +02:00
Chris Rankin
35f6de9c50 Ignore any unsubscribe exception when closing DemoBench tab. (#579)
E.g. the node may already have exited and closed the RPC session.
2017-04-25 10:41:32 +01:00
Chris Rankin
f715ab39a2 Integrate sandbox properly with top-level build, create fat jar and remove unused imports. (#575) 2017-04-24 20:30:21 +01:00
Chris Rankin
ab8bfec76f DemoBench now subscribes to updates for transaction and vault RPCs. (#571)
* Subscribe to updates for transaction and vault RPCs.
* Ensure we unsubscribe our observables at the end.
* Use Rx scheduler that can observe on FX application thread.
2017-04-24 17:59:51 +01:00
Katarzyna Streich
c1b7b1cb75 Add information on who started flow on a node. (#549)
* Add information on who started flow on a node with name where possible.
Add sealed class holding information on different ways of starting a flow: RPC, peer, shell, scheduled.

* Remove invokeFlowAsync from ServiceHub, move it to ServiceHubInternal.
We shouldn't be able to start new state machines from inside flows.
2017-04-24 17:05:51 +01:00
Shams Asari
af7f5ef0d7 Merge pull request #552 from corda/shams-nms-version-check
Introducing Platform Version and its use by the NMS for min version r…
2017-04-24 16:30:40 +01:00
Ross Nicoll
abb3622ea4 Correct IRS web server ports
Correct the IRS demo web server ports in the documentation to match the ports specified
in samples/irs-demo/build.gradle.
2017-04-24 15:35:18 +01:00
Shams Asari
b5e022f350 Introducing Platform Version and its use by the NMS for min version requirements for the network 2017-04-24 15:31:10 +01:00
Ross Nicoll
684d1089f0 Introduce full legal names for test parties
Use full names for test parties, ahead of complete X.500 name support.
2017-04-24 15:18:21 +01:00
Mike Hearn
2de5c0b218 DemoBench: open web page automatically once web server has started. 2017-04-24 15:52:22 +02:00
Mike Hearn
e139df7891 DemoBench: make launch web server button wider. 2017-04-24 15:52:22 +02:00
Mike Hearn
df0233c9e9 DemoBench: remove no longer applicable warning. 2017-04-24 15:52:22 +02:00
Mike Hearn
d3ed178e82 DemoBench: upgrade to latest TornadoFX to get combobox width fix, and launch web browser once web server has started. 2017-04-24 15:52:22 +02:00
Mike Hearn
691b622cf0 DemoBench: address review comments and fix refresh bug 2017-04-24 15:52:22 +02:00
Mike Hearn
2c6163ecb9 DemoBench: layout fixes and more visual tweaks 2017-04-24 15:52:22 +02:00
Mike Hearn
3f7f05a0d9 DemoBench: better autocomplete and flags for city list 2017-04-24 15:52:22 +02:00
Mike Hearn
dec2c82693 Switch to using Antony's list of country coordinates, and load country code of each city. 2017-04-24 15:52:22 +02:00
Antony Lewis
1a2fe41330 Update cities.txt to go with CORDA-367
Assuming that Autocomplete will be added, according to JIRA https://r3-cev.atlassian.net/browse/CORDA-367
Note that there are still a few duplicates in the source with slightly different coordinates.  I assume the autocomplete will be able to cope, or these can be removed.
2017-04-24 15:52:22 +02:00
Mike Hearn
a90b2ba839 DemoBench: UI improvements, part uno 2017-04-24 15:52:22 +02:00
Patrick Kuo
87dd99d968 legal name validator for doorman node registration (#532) 2017-04-24 21:16:00 +08:00
Chris Rankin
9425b7c927 Escape any unsafe HTML characters in legalName for error page. (#573) 2017-04-24 13:56:45 +01:00
Ross Nicoll
39ca3c96f9 Change "size > 0" to isNotEmpty() 2017-04-24 13:29:52 +01:00