TOSIT-IO / tdp-server

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

Add serviceId to components return values #111

Closed PaulFarault closed 1 year ago

PaulFarault commented 1 year ago

https://github.com/TOSIT-IO/tdp-server/blob/bf64bbeb5e204cedb55c0973f1338a3c22871d3a/tdp_server/schemas/component.py#L12-L16

Is it relevant to add both componentId and serviceId to the GET endpoints (/services, services/{serviceId}, /services/{serviceId}/components/{componentId})?

I can do the PR.