threefoldtecharchive / 0-robot

Distributed live cycle management system
Apache License 2.0
0 stars 0 forks source link

Services dependency API #42

Closed zaibon closed 5 years ago

zaibon commented 5 years ago

Facts: A service can rely on other services types of relation :

In the case of a parent child relation. It is required for the parent services to keep track of how to reach the robots of all the services it has created. Currently this needs to be done manually by the template creator using the shame of the parent service.

The idea would be to provide an interface in the service template API that provide a way to keep track of the relations. Benefits:

API: Info required to reach a service :