-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add endpoint to close experiments #96
Labels
Comments
bhufmann
added a commit
to bhufmann/trace-server-protocol
that referenced
this issue
Nov 2, 2023
With this it's possible to close an experiment on the server. Upon reception of the command the server can dispose allocated resources hence the client doesn't need them anymore. UI clients for example can close the experiment when a user closed the graphs. Fixes eclipse-cdt-cloud#96 Signed-off-by: Bernd Hufmann <[email protected]>
This was referenced Nov 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This endpoint can be used to close the experiment and upon reception of the message, the server can dispose can dispose allocated resources. The Trace Compass server will dispose the experiments and close all state system and index files.
Use PUT for this, because sending this message multiple times will have the same outcome. The api should look as follows.
/tsp/api/experiments/{expUUID}:close
Use this notation with
:close
as suffix, will allow to create dedicated actions for different behaviours, like deleting trace indexes (e.g. delete supplementary files of Trace Compass server, rename, copy etc)The text was updated successfully, but these errors were encountered: