Support endpoint to update experiments

Open
#45 1 comment 0 reactions 0 assignees View on GitHub

@bhufmann is already working on this.

Since Dec 9, 2021.

  • #46 by @bhufmann — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api, cli

Research direction

Start by tracing the existing experiment create, delete, and list API methods and their command-line options, then compare them with the referenced TSP PUT definition. Done means an update-experiment command accepts the UUID plus at least one of --name or --uuids and sends the requested update, while considering the related TSP issue.

Written by the indexing model from the issue text.

Description

enhancement

Right now it's only possible to create an experiment, delete and list of an experiment. The TSP supports a PUT command to update the experiment (e.g. name or list of traces).

This tracker is to support the endpoint to update the experiment. Add also a command-line option to trigger the execution.

tsp_python-client --update-experiment <uuid> --name <new-name> --uuids <list of trace uuids>

where at least of --name, --uuids is provided on the command-line or experiment is unchanged

see TSP: https://github.com/theia-ide/trace-server-protocol/blob/34d244cc35e652681b2f003d3bd69100da6541d6/API.yaml#L216

Note: https://github.com/theia-ide/trace-server-protocol/issues/69 is related and needs to be in take in consideration.

Dominant language
Python
Stars
6
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-cdt-cloud/tsp-python-client

All issues in eclipse-cdt-cloud/tsp-python-client

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.