TOSIT-IO / tdp-server

REST API for tdp-lib orchestration
2 stars 2 forks source link

New server #130

Closed SteBaum closed 10 months ago

SteBaum commented 11 months ago

Discussion

This PR is a server started from scratch although it has been inspired by the previous one.

Agreements

PaulFarault commented 11 months ago

Please add tdp-lib as a dependency instead of a requirement if needed.

SteBaum commented 11 months ago
SteBaum commented 11 months ago

Removed the methods put and patch in the endpoints services and components since their goal was to update the variables of the service/component and we have now a service/variables and component/variables endpoint. However I would like to have your opinion on that.

PaulFarault commented 11 months ago
PaulFarault commented 11 months ago
PaulFarault commented 10 months ago

I wonder if:

SteBaum commented 10 months ago

The response_schema for POST /api/v1/plan/... endpoints are almost identical to the result given by tdp-lib

PaulFarault commented 10 months ago

Also, we should list components available for a service somewhere.

SteBaum commented 10 months ago

The /get-endpoints is an endpoint which justs lists all available endpoints with the GET method

SteBaum commented 10 months ago

I have alos added a test framework which for now only has 3 simple tests, but we will work on that once we start implementing the endpoint functions