Closed toblich closed 5 years ago
Adds a basic in-memory graph service that stores the Components, which depend on which, and the current status of every one of them.
It supports a POST to /graph with the following body to insert Components and Dependencies:
POST
/graph
[ { "caller": ?string, "callee": ?string } ]
Where both caller and callee are a Component (each), and the caller depends on the callee.
caller
callee
Currently, it is also possible to do a GET /graph to see a json representation of the current state of the graph, just for debugging purposes.
GET /graph
Adds a basic in-memory graph service that stores the Components, which depend on which, and the current status of every one of them.
It supports a
POST
to/graph
with the following body to insert Components and Dependencies:Where both
caller
andcallee
are a Component (each), and thecaller
depends on thecallee
.Currently, it is also possible to do a
GET /graph
to see a json representation of the current state of the graph, just for debugging purposes.