cameo issueshttps://code.ill.fr/cameo/cameo/-/issues2021-06-07T16:36:12+02:00https://code.ill.fr/cameo/cameo/-/issues/104Execute unregistered apps by cmo2021-06-07T16:36:12+02:00yannick legocExecute unregistered apps by cmo```
cmo exec <program> <args>
```
If program is not a registered app then execute by adding the necessary JSON argument.```
cmo exec <program> <args>
```
If program is not a registered app then execute by adding the necessary JSON argument.Console updatehttps://code.ill.fr/cameo/cameo/-/issues/101Bad error message in Console when endpoint is not accessible2022-04-19T13:09:37+02:00yannick legocBad error message in Console when endpoint is not accessibleExample:
```
$ cmo -e toto list
Cannot connect to server: tcp://toto:7000 is not a valid endpoint
fr.ill.ics.cameo.InvalidArgumentException: tcp://toto:7000 is not a valid endpoint
at fr.ill.ics.cameo.impl.ServerImpl.<init>(ServerImpl.j...Example:
```
$ cmo -e toto list
Cannot connect to server: tcp://toto:7000 is not a valid endpoint
fr.ill.ics.cameo.InvalidArgumentException: tcp://toto:7000 is not a valid endpoint
at fr.ill.ics.cameo.impl.ServerImpl.<init>(ServerImpl.java:99)
at fr.ill.ics.cameo.Server.<init>(Server.java:54)
at fr.ill.ics.cameo.console.Console.<init>(Console.java:245)
at fr.ill.ics.cameo.console.Console.main(Console.java:868)
```Console updatehttps://code.ill.fr/cameo/cameo/-/issues/90Improve list output in Console2020-10-14T07:54:55+02:00yannick legocImprove list output in ConsoleList command: how to display long names: display until the max length.
Apps: idem: display name until the max length. Add the args.List command: how to display long names: display until the max length.
Apps: idem: display name until the max length. Add the args.Console updatehttps://code.ill.fr/cameo/cameo/-/issues/76Add commands to console: state, past states2020-10-13T17:05:28+02:00yannick legocAdd commands to console: state, past statespast state returns a list with , separator.past state returns a list with , separator.Console updatehttps://code.ill.fr/cameo/cameo/-/issues/75Console error code with command exec or connect2020-10-12T09:54:07+02:00yannick legocConsole error code with command exec or connectWhen command is exec, return the process error code when the execution is not a success.
The cameo server must be modified as well as the APIs.
Modify sendStatus on cameo server: add exit_code that is optional and only there when there...When command is exec, return the process error code when the execution is not a success.
The cameo server must be modified as well as the APIs.
Modify sendStatus on cameo server: add exit_code that is optional and only there when there is an error.
Add Instance.getErrorCode()Console updatehttps://code.ill.fr/cameo/cameo/-/issues/74Console commands improvements2020-10-07T15:11:21+02:00yannick legocConsole commands improvements* Replace listen by connect -m (--mute)
* Start and connect connect -s (starts if not running)
connect --start
* Exec without output exec -q
exec --quiet* Replace listen by connect -m (--mute)
* Start and connect connect -s (starts if not running)
connect --start
* Exec without output exec -q
exec --quietConsole updatehttps://code.ill.fr/cameo/cameo/-/issues/65Console improvements2020-10-06T10:19:17+02:00yannick legocConsole improvements- Print server version
- Print endpoint
- Arguments:
-e host:port (no tcp://)
-p 10000 (only port to localhost)
Provide length args: -e = --endpoint, -p = --port, -a = --app- Print server version
- Print endpoint
- Arguments:
-e host:port (no tcp://)
-p 10000 (only port to localhost)
Provide length args: -e = --endpoint, -p = --port, -a = --appConsole updatehttps://code.ill.fr/cameo/cameo/-/issues/43Quit console without killing the application in exec2020-10-09T08:52:56+02:00yannick legocQuit console without killing the application in execConsole update