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
Ross Nicoll
6c6ed3a758
Move transaction generation to OnLedgerAsset
...
Move functions for generating transactions into OnLedgerAsset from various locations in
the code (VaultService, AbstractConserveAmount, etc.) to unify the code paths and reduce
duplication.
2017-04-24 13:29:52 +01:00
Shams Asari
325f3f791f
Removed the ExitServerFlow
2017-04-21 18:04:57 +01:00
Andrzej Cichocki
160d13b6f7
Prohibit Java deserialisation in the Corda process ( #566 )
2017-04-21 16:26:35 +01:00
Chris Rankin
4cb21257e6
Add the Corda node's legalName to the Web error page. ( #569 )
2017-04-21 14:46:29 +01:00
josecoll
2b1a71955c
Always remove any soft locks associated with a completed flow. ( #561 )
...
Fix issue whereby soft locks associated with a flow were not being released because they were not initially registered properly.
2017-04-21 13:38:03 +01:00
Andrius Dagys
6f9b70520c
Load test: add a notarisation test. Each node issues a dummy state and sends it for notarisation.
...
Note that this only works with a non-validating notary.
Fixed transaction generation
2017-04-21 10:19:07 +01:00
Andrius Dagys
026ac6884a
Load test: set min cash issue amount to 1
2017-04-21 10:19:07 +01:00
Andrius Dagys
a2de90a6da
Test if address is reachable before choosing
2017-04-20 19:36:41 +02:00
Andrius Dagys
a01c466beb
Ignore utunX interfaces when detecting public IP
2017-04-20 19:36:41 +02:00
Chris Rankin
08e7eb1a57
Fix M11 changelog entry for DemoBench ( #563 )
...
Renaming DemoBench installation is not an API change.
2017-04-20 15:25:27 +01:00
Konstantinos Chalkias
c692a39e62
generateKeyPair() calls Crypto.kt implementation
...
generateKeyPair() calls Crypto.kt implementation Vs the EdDSA specific.
2017-04-20 14:18:41 +01:00
josecoll
d24f0ea0ba
Fix incorrectly referenced public key. ( #559 )
2017-04-20 11:11:36 +01:00
Chris Rankin
d2d7cbc9ec
CORDA-299: Remove progress Observable from FlowHandle, unless explicitly requested. ( #513 )
...
* Remove progress Observable from FlowHandle, unless explicitly requested.
* Refactor FlowHandle creation into FlowStateMachine.
* Prevent server-side queue subscription for dummy Observable.
* Refactor so that RPC client does not receive any unused progress Observables. This is the simplest way of ensuring we have no dangling "hot" Observables when the RPC client closes.
* Test flow has correct handle.
* Resolve some compiler warnings.
* Document how starting a flow does not involve progress tracking by default.
* Update changelog and release notes for RPC API.
* Rename new RPC API to startTrackedFlow().
* Remove optimisation because of its affect on the client-side.
* Update documentation.
2017-04-19 20:11:51 +01:00
Mike Hearn
7542d355a9
Make Kotlin emit Java 8 bytecode and parameter reflection data
2017-04-19 17:17:59 +02:00
Andras Slemmer
0d90082482
Merge pull request #555 from corda/aslemmer-fix-h2-and-copycat-server-leak
...
Shutdown copycat server and h2 database on Node shutdown
2017-04-19 14:15:33 +01:00
Andras Slemmer
201c558245
Shutdown copycat server and h2 database on Node shutdown
2017-04-19 12:24:38 +01:00
Shams Asari
37a94237c8
Moved tests in net.corda.node.services to correct packages
2017-04-19 12:11:59 +01:00
Chris Rankin
941bc9be5b
Rename installed application to "Corda DemoBench". ( #547 )
...
* CORDA-368: Install DemoBench as "Corda DemoBench".
* CORDA-368: Fix RPM packaging.
* CORDA-368: Update changelog and release notes for DemoBench's new installation name.
2017-04-19 10:39:32 +01:00
Ross Nicoll
022b38b7dc
Revert design changes to attachment demo ( #540 )
...
Restructure attachment demo
Restructure attachment demo to pass the attachment hash in the transaction outputs,
rather than trying to use shared memory. Also remove 1kb test for attachments as there's little value in having a smaller test case.
2017-04-19 10:12:01 +01:00
Shams Asari
8e0a0ba8fb
Provide useful error message if db iterator is left on stack during checkpointing
...
AutoCloseables in general are also forbidden as restoring them across node restarts is not supported.
2017-04-19 09:39:41 +01:00
Konstantinos Chalkias
66890d845a
Extract methods and classes from CryptoUtilities. Keep one utils file.
2017-04-18 12:36:57 +01:00
Chris Rankin
a1122c0804
Fix broken links for RPC classes. ( #544 )
2017-04-18 10:34:41 +01:00
Shams Asari
054e6ea16b
Merge pull request #526 from corda/shams-macos-noderunner-fix
...
Fixed broken NodeRunner on MacOS
2017-04-13 16:01:52 +01:00
Ross Nicoll
6d48667d91
Add infrastructure for X.500 name support ( #534 )
...
This introduces new functions for fetching parties by their X.500 name, Kryo serialization support for X500Name objects, an X500Name generator and some X509 utility support in preparation for full X.500 name support.
2017-04-13 15:32:34 +01:00
Shams Asari
b1e3a2b4e5
Fixed broken NodeRunner on MacOS
2017-04-13 15:19:15 +01:00
Ross Nicoll
1a88ca4bee
Add composite signature engine ( #446 )
...
Add CompositeSignature and CompositeSignatureWithKeys classes as part of preliminary work to make CompositeKey signature validation compatible with java.security classes, so that these keys and signatures can be used readily in X.509 certificates.
2017-04-13 13:25:12 +01:00
Shams Asari
37dc6ead82
Improve robustness of the integration tests that commonly have false positives (Clinton)
2017-04-12 17:56:51 +01:00
Andrzej Cichocki
88b5e32ab2
Convert databaseTransaction to extension function on Database. ( #537 )
2017-04-12 17:15:29 +01:00
Andrzej Cichocki
3e007c02f4
Fix potential file handle leak in Attachment ( #539 )
...
* Make mockito available everywhere (core in particular).
* Also set the not-found path as FNFE message.
2017-04-12 15:30:28 +01:00
Mike Hearn
ac337240a6
Minor: more cleanups
2017-04-12 14:42:30 +02:00
Mike Hearn
bea799c60d
Minor: node: fix inspector warnings and delete dead code.
2017-04-12 14:42:30 +02:00
Mike Hearn
1a86ac481f
Minor: core: fix static analysis warnings.
...
One actual bug was found this way, albeit a harmless one.
2017-04-12 14:42:29 +02:00