corda/tools
Walter Oggioni 326afacedb
improved interactive shell flow lookup logic (#6271)
the current logic when a user type
```
flow start SomeFlow
```
is to search for the string `SomeFlow` in all registered flow names, if there is at exactly flow that ends with that string, it will be selected,
if there is more than one, the first in aphabetical order will be selected. If there are multiple flows that contains the string but no one that ends with it, it is considered ambiguous,
if there is exactly one containing the string it is instead selected (it doesn't matter whether it ends or not with it). All other cases are considered errors.
The goal of this change is to address the case where the node contains

```
net.corda.cordappp.AnotherSomeFlow
net.corda.cordappp.ImprovedSomeFlow
net.corda.cordappp.SomeFlow
```

typing
```
flow start SomeFlow
```
currently results in running `net.corda.cordappp.AnotherSomeFlow` because it comes first in alphabetical order, while `net.corda.cordappp.SomeFlow` is a better matches because the input substring
matches a bigger portion of the full flow name
2020-05-21 09:27:13 +01:00
..
blobinspector add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
bootstrapper add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
checkpoint-agent ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
cliutils [NOTICK] - Enable check in detekt for unused imports (#6106) 2020-03-26 15:46:33 +00:00
demobench ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
error-tool EG-441 - Update properties files after docs review (#6223) 2020-05-11 16:10:38 +01:00
explorer add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
graphs [CORDA-682]: Claim Jigsaw module names (#1824) 2017-10-06 15:37:33 +01:00
loadtest Fix and or suppress detekt warnings 2019-11-01 11:48:07 +00:00
network-builder ENT-5043 separate out test utils (#5998) 2020-03-03 15:55:17 +00:00
scripts Improve the upgrade-test-packages.sh script to work on macOS. Fixes an issue found by tom on pubslack. (#2894) 2018-03-29 10:47:48 +02:00
shell improved interactive shell flow lookup logic (#6271) 2020-05-21 09:27:13 +01:00
shell-cli add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00
worldmap add timeouts to all tests (#5875) 2020-02-11 10:14:05 +00:00