tricorder-observability / Starship

Starship: next-generation Observability platform built with eBPF+WASM
GNU Affero General Public License v3.0
163 stars 23 forks source link

Cli client implementation refactor #197

Closed oojimmy closed 1 year ago

oojimmy commented 1 year ago

The current situation, motivation for this task The current CLI client implementation is not together with api-server, which makes it difficult to conduct more effective testing, and it's also challenging to ensure version compatibility.

Describe the solution Move CLI's code interacting with API server to src/api-server/http/client/client.go Add tests for these client APIs:

  1. Launch API Server's http server (only need create SQLite db file, grafana, pg)
  2. Call client API against the server

Describe alternatives considered None

Additional context None

oojimmy commented 1 year ago

done #205 #200