cameo issueshttps://code.ill.fr/cameo/cameo/-/issues2022-04-22T09:20:50+02:00https://code.ill.fr/cameo/cameo/-/issues/94Rename State UNKNOWN into NIL2022-04-22T09:20:50+02:00yannick legocRename State UNKNOWN into NILNew version of APIshttps://code.ill.fr/cameo/cameo/-/issues/93Port strategy applied to server ports2020-10-21T14:54:09+02:00yannick legocPort strategy applied to server portsThe cameo server opens some ports by itself.
We can apply the port strategy to them.The cameo server opens some ports by itself.
We can apply the port strategy to them.Server v1 update (1)https://code.ill.fr/cameo/cameo/-/issues/91Storage events2020-10-15T16:31:20+02:00yannick legocStorage eventsIt is necessary to send events for storage requests, especially the store request.
Implement:
- Store key event
- Remove key eventIt is necessary to send events for storage requests, especially the store request.
Implement:
- Store key event
- Remove key eventServer v1 update (1)https://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/87Review event thread in API2022-01-18T15:46:38+01:00yannick legocReview event thread in APIImplement callback on state?
How to do it properly? record on the server event thread?
Do we block the event thread? simplest way to do it.Implement callback on state?
How to do it properly? record on the server event thread?
Do we block the event thread? simplest way to do it.New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/86Crash cameo-lss-auto-config2020-11-02T14:05:52+01:00yannick legocCrash cameo-lss-auto-configRandom crash in the definition of the responder when nomad and cameo-lss-auto-config are on the same cameo server.Random crash in the definition of the responder when nomad and cameo-lss-auto-config are on the same cameo server.Bugs to be checkedhttps://code.ill.fr/cameo/cameo/-/issues/84Use of optional<>2021-12-16T15:52:19+01:00yannick legocUse of optional<>It is possible to use optional<> to simulate null values in C++.
This can help to avoid defining exceptions.
This can be the solution to undefined resources: key, app, exitCode, etc.It is possible to use optional<> to simulate null values in C++.
This can help to avoid defining exceptions.
This can be the solution to undefined resources: key, app, exitCode, etc.New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/83Remove cerr2022-04-20T13:40:16+02:00yannick legocRemove cerrMischttps://code.ill.fr/cameo/cameo/-/issues/82Add connect(id)2022-04-20T13:39:33+02:00yannick legocAdd connect(id)New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/81Add options to connect() and start()2023-09-01T16:24:08+02:00yannick legocAdd options to connect() and start()Some options can be interesting:
- STOP : stop the application if executing
- KILL : kill the application if executing
- START : start the application if not executing (for connect)Some options can be interesting:
- STOP : stop the application if executing
- KILL : kill the application if executing
- START : start the application if not executing (for connect)New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/80Request names refactoring2020-10-09T10:53:27+02:00yannick legocRequest names refactoringServer v1 update (1)https://code.ill.fr/cameo/cameo/-/issues/78Remove deprecated ZMQ methods from C++ API2022-01-20T16:45:20+01:00Shervin NourbakhshRemove deprecated ZMQ methods from C++ APIWhen compiling, I got several warnings about deprecated declarations using zmq methods.
```
./cameo/src/impl/SubscriberImpl.cpp:210:36: warning: ‘bool zmq::detail::socket_base::recv(zmq::message_t*, int)’ is deprecated: from 4.3.1, use ...When compiling, I got several warnings about deprecated declarations using zmq methods.
```
./cameo/src/impl/SubscriberImpl.cpp:210:36: warning: ‘bool zmq::detail::socket_base::recv(zmq::message_t*, int)’ is deprecated: from 4.3.1, use recv taking a reference to message_t and recv_flags [-Wdeprecated-declarations]
m_subscriber->recv(message.get());
^
In file included from /opt/panosc/cameo/src/impl/SocketWaitingImpl.h:23,
from /opt/panosc/cameo/src/impl/SubscriberImpl.h:20,
from /opt/panosc/cameo/src/impl/SubscriberImpl.cpp:17:
/usr/include/zmq.hpp:1267:10: note: declared here
bool recv(message_t *msg_, int flags_ = 0)
^~~~
```New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/77Replace Instance.exists() by an exception2022-04-20T13:41:19+02:00yannick legocReplace Instance.exists() by an exceptionIndeed, it is important to unify behaviour between different classes/methods:
* connect(name) throws UndefinedApplicationException.
* start(name) throws UndefinedApplicationException.
Idea: any undefined resource throws an exception (ke...Indeed, it is important to unify behaviour between different classes/methods:
* connect(name) throws UndefinedApplicationException.
* start(name) throws UndefinedApplicationException.
Idea: any undefined resource throws an exception (key, app, etc.)
* start() return a non-null Instance.
* connect() may return a null Instance if nothing executes.New version of APIshttps://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/73API Names refactoring2022-04-19T13:10:14+02:00yannick legocAPI Names refactoring- Class application.Instance will be renamed into App (aka Application process proxy).
- Use of nested classes for Output, Config, Info (in App): possible to bind nested class in Python?
- Add App.getConfig()
- Review the java packages t...- Class application.Instance will be renamed into App (aka Application process proxy).
- Use of nested classes for Output, Config, Info (in App): possible to bind nested class in Python?
- Add App.getConfig()
- Review the java packages to prepare the module definition.New version of APIshttps://code.ill.fr/cameo/cameo/-/issues/71Java API impl2022-03-01T15:45:12+01:00yannick legocJava API implReview the implementation classes.
How to manage dependencies:
Request.connectToRequester
depends on InstanceReview the implementation classes.
How to manage dependencies:
Request.connectToRequester
depends on InstanceJava API code reviewhttps://code.ill.fr/cameo/cameo/-/issues/70Switch Java Request/Responder/Publisher/Subscriber to application storage2022-03-01T15:46:13+01:00yannick legocSwitch Java Request/Responder/Publisher/Subscriber to application storageJava API code reviewhttps://code.ill.fr/cameo/cameo/-/issues/69Server application storage2020-10-09T09:12:30+02:00yannick legocServer application storageProvide requests to save string data for each application.
The goal is to provide a general way to implement communication patterns.Provide requests to save string data for each application.
The goal is to provide a general way to implement communication patterns.Server v1 update (1)