-
Notifications
You must be signed in to change notification settings - Fork 19
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
PUT to update for experiments should not use actions in payload #69
Comments
- Rename operation "putExperiment" to "updateExperiment" - Remove actions to remove or add traces - Move name query parameter to payload fixes eclipse-cdt-cloud#69 Signed-off-by: Bernd Hufmann <[email protected]>
related discussion: eclipse-cdt-cloud/theia-trace-extension#608 |
Way forward is defined in this ADR: eclipse-cdt-cloud/theia-trace-extension#688 |
#96 proposes a different way to provide actions to the TSP. Adding/removing traces or renaming should be done in a similar way. These actions changing the resource in a way that a new resource is created: POST /tsp/api/experiments/{expUUID}:add Note that ADR eclipse-cdt-cloud/theia-trace-extension#688 needs to be updated for that. |
PUT for experiments command should not use actions in payload (see below). To add or remove traces provide a list of traces UUIDs in the payload and the server needs to validate whether traces need to be added or removed from the experiment by comparing the lists of traces on the server and in the command
The text was updated successfully, but these errors were encountered: